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.1.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.1-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file gemcaplib-0.2.1.tar.gz.

File metadata

  • Download URL: gemcaplib-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bd5dbf6fc09b6f8275ca257d38e76c86be7577f5c50d63d8f7b15a2f6a37005f
MD5 b59916e7d3c94531ca23c43551082c82
BLAKE2b-256 1321c09cb3e1cd272ce5c9dfba02998259aa59d5b657f9957b2ec4c9f3309351

See more details on using hashes here.

File details

Details for the file gemcaplib-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: gemcaplib-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d80bc5fc39416459821cc0aa2a813a1c58ce1db364348a59cb91d7b2e70455d
MD5 8e6c7c8a309fc9421778dd615cbdd365
BLAKE2b-256 5c832cfb65ae162dd777a47a19a957746d7b57a27cd42b9747f4c1f4f80dcce3

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