Metadata-Version: 2.4
Name: gemcaplib
Version: 0.2
Summary: Gemtext renderer with state persistence.
Project-URL: Homepage, https://git.sr.ht/~abraxas/gemini-capsule-library
Project-URL: Bug Tracker, https://todo.sr.ht/~abraxas/GCL-Improvements
Author-email: abraxas <abraxas@hidden.nexus>
Maintainer-email: abraxas <abraxas@hidden.nexus>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Keywords: cgi,gcl,gemcaplib,gemini,gemtext,gmi,hypertext
Classifier: Programming Language :: Python
Requires-Python: >=3.8
Requires-Dist: tinydb
Description-Content-Type: text/markdown

# 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](https://git.sr.ht/~abraxas/gemini-capsule-library)

## 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](gemini://hidden.nexus/gcl/content/demo)

[Hidden Nexus](gemini://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!](https://todo.sr.ht/~abraxas/GCL-Improvements)
