the source

source code for the mohrie.net website and gemini capsule is stored as a git repository. it is available over ssh.

getting the code on your machine

read-write access

clone the repository by using the following command:

git clone ssh://your_username@git.mohrie.net/gmi && cd gmi

read-only access

if you do not have a mohrie.net shell account, you can clone the repository by connecting as the anongit user. note that this will grant you read access only, meaning you will not be able to send changes back to the remote repository.

git clone ssh://anongit@git.mohrie.net/gmi && cd gmi

building

the mohrie.net pages are written in a format known as gemtext. the rules are very simple to follow and understand.
reference documentation for the gemtext format
in order to make a change to any page, simply invoke your favorite text editor, like ed(1), and write away. once you're done, you can optionally build the website by running 'make web'. view the generated pages by opening them with your web browser.

contributing

if you have ssh access to the git repository

simply run these comands to send your contributions upstream:

git commit -a
git push origin master

sending a patch

alternatively, you can send a patch via email (or your preferred communication method). this involves generating a diff file and sending it, after which someone with access to the repository will look over it, and if everything is alright, apply your commits.
run these commands:

git commit -a
git format-patch origin/master

after that, send the .patch file via your preferred communication channel.