A simple static site generator made in C++.
It's just the name I randomly got from a character and liked it.
- Clone the repo
- Get the absolute path of the LennahSSG.exe (e.g. C:\Users\<Your Name>\LennahSSG\Debug\LennahSSG.exe)
- Open the console and enter the path followed by an argument
Argument | Description |
---|---|
-h , --help |
Displays the help information |
-v , --version |
Displays the current version number |
-i <PATH> , --input <PATH> |
Converts txt file(s) at the <PATH> to html. The output will be in a folder called dist in the current directory (So make sure you know what directory you are calling the exe from). |
- Converts text files into a formatted html file
- Takes the first line of the text file and sets it as the title and gives it a header format
- Can recursively go through deep folders to find txt files
C:\Users\User\LennahSSG\Debug\LennahSSG.exe -i "Silver Blaze.txt"
This will result in this sample html page: http://joshuali7536.github.io/LennahSSG