This is only used for a localized beatmods source.
- Localization for chinese texts.
- Navigator is removed. No edit avaliable maybe...
- The backend is a request forwarder via cloudflare worker. It's always realtime and synchornized with
beatmods.com. - A
/fronturl prefix is hardcoded.
npm run build
npx wrangler deploystep 1. run local backend
git clone git@github.com:BeatSaberCN/beatmods-agent.git
cd beatmods-agent
npm install
npm run build
npx wrangler devthis should start an api server at http://127.0.0.1:8787/
step 2. run local frontend
git clone git@github.com:BeatSaberCN/bsmods-frontend.git
cd bsmods-frontend
npm install
npm run devstep 3. open webbrowser like http://localhost:5174/front/mods
it's important you should use localhost instead of 127.0.0.1, or you will trouble with CROS problem.
Frontend for BadBSMods that is
- Developed with svelte
- Designed with Fluent Design
- With Fluent components provided by svelte-fui
- Create a .env file based on example.env pointing to your api instance.
- Run
yarn - Run
yarn dev
- Run
docker pull ghcr.io/futuremappermydud/bsmods-frontend:latestin your terminal - Run a container from the image
- Pull whenever updating