Skip to content

mkhtml is an html document generator that works with gpt

License

Notifications You must be signed in to change notification settings

MertGunduz/mkhtml

Repository files navigation

commision_unix

mkhtml

mkhtml is an html document generator that works with gpt
YouTube: https://youtu.be/ULvErLMKrTo

Programming Language and Tools

Programming Language: C, Bash
Compiler: GNU GCC
Build Tool: CMake

Dependencies

Libcurl
CMake (MIN 3.15)

Installation

Step 1: Download the Source codes

https://github.com/MertGunduz/mkhtml

Step 2: Change permissions of INSTALL.sh

chmod 755 INSTALL.sh

running this command will change the permission of the INSTALL.sh

Step 3: Run INSTALL.sh

./INSTALL.sh

running this bash file will build the application and create the folders.

Note: it can ask for sudo permission

Step 4: Test Application

try running

mkhtml -h

if there are some output related to mkhtml then it means it is successfully builded

How to use

Generating HTML Files

mkhtml -G [DATA]
mkhtml --generate [DATA]

sends a request to openai api and generates the html file with the selected style

Setting API Key

mkhtml -k [DATA]
mkhtml --key [DATA]

sets the openai api key

Setting CSS Style

mkhtml -c [CSS-DATA]
mkhtml --css [CSS-DATA]

sets the css style

Outputting Website URL

mkhtml -w
mkhtml --website

outputs the website url

Outputting Github URL

mkhtml -g
mkhtml --github

outputs the github url

Outputting Configurations

mkhtml -s
mkhtml --settings

outputs the configurations

Outputting Version

mkhtml -v
mkhtml --version

outputs the mkhtml version

Outputting Help Menu

mkhtml -h
mkhtml --help

outputs the help menu