Home

Awesome

<h1 align="center">Raspiblitz Web - a responsive Web UI for the RaspiBlitz</h1>

Raspiblitz Dashboard

In collaboration with Bitcoin Design.

Images of the WebUI can be found at raspiblitz-web-progress

Built with React & Tailwind CSS.

Translations

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.

Development

Dependencies

Update npm dependencies

npm update

Dev workflow

Simple dev setup

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.

Frontend

npm install
npm run start

Backend

For the backend, there currently exist three options:

Mock backend

See backend-mock folder

Open another terminal

cd backend-mock
npm install
npm run start

Then go to http://localhost:3000 and use the password password.

Testing

Unit tests

npm test

E2E tests

Run tests headless:
npx playwright test

Run test with UI:
npx playwright test --ui

Blitz API

This guide uses Polar for easier development, but you can also use a real lightning node.

Now you can start the blitz_api and run npm run start in raspiblitz-web.

Please do not commit the above changes.

Use a external RaspiBlitz as Backend

Credits & Licenses

Icons

App logos