Extensible Gemini/Titan server
Project description
GmCapsule is an extensible Server for Gemini and Titan.
See the User manual for configuration and usage instructions.
Installation
Install "gmcapsule" via pip
:
pip install gmcapsule
Then run the server daemon:
gmcapsuled
Running via systemd
Create the following service file and save it as ~/.config/systemd/user/gmcapsule.service:
[Unit]
Description=GmCapsule: extensible Gemini/Titan server
After=network.target
[Service]
Type=simple
ExecStart=<YOUR-INSTALL-PATH>/gmcapsuled
Restart=always
Environment="PYTHONUNBUFFERED=1"
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=gmcapsule
[Install]
WantedBy=default.target
Replace <YOUR-INSTALL-PATH>
with the actual path of gmcapsuled
. pip
will install it in a directory on your PATH.
Then you can do the usual:
systemctl --user daemon-reload
systemctl --user enable gmcapsule.service
systemctl --user start gmcapsule
The log can be viewed via journalctl (or syslog):
journalctl -xe --user-unit=gmcapsule
Change log
v0.2.2
- Reduced required Python version to 3.6 (f-strings).
- Added systemd instructions.
v0.2.1
- Fixed error handling. Exceptions are now caught and the error message is printed.
v0.2
- Added
[cgi] bin_root
configuration option for automatically and dynamically mapping all executables in a directory tree to URL entry points. - Minor documentation updates.
- Published on PyPi as "gmcapsule".
v0.1
- Initial public release.
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
gmcapsule-0.2.2.tar.gz
(23.9 kB
view hashes)
Built Distribution
gmcapsule-0.2.2-py3-none-any.whl
(27.4 kB
view hashes)
Close
Hashes for gmcapsule-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca4aac829e66f9224bf6946cb7fadcdad14400d7c8ad4d564f8a947559ac0f6 |
|
MD5 | f3c1a15dde2c1aae96746f51a0fccca5 |
|
BLAKE2b-256 | 12f730065638aefbf2d7e98753e32d55bac67ed705608e0d0269db09fc9e3118 |