Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/caro401/kiara-tauri


https://github.com/caro401/kiara-tauri

Last synced: about 2 months ago
JSON representation

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