GemServe is a simple Gemini protocol server to serve .gmi files. Written in Python and compiled with PyInstaller.
Ideal for beginners or capsules that don't require server-side scripting - Just download the binary executable and run it, and start editing .gmi files in the /docs/ folder. index.gmi is served on the root endpoint.
- Click on the
bin/folder above and download the executable for your OS.
- gemserve_win64.exe (For 64-bit Windows)
- gemserve_linux_x86_64 (For 64-bit Linux)
More binaries coming soon
- Create a folder for your gemini capsule (eg.
mywebsite/) and copy the executable inside it. - Run the executable and point your Gemini client to
gemini://localhost. You will have to create an exception (Ctrl+Shift+U in Lagrange) for the self-signed certificate. - Start editing files in
/docs/
- Install Python on your system.
- First, clone the repository:
git clone https://github.com/pranavcl/gemserve- Enter the cloned directory and run
pip install -r requirements.txt:
cd gemserve
pip install -r requirements.txt- Run the app using
python:
python run.py
- To compile it into a binary executable, install PyInstaller using
pip install pyinstallerand run:
pyinstaller --onefile run.py --distpath bin --name gemserve --clean
All done!
Published under the GNU GPLv3 License