Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Aarontheissueguy/Html2GeminiPy
Convert html sites to fully functional gemini containers using python.
https://github.com/Aarontheissueguy/Html2GeminiPy
Last synced: 2 months ago
JSON representation
Convert html sites to fully functional gemini containers using python.
- Host: GitHub
- URL: https://github.com/Aarontheissueguy/Html2GeminiPy
- Owner: Aarontheissueguy
- Created: 2021-02-20T19:01:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-20T19:11:59.000Z (almost 4 years ago)
- Last Synced: 2024-08-03T17:10:15.778Z (6 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-gemini - Html2GeminiPy - Converts Html sites to Gemini sites using markdownify and md2gemini. (Tools / Gemtext converters)
README
# Html2Gemini
This simple python programm allows you to convert html to fully usable gmi files.
Using it is fairly simple. install md2gemini and markdownify with pip before you start.
Now place your entire site in the input folder (the script will filter it for html files).Change the "domain" variable to your domain and run main.py with python 3 and wait untill it is done. You will now find your .gmi files in the output/gemini folder. You can simply run a server with those files and everything should work. This is script is intended to be used on html and text heavy sites. PHP files will not be converted. Codeblocks are somewhat buggy from time to time.