Personal gemini capsule served at gemini://isekai.rocks/~snit
Find a file
2025-08-28 03:55:28 -05:00
asst Dark theme CSS 2025-08-24 11:56:43 -05:00
incl Add a back button 2025-08-22 09:55:48 -05:00
site I crashed out upon discovering URNs and wrote my own namespace URI specification, oops 2025-08-28 03:55:28 -05:00
.gitignore New XIPP means clickable banners :D 2025-08-20 21:25:12 -05:00
LICENSE Sync with untracked remote changes 2025-04-12 11:18:44 -05:00
Makefile Update README 2025-08-22 10:09:58 -05:00
README.md Update README 2025-08-22 10:09:58 -05:00

~snit

The source files for my personal capsule, which can be viewed at:

=> Capsule (HTTPS)

=> Capsule (Gemini)

This capsule relies on STXGE, which is a static site generator I wrote myself using Guile Scheme. STXGE takes in source files written in Scheme, evaluates them to produce SGT(akin to SXML for GemText), then renders the SGT to XHTML and GemText.

=> STXGE Repository

=> SXML on Wikipedia

Building

The Makefile includes variables up top that may be messed with, such as paths to the STXGE tools if they aren't on your ${PATH}.

To build this capsule, you can run any of the following:

$ make            # Build everything
$ make gmi        # Only build for Gemini
$ make web        # Only build for HTTP(S)
$ make clean      # Delete rendered GMI/XHTML
$ make distclean  # Delete all build files
$ make wwwsrv     # Run a web server via Python

By default, the following directories are used:

  • site/ contains document templates to render
  • incl/ contains templates that can be included to provide code or data
  • asst/ contains asset files such as media or stylesheets
  • build/sgt/ will contain intermediary SGT data from evaluating templates
  • build/sxml/ will contain intermediary SXML data, translated from the SGT
  • dist/{www,gmi}/ will contain rendered XHTML and GemText documents, respectively