Skip to content

Rokr0k/webbms

Repository files navigation

GitHub commit activity GitHub contributors GitHub GitHub code size in bytes GitHub top language Hits

Web BMS

BMS streaming application based on Web Audio API and HTML5 Canvas.

How to run

Put BMS files in public/bms/ directory (symlinks available on unix), and type

npm start

in terminal. Then, the server will be open on port 80.

If you want to open the server on different port, create a file named .env and write

PORT=[Port Number]

inside it.

For HTTPS connection, add

SIGNATURE=[Certification Method]
DOMAIN=[Domain]

to .env. For now, only letsencrypt is available.

To refresh the list, you can simply

./refresh.sh  # Unix

or

.\refresh.ps1  # Windows

Warning

Web browsers do not support .mpg or .mpeg formats. Instead, they recommend to use .mp4 or .webm. Convert them with, for example, FFmpeg.
For the same reason, convert .bmp into .png or .jpg.
The parser will automatically detect them, so you don't have to modify the BMS file.