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

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.tar.gz (18.4 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-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gemcaplib-0.2.tar.gz
  • Upload date:
  • Size: 18.4 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.tar.gz
Algorithm Hash digest
SHA256 8650c37941eb618d39693250b6df4c12689e6245f93d74a50c38b4857a754a01
MD5 0b2052eaf5a41b8cd6c672ab44b05a16
BLAKE2b-256 765e68069d0dae4d6a08caa7ee68dca0e729c12a1fb6bd07d039f7a14eabf76e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gemcaplib-0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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-py3-none-any.whl
Algorithm Hash digest
SHA256 a74dbb8033bc109990e07368fbc3d19c3d89881134824bb10d2320940a4a8357
MD5 0a597f9650447a6c99cee55692b79902
BLAKE2b-256 bc968b01fd22bc63651b5b47b43c8d1f14bb92aab01b04a9a462705721aa372b

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