https://github.com/michael-lazar/gemini-portal
A gemini-to-http proxy server
https://github.com/michael-lazar/gemini-portal
Last synced: 2 months ago
JSON representation
A gemini-to-http proxy server
- Host: GitHub
- URL: https://github.com/michael-lazar/gemini-portal
- Owner: michael-lazar
- License: other
- Created: 2022-12-13T22:22:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-23T01:12:20.000Z (3 months ago)
- Last Synced: 2025-03-23T02:21:47.426Z (3 months ago)
- Language: Python
- Homepage: https://portal.mozz.us
- Size: 479 KB
- Stars: 30
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://github.com/michael-lazar/gemini-portal/actions/workflows/test.yml)
# Gemini Portal (v2)
This repository contains the code powering https://portal.mozz.us.
The original version was written with Flask, maintained in a personal
repository and never publicly released. This repository is a full
rewrite (version 2) with following goals:- Switching to an ASGI framework (quartz) to support more simultaneous
proxy connections.
- Making the codebase more maintainable in the long term by adding
unit tests, type hints, and linters.This is probably only useful for myself. You are welcome to use the
code, but I am not writing this with the goal of making a general
purpose gemini-to-http proxy, of which there are already many other
open source alternatives.## Development
```bash
# Download the source
git clone https://github.com/michael-lazar/gemini-portal
cd gemini-portal/# Initialize a virtual environment and install pip dependencies, etc.
tools/boostrap# Initialize pre-commit hooks
pre-commit install# Launch the dev server
tools/quart --debug run -p 8000# Run the tests, linters, etc.
tools/mypytools/pytest
tools/pytest --run-integration# Rebuild requirements
tools/pip-compile
tools/pip-install
```## License
[The Human Software License](https://license.mozz.us)
> A hobbyist software license that promotes maintainer happiness
> through personal interactions. Non-human
> [legal entities](https://en.wikipedia.org/wiki/Legal_person) such as
> corporations and agencies aren't allowed to participate.