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 if you want, but I am not publishing this with the goal of turning it into a collaborative open-source project. That being said, bug reports are always welcome!
# Download the source
git clone https://github.com/michael-lazar/smolnet-portal
cd smolnet-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/mypy
tools/pytest
tools/pytest --run-integration
# Rebuild requirements
tools/pip-compile
tools/pip-installA hobbyist software license that promotes maintainer happiness through personal interactions. Non-human legal entities such as corporations and agencies aren't allowed to participate.