Skip to main content

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

View on Gemini

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.

View The Demo

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

Feel free to request improvements!

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

gemcaplib-0.2.2.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemcaplib-0.2.2-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

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

Hashes for gemcaplib-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2c8056ae7f62bbf523f0dcb4a7292aa8ce819e4aeb3b81f771290e5dc75ad797
MD5 b44b97a39a83112b4d19ce3fffddb564
BLAKE2b-256 ae16d5536ea4d0a1377388462be2c0f7b5f1b9b829525a62e2b6ea951d7cc149

See more details on using hashes here.

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

Hashes for gemcaplib-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9a0b2279f08f8192e7ae7611b25e7af9d2e2e8bfb4703c1c93da4a463c15a1
MD5 e02350ef0548b2a01166ce92d5658a4a
BLAKE2b-256 adf5d632e997265806c71a0a3b531eabd4d7818ec78f14a4dff947edd9c114fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page