-
Environment
- Python 3.11
- NiceGUI
- Websockets
- bun
- vite
- vuejs
- Python 3.11
-
OBS plugins:
- obs-composite-blur
- obs-move-transition
- obs-transition-table
- obs-stroke-glow-shadow
- OBS Websockets (should be intergated to OBS unless you installed it using a bad Arch Linux package for example)
- Install
bun
- Run
bun install
at the root of the repository
cd backend
- Activate the Python
virtualenv
- On Windows :
.venv/Scripts/Activate.bat
- On Linux/macOS :
source .venv/bin/activate
- On Windows :
- Run
pip install -r requirements.txt
- Import the scene collection
obs/Revision2024_ShaSho.json
in your OBS - Make sure that the WebSockets server is enabled
- Click on
Tools > WebSockets Server Settings
- Check
Enable WebSockets Server
- Enable authentification
- Set
revision2024
as password (it can be customized at the top ofOverlayTop.vue
&RevisionIntroSplash.vue
) - Apply
- Click on
- Open a terminal at the repository root
cd backend
- Activate the Python virtualenv
- On Windows :
.venv/Scripts/Activate.bat
- On Linux/macOS :
source .venv/bin/activate
- On Windows :
- Run
python server.py
- Right after installing, you have to build at least once the frontend pages as static html using
bunx --bun vite build
.
Once successfully built, you can serve the dist/
directory using the server of your choice, or access the frontend pages using the backend server that already serve them at these URLs:
http://localhost:8080/overlay/index.html
http://localhost:8080/overlay/splash.html
- Open a terminal at the repository root
- Run
bunx --bun vite
Overlay pages are now served by the bun/vite development server at the following URLs:
http://localhost:5173/index.html
http://localhost:5173/splash.html