Source-code for our website momentum-fw.dev
This project is structured into two folders:
-
The
public
folder is what you see when visiting the website. It's the compiled files for the webupdater & asset packs, and all the other static pages. -
The
frontend
folder contains the sourcecode for the webupdater & asset pack page. This will be compiled, then put into the public static assets.
The webupdater and asset-packs page use Vue to handle state (like handling Flipper via serial) and are integrated into the rest of the static pages.
-
Install dependencies:
- For Fedora:
dnf install tzdata npm
- For Ubuntu:
apt install tzdata npm
- For alpine:
apk install tzdata npm
- For Fedora:
-
Build with these commands in the
frontend
directory:npm i # If there is any vulnerabilities ALWAYS run "npm audit fix". Dont be lazy! quasar build -m spa
-
Finally, copy the built files over into the
public
folder. You can distinguish generated files by the random filenames. Also you'll need to copy the main index page into the frame directories. Now you can serve it with any webserver software.
The core backend for the webupdater and the asset packs (as in, the Vue part) is largely built on the base of lab.flipper.net.
If you enjoy the firmware please spread the word! And if you really love it, maybe consider donating to the team? :D
Ko-fi: One-off or Recurring, No signup required
PayPal: One-off, Signup required
BTC:
1EnCi1HF8Jw6m2dWSUwHLbCRbVBCQSyDKm
Thank you <3