💽 A Few Short Scripts - lovetocode999

A few short scripts that I have written for my own personal use. Feel free to use this for yourself! ;)

--------------------------------------------------------------------------------

webify-gemini.sh

A short script to convert entire gemini capsules to websites.

Usage:
    webify-gemini.sh    

Example:
    webify-gemini.sh /var/gemini/users/lovetocode999/ /home/lovetocode999/public_html/ gemini://gemini.ctrl-c.club/~lovetocode999/ http://ctrl-c.club/~lovetocode999/

This script also creates three files in the specified HTML directory:

After the first run these files will not be touched by the script again (unless they are deleted), thereby allowing the user to do whatever they like with them. Note that HTML has no way of sourcing files, so the header and footer are inserted into the HTML when the script is run, meaning user-created files will not be affected and the changes to the header and footer will not show until the script is run again.

=> Download | Tildegit | See it in action!

--------------------------------------------------------------------------------

=> Back

Proxy Information
Original URL
gemini://gemini.ctrl-c.club/~lovetocode999/scripts.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
426.503481 milliseconds
Gemini-to-HTML Time
0.425435 milliseconds

This content has been proxied by September (ba2dc).