Gemtext renderer with state persistence.
Project description
Gemini Capsule Library
A Gemtext renderer designed for data persistence! Or something like that.
Includes...
- Automatic form handling and rendering with many input types (multi select, link input, etc.)
- Capsule wide data persistence through global storage (use form data on other pages for example)
- User defined callbacks for page load and page submission.
- Configurable to work with (hopefully) any Gemini server!
Hosted on SourceHut
Install via pip
pip install gemcaplib
Documentation
Demo
You can view the demo in Gemspace! The content and documentation folders contain pages written with GCL. These are being served on Hidden Nexus.
Hidden Nexus as a whole was written in a much older, less modular version of GCL. That being said, it's a great example of how far this library can be taken (accounts, settings, captchas).
Improvement Tracker
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gemcaplib-0.2.2.tar.gz.
File metadata
- Download URL: gemcaplib-0.2.2.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8056ae7f62bbf523f0dcb4a7292aa8ce819e4aeb3b81f771290e5dc75ad797
|
|
| MD5 |
b44b97a39a83112b4d19ce3fffddb564
|
|
| BLAKE2b-256 |
ae16d5536ea4d0a1377388462be2c0f7b5f1b9b829525a62e2b6ea951d7cc149
|
File details
Details for the file gemcaplib-0.2.2-py3-none-any.whl.
File metadata
- Download URL: gemcaplib-0.2.2-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e9a0b2279f08f8192e7ae7611b25e7af9d2e2e8bfb4703c1c93da4a463c15a1
|
|
| MD5 |
e02350ef0548b2a01166ce92d5658a4a
|
|
| BLAKE2b-256 |
adf5d632e997265806c71a0a3b531eabd4d7818ec78f14a4dff947edd9c114fe
|