mirror of
https://github.com/dolphin-emu/netplay-index.git
synced 2024-11-26 18:21:02 +00:00
A NetPlay Index server for Dolphin
a102293eb4
I work on a virtual machine, and it doesn't seem to be fast enough for the standard 5 second timeout somehow. |
||
---|---|---|
.github/workflows | ||
netplay_index | ||
testdata | ||
.coveragerc | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
NetPlay Index
A NetPlay Index server for Dolphin.
Features
- Admin panel
- Word backlisting
- Host banning
- Serverlist filtering
Requirements
- Python 3 and Poetry
- GeoLite2 Country
Setup
Using Nix
Note: this requires Nix Flakes to be enabled on your system.
nix run github:dolphin-emu/netplay-index
Without Nix
This project uses Poetry for dependency management.
# Install dependencies (use --no-dev to skip optional dev dependencies).
poetry install
# Run tests (Optional)
GEOIP_DATABASE_PATH=testdata/GeoLite2-Country.mmdb poetry run pytest
# Creates a sysop account and gives you a randomly generated password (can be changed later)
poetry run netplay-index --add_sysop=SYSOP_NAME
# Run the server
poetry run netplay-index
Contributing
All PRs must be formatted using Black before submission and pass the CI.
Also remember to write some tests if you add any new code.
coveralls.io will report how your PR affects the project coverage.
License
Licensed under the GNU General Public License v3 or any later version at your option. See LICENSE.