Open-source rewrite of Yixboost Games https://version2.yixboost.eu
  • Python 88.9%
  • HTML 8.4%
  • JavaScript 2.7%
Find a file
2026-06-18 12:55:47 +02:00
.vscode Added core functionality and plugin loader, including build in game_loader and search plugin 2026-06-18 09:09:41 +02:00
core Template and theme fix 2026-06-18 12:55:47 +02:00
custom_plugins Add simple wiki (ducth), theme structure 2026-06-18 10:45:31 +02:00
custom_themes Add simple wiki (ducth), theme structure 2026-06-18 10:45:31 +02:00
plugins Add simple wiki (ducth), theme structure 2026-06-18 10:45:31 +02:00
routes Added core functionality and plugin loader, including build in game_loader and search plugin 2026-06-18 09:09:41 +02:00
static Better database setup 2026-06-15 16:09:01 +02:00
themes Add default theme as submodule 2026-06-18 12:34:06 +02:00
wiki Template and theme fix 2026-06-18 12:55:47 +02:00
.gitignore Added better config file and OpenID login support 2026-06-18 09:53:42 +02:00
.gitmodules Add default theme as submodule 2026-06-18 12:34:06 +02:00
agent-instructions.txt Add simple wiki (ducth), theme structure 2026-06-18 10:45:31 +02:00
cache.py Added core functionality and plugin loader, including build in game_loader and search plugin 2026-06-18 09:09:41 +02:00
config.example.json Add simple wiki (ducth), theme structure 2026-06-18 10:45:31 +02:00
database.py Added core functionality and plugin loader, including build in game_loader and search plugin 2026-06-18 09:09:41 +02:00
LICENSE Initial commit 2026-06-12 10:03:52 +02:00
main.py Added core functionality and plugin loader, including build in game_loader and search plugin 2026-06-18 09:09:41 +02:00
models.py Added core functionality and plugin loader, including build in game_loader and search plugin 2026-06-18 09:09:41 +02:00
NOTES.md Better database setup 2026-06-15 16:09:01 +02:00
README.md Add simple wiki (ducth), theme structure 2026-06-18 10:45:31 +02:00

games-v2

Open-source rewrite of Yixboost Games

App structure

  • main.py is the thin FastAPI entrypoint.
  • core/ owns the application factory, settings, database, cache, shared routes, template hooks, registries, error handlers, and plugin loader.
  • plugins/ contains built-in and future plugins. Plugin templates live inside each plugin at plugins/<plugin>/templates/<plugin>/.
  • plugins/game_loader/ is the built-in plugin that registers the homepage, game detail route, and /api/v1/games.
  • plugins/search/ registers /search and injects a navbar search form through the navbar_actions hook.
  • custom_plugins/ and custom_themes/ are reserved for local extensions.
  • themes/default/ provides the default page structure through layouts/base.html.
  • wiki/ contains short guides for config, plugins, auth, database requirements, and themes.

Run locally with:

python3 -m uvicorn main:app --reload

OAuth login

Copy config.example.json to config.json, fill in the OAuth client details, and set the provider's redirect URI to:

http://127.0.0.1:8000/auth/callback

The core supports OpenID Connect discovery through oauth.well_known_url. Users are created or updated in the users table after login.