mkhtml  1.0.1
a cli document generation tool that works with gpt
mkhtml

Introduction


mkhtml is an html document generator that works with text-davinci-003

Programming Language and Tools


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

Dependencies


Libcurl
CMake (MIN 3.22)


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 requirements.


Step 4: Test Application

try running

mkhtml -h

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


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 mkhtml website url


Outputting Github URL

mkhtml -g
mkhtml --github

outputs the mkhtml 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