1
0
mirror of https://github.com/Picovoice/porcupine.git synced 2022-01-28 03:27:53 +03:00
Files
Ian Lavery c6f40c00d6 v2.1 (#645)
2022-01-20 17:59:14 -08:00
..
2022-01-20 17:59:14 -08:00
2021-11-25 10:08:21 -08:00
2021-11-25 10:08:21 -08:00
2022-01-20 17:59:14 -08:00
2021-11-25 10:08:21 -08:00
2021-11-25 10:08:21 -08:00
2021-04-09 14:40:56 -07:00
2021-11-25 10:08:21 -08:00
2022-01-20 17:59:14 -08:00
2021-04-09 14:40:56 -07:00
2021-04-09 14:40:56 -07:00

porcupine-web-template

This is a template package for building the porcupine-web-* projects. Each language requires a separate NPM package due to the size of the payload included.

The code in each package is largely identical. Using this template you can create all of these projects dynamically from the template folder.

Create porcupine-web-* projects

Use yarn then yarn build to gather dependencies, convert built-in Porcupine .ppn keyword files to base64 format (and JS code to wrap them), and generate a project per language from the project template:

yarn
yarn build

Now each individual project will exist. E.g.:

cd porcupine-web-en-worker
yarn
yarn build