💾 Archived View for adele.pollux.casa › code › gemiprox › gemiprox.gmi captured on 2022-01-08 at 13:49:26. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
This nodejs application is a proxy server which converts any web page to a gemini content.
For that, it use the module "readability" from Mozilla, same used by Firefox when you switch to "read mode". It permits to have a lighter html page to convert to gemini format.
This instance is an example, and should not be used intensively (please !)
You need to adapt hostname and port (1965 should be used is no other gemini server on your machine)
npm install @derhuerst/gemini npm install @mozilla/readability npm install create-cert npm install jsdom npm install turndown
node gemiprox.js