Go to file
Thomas Rupprecht ca37e153e1 chore(js): add .ts files editorconfig and fix styling 2023-02-04 18:20:45 +01:00
.husky add pre-commit hook with husky 2023-02-03 22:51:21 +01:00
src fix(js): replace deprecated substr() with substring() and add checks for promise results 2023-02-04 18:07:52 +01:00
.editorconfig chore(js): add .ts files editorconfig and fix styling 2023-02-04 18:20:45 +01:00
.gitignore move code into src dir 2022-12-24 13:38:39 +01:00
.npmrc improve code, doc, tooling 2022-12-24 02:31:56 +01:00
CHANGELOG.md chore(js): add .ts files editorconfig and fix styling 2023-02-04 18:20:45 +01:00
LICENSE.txt update license 2021-11-06 11:01:47 +01:00
README.md chore: unify and improve codestyle 2023-02-04 17:21:18 +01:00
cliff.toml chore: unify and improve codestyle 2023-02-04 17:21:18 +01:00
package-lock.json chore(package): update husky 2023-02-04 03:29:47 +01:00
package.json chore(package): update husky 2023-02-04 03:29:47 +01:00
types.d.ts chore(js): add .ts files editorconfig and fix styling 2023-02-04 18:20:45 +01:00
web-ext-config.js add web-ext-config.js and add watch scripts 2023-01-05 16:40:11 +01:00

README.md

/usr/space Web-Extension (Firefox Add-on)

Mozilla Add-on Mozilla Add-on Mozilla Add-on Mozilla Add-on

Features

  • Show if someone is in the Space
    • Looks for connected dynamic IPs (DHCP) (provided by backend)
    • Refreshes every 5min
  • Show the next event
  • Quick-Links (Homepage, Wiki, Gitea, Nextcloud)

Install

$ git clone https://gitea.usrspace.at/XimeX/usrspace-browser-addon.git
$ npm i -g web-ext
$ npm i

Run / Develop / Debug

$ npm run watch:{firefox|firefox-android|chromium}

If more options are needed add them after a --.

Some useful options:

  • --devtools
  • --firefox-apk=...
  • --android-device=...

Example: npm run watch:firefox-android -- --firefox-apk=org.mozilla.fenix --firefox-device=XXXXXXXX

Build

// For Firefox
$ npm run build:firefox
// For Chromium
$ npm run build:chromium

Release

$ npm version {major|minor|patch|...}

Developent Docs

Credits

Used icons from Bootstrap https://github.com/twbs/icons/blob/main/LICENSE.md

License

MIT