Skip to content

joshuali7536/LennahSSG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4cf6899 · Nov 26, 2021

History

72 Commits
Nov 18, 2021
Nov 26, 2021
Nov 21, 2021
Nov 5, 2021
Nov 12, 2021
Oct 28, 2021
Nov 12, 2021
Sep 16, 2021
Sep 16, 2021
Sep 16, 2021
Sep 16, 2021

Repository files navigation

LENNAH

A simple static site generator made in C++.

Why is this called LENNAH?

It's just the name I randomly got from a character and liked it.

Installation and How to Use

  1. Clone the repo
  2. Get the absolute path of the LennahSSG.exe (e.g. C:\Users\<Your Name>\LennahSSG\Debug\LennahSSG.exe)
  3. Open the console and enter the path followed by an argument

Arguments

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

Features

  • 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

Example

C:\Users\User\LennahSSG\Debug\LennahSSG.exe -i "Silver Blaze.txt"

This will result in this sample html page: http://joshuali7536.github.io/LennahSSG