An open API service indexing awesome lists of open source software.

https://github.com/mmertgunduz/mkhtml

mkhtml is an html document generator that works with gpt
https://github.com/mmertgunduz/mkhtml

ai-based-html-generation gpt gpt-3 gpt-35-turbo gpt-api gpt-based-app gpt-based-tui gpt-linux html-generator linux-cli-tool linux-tool openai-api

Last synced: 9 months ago
JSON representation

mkhtml is an html document generator that works with gpt

Awesome Lists containing this project

README

          

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

```sh
chmod 755 INSTALL.sh
```
running this command will change the permission of the INSTALL.sh

### Step 3: Run INSTALL.sh

```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
```sh
mkhtml -h
```
if there are some output related to mkhtml then it means it is successfully builded

## How to use

### Generating HTML Files

```sh
mkhtml -G [DATA]
mkhtml --generate [DATA]
```
sends a request to openai api and generates the html file with the selected style

### Setting API Key

```sh
mkhtml -k [DATA]
mkhtml --key [DATA]
```
sets the openai api key

### Setting CSS Style

```sh
mkhtml -c [CSS-DATA]
mkhtml --css [CSS-DATA]
```
sets the css style

### Outputting Website URL

```sh
mkhtml -w
mkhtml --website
```
outputs the website url

### Outputting Github URL

```sh
mkhtml -g
mkhtml --github
```
outputs the github url

### Outputting Configurations

```sh
mkhtml -s
mkhtml --settings
```
outputs the configurations

### Outputting Version

```sh
mkhtml -v
mkhtml --version
```
outputs the mkhtml version

### Outputting Help Menu

```sh
mkhtml -h
mkhtml --help
```
outputs the help menu