暫無描述

jherve ffea339ba4 Avoid passing port argument twice in handler init 1 年之前
assets 8c1d765ebc Add the icon 1 年之前
native 27ee49afb1 Simplify native app by changing the message protocol 1 年之前
src ffea339ba4 Avoid passing port argument twice in handler init 1 年之前
test 1f0b225265 Support some new URLs 1 年之前
.gitignore 95954dfd17 Retrieve native application Python code 1 年之前
README.md 95954dfd17 Retrieve native application Python code 1 年之前
make_prod.patch ffea339ba4 Avoid passing port argument twice in handler init 1 年之前
make_prod.sh 0a7e89ea67 Add a script to turn the repo to "production" mode 1 年之前
manifest.json b68bbc3775 Enable extension only on linkedin 1 年之前
package-lock.json 913b3204a3 Use @parcel/config-webextension for build 1 年之前
package.json 913b3204a3 Use @parcel/config-webextension for build 1 年之前
packages.dhall c13a8baeb4 Initial commit 1 年之前
spago.dhall bc15b03f48 Add missing direct dependencies 1 年之前

README.md

Exemple of Firefox extension with PureScript

Basically just a stripped out version of : https://github.com/Kazy/PureTabs

Tests can be run with spago test [TODO : for some reason setting npm "test" script to this value won't work]

Javascript source maps won't work out-of-the-box if JS source files are in e.g. extension/src instead of extension. This can surely be solved using this issue : https://github.com/parcel-bundler/parcel/issues/3750

Native backend

The backend requires pdm for installation.

It can be installed with native/install.sh.

Tests can be run with (cd native && pdm run pytest).