https://github.com/nymtech/tauri_lib
tauri lib poc
https://github.com/nymtech/tauri_lib
Last synced: 9 months ago
JSON representation
tauri lib poc
- Host: GitHub
- URL: https://github.com/nymtech/tauri_lib
- Owner: nymtech
- Created: 2023-10-04T13:58:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T12:53:38.000Z (over 2 years ago)
- Last Synced: 2025-10-07T15:59:24.047Z (9 months ago)
- Language: TypeScript
- Size: 261 KB
- Stars: 88
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Tauri lib POC
This is a demonstration of a tauri app compiled as a dynamic
shared library, that can be run from another app
## Install
#### Prerequisites
- Rust
- Nodejs (npm), latest LTS version recommended
Some system libraries are required depending on the host platform.
Follow the instructions for your specific OS [here](https://tauri.app/v1/guides/getting-started/prerequisites)
#### Install project dependencies
```
npm i
```
## App Development
```
cd app
npm run app:dev
```
## Build
build the app (lib)
```
cd app
npm run app:build
```
build the runner
```
cd runner
cargo build
```
## Run
First copy the compiled shared library in a subdirectory named
`lib` relative to where you want to run the app:
Example on Linux:
```
cd runner
mkdir lib
cp ../app/src-tauri/target/release/libvpnym.so lib
cargo run
```