Convert gemini pages to Web.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Émy OniriCorpe 341f9da5a2 suppression des pwd inutiles 2 months ago
html 'max-device-width' is deprecated 3 months ago
.gitignore ajout content/* 4 months ago ajout commentaires sur les usages possibles 2 months ago suppression des pwd inutiles 2 months ago


install scdoc and gmnitohtml

clone this repo

chmod +x

your .gmi files are converted in html and concatenated with the html/header.html and the html/footer.html
the .html file is witen in the directory of the .gmi file which has been treated
this script will recursively search all .gmi files contained in the "content" folder or a path given as an argument to the script, even in the other folders it includes

feel free to customize the html/header.html and the html/footer.html as you like

please keep the

        <!-- TITLE -->

in the html/header.html file if you want your generated pages to have a properly defined title in the HTML


put your files to be processed in the "content" folder then lauch the script


you can also put the path to your folder with the files to be processed as the first argument
./ /path/to/your/choosen/folder


you can optionally add a text at the end of the HTML page title as the second argument
./ /path/to/your/choosen/folder "Your custom title"