Typescript user interface for piranha on desktop and web.
We will provide a Typescript front end for piranha, which can be built and distributed as an Electron application, or deployed as a web application.
This monorepo contains the following components in its directories.
piranha-apps- npm root and source for both the Electron and web applications, containing the following notable sub-directories:svelte-app- the front end svelte application code used by both applicationspiranha-electron- the electron wrapper forsvelte-app. Its vite config file iselectron.vite.config.ts.piranha-web- the web app wrapper forsvelte-app. Its vite config file isweb.vite.config.ts.
piranha-api- Python API, used by both the electron and web applications.
Run the API with: ./scripts/run-api.
Run the Electron app with: ./scripts/run-electron.
Run the web app with: ./scripts/run-web.
To make a release:
- Increment the version in
./piranha-apps/package.json - Create a release in the github repository. Tag the release with a version which matches the package.json version, with a "v" prefix.
- After the release has been created, the
PiranhaNET Installersgithub action will run. Check that it completes successfully. When it has done so, the installers should be attached to the release. Currently, we are only building the Windows installer. - If possible, download the installer to a Windows machine and check that PiranhaNET installs and runs correctly.