| tags | |||||
|---|---|---|---|---|---|
|
You can use npm or pnpm (or probably yarn), but this README shows examples using pnpm
You must first download the example with the following command:
git clone --depth=1 https://github.com/adap/flower.git _tmp && mv _tmp/intelligence/ts/examples/encrypted . && rm -rf _tmp && cd encryptedYou can then install the project dependencies with:
pnpm iThe `watch` script relies on [entr](https://github.com/eradman/entr).
In order to use remote handoff, copy `.env.example` into `.env` and update the API key inside it (if you don't have a valid API key, you can register [here](https://flower.ai/intelligence/)).
Then, you need to build the project:
pnpm buildOr rebuild when files change:
# Make sure to install this first: https://github.com/eradman/entr
pnpm watchOnce you have built the project, you should find the web-extension content that
can be imported into a browser in dist/.