💾 Archived View for aprates.dev › log › 2021-09-25-using-gempress.gmi captured on 2023-01-29 at 02:29:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
2021-09-25 | aprates.dev
____ ____ / __/ ___ _ ___ __ | _ \ _ __ ___ ,___ ___ / / __ / _ \ `_ `_ `| |_) | '__/ _ \ __/ __/ \ \_| | --| | | | | | __/| | | --|__ |__ | \__,_|\___\_| |_| |_|_| |_| \___\___/___/
This is a meta post, as it is about how to publish a capsule like this in Geminispace, using the very same tool it is published with.
GemPress is a framework, best suited for Linux users, written in `Bash` and `C` to streamline publishing Gemini Capsules, while also making it available as a common HTML page, for a broader audience.
This allows you to create contents directly in Gemini format using any pure-text editor. And after properly configured, with a single 'publish' command, append footers, generate atom feed and update the site on both worlds: Gemini and HTTP(S).
Get published in five simple steps:
1. Follow the README install instructions from the project repo [2].
2. Create your contents locally following this folder structure and naming convention:
contents ├── index.gmi # Home └── log # Log folder (where posts go) ├── index.gmi # Archive (links to all posts) └── YYYY-DD-MM-post-1.gmi # Post (example)
3. Edit the footers `gmi-footer.gmi` and `web-footer.gmi` in the provided template folder.
4. Check if all looks good by running `./publish local` to get your Capsule built at `./capsule` and a HTML Website clone under `./website` folder.
5. Publish! `./publish srht`
Note: at the time of writing only SourceHut Pages [3] is supported as hosting service for automatic publishing, but other services could be added easily.
Geminispace has a DIY ethos at it's core. So I decided to create my own framework to publish my Capsule
There are plenty of other tools out there, but this one might be the best for those who, like me, prefer to write the content's source code as Gemini text and want have it mounted with footers and published automatically both as a Gemini Capsule and as a normal Website.
The project's code-base should be easy enough for other developers to customize to their needs, and contributions are also welcome. Some effort was put into trying to keep it simple and well documented.
Patches and questions? Take part on it, and make GemPress yours too. Instructions on how to do so are on the README from project repo.
Comment on one of my posts, talk to me, say: hello@aprates.dev
Subscribe to the Capsule's Feed
Checkout the FatScript project on GitLab
Checkout my projects on GitHub
Checkout my projects on SourceHut
© aprates.dev, 2021 - content on this site is licensed under