In collaboration with Bitcoin Design.
Images of the WebUI can be found at raspiblitz-web-progress
Built with React & Tailwind CSS.
If you want to bring the Raspiblitz WebUI to other languages, please help us translate it via Weblate :)
Big thanks to our translators, which you can find in this README.
npm update
npm install
cd backend-mock
npm install
cd ..
npm run dev:local
The npm run dev:local
command starts the frontend and the backend mock server.
The backend mock server restarts automatically when you change a file in the backend-mock
folder.
npm install
npm run start
For the backend, there currently exist three options:
Open another terminal
cd backend-mock
npm install
npm run start
Then go to http://localhost:3000
and use the password password
.
npm test
Run tests headless:\
npx playwright test
Run test with UI:\
npx playwright test --ui
This guide uses Polar for easier development, but you can also use a real lightning node.
blitz_api
to work..env
file (see .env_sample in blitz_api) and copy the bitcoin and ln info into it.
shell_script_path
you need to define a directory where a folder called config.scripts
and a file called blitz.debug.sh
reside in. Otherwise blitz_api
may not work (used on the RaspiBlitz for logging)blitz_api
:
prefix_format
from /v{major}
to /api/v{major}
.BACKEND_SERVER
value in vite.config.ts to your local blitz_api
installation.Now you can start the blitz_api
and run npm run start
in raspiblitz-web.
Please do not commit the above changes.
nvm
is installed.nvm install 20
or if already installed nvm use
npm install
BACKEND_SERVER
value in vite.config.ts to your local RaspiBlitz - for example if your RaspiBlitz is running on local IP 192.168.1.123
then change the value to http://192.168.1.123:80
npm run start
it should now connect to your external RaspiBlitz