Skip to content

Next-Flip/Momentum-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source-code for our website momentum-fw.dev

Structure:

This project is structured into two folders:

  1. Public:

    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.

  2. frontend:

    The frontend folder contains the sourcecode for the webupdater & asset pack page. This will be compiled, then put into the public static assets.

Development workflow:

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.

  1. Install dependencies:

    • For Fedora:
      dnf install tzdata npm
    • For Ubuntu:
      apt install tzdata npm
    • For alpine:
      apk install tzdata npm
  2. 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
  3. 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.

Credits:

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.




❤️ Support

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