Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caro401/kiara-tauri
https://github.com/caro401/kiara-tauri
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/caro401/kiara-tauri
- Owner: caro401
- License: mit
- Created: 2023-11-08T13:45:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T18:37:41.000Z (about 1 year ago)
- Last Synced: 2023-12-01T19:35:42.116Z (about 1 year ago)
- Language: Svelte
- Size: 745 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prototype kiara mini-app for network analysis
## developing
This is built with [tauri](https://tauri.app) and [sveltekit](https://kit.svelte.dev/) and [tailwindcss](https://tailwindcss.com/)
### for now
Set up a python environment for pyo3 to use. This needs python-devel or install via pyenv with `env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 3.11.6`
Instruct PyO3 to use the correct Python version with an env variable: `export PYO3_PYTHON=/Users/XXX/.pyenv/versions/3.11.6/bin/python` or whatever for your OS
Sometimes the linker gets sad. When it does that, `cd src-tauri && cargo clean` might fix it.
### always
- have a [node](https://nodejs.org/en) environment and rust installed (via [rustup](https://rustup.rs/))
- `npm install`
- `npm run tauri dev`## building
- set the `PYO3_PYTHON` env var as appropriate
- `npm run tauri build`## Running (for now)
use [kiara-bootstrap](https://github.com/caro401/kiara-bootstrap)
## TODO
- [ ] SOM ERROR HANDLING
- [ ] mock up how the merge edges thing works
- [x] can tauri expose devtools in release build
- sort of - https://tauri.app/v1/guides/debugging/application/#using-the-inspector-in-production but we probably don't want to ship with it