Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem https://nextgraph.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextgraph-rs/ng-app-native
Niko 4545d3b5b9 wallet creation and opening 12 months ago
..
.vscode native apps scaffolding, based on Tauri 1 year ago
src wallet creation and opening 12 months ago
src-tauri wallet creation and opening 12 months ago
.gitignore dist-file output fr single file/offline html 12 months ago
README.md README for native app 1 year ago
index.html wallet creation and opening 12 months ago
package.json dist-file output fr single file/offline html 12 months ago
pnpm-lock.yaml dist-file output fr single file/offline html 12 months ago
postcss.config.cjs UI cleanup, added tailwind and flowbite, router 12 months ago
svelte.config.js UI cleanup, added tailwind and flowbite, router 12 months ago
tailwind.config.cjs UI cleanup, added tailwind and flowbite, router 12 months ago
tsconfig.json native apps scaffolding, based on Tauri 1 year ago
tsconfig.node.json native apps scaffolding, based on Tauri 1 year ago
vite.config.ts dist-file output fr single file/offline html 12 months ago

README.md

NextGraph native apps (Linux, MacOS, Windows, Android, iOS)

NextGraph native apps use the Tauri framework.

The apps are using an embedded WebView that renders the Svelte app.

Install

cargo install tauri-cli --version "^2.0.0-alpha"
npm install -g pnpm
pnpm install

VS Code + Svelte + Tauri + rust-analyzer.

Desktop

Install all prerequisites for your dev platform.

to run the dev env :

## on macos
cargo tauri dev
## on linux
cargo tauri dev --target x86_64-unknown-linux-gnu
## on win
cargo tauri dev --target x86_64-pc-windows-msvc

to build the production app installer :

MacOs

cargo tauri build

Linux (Ubuntu 22.04)

cargo tauri build --target x86_64-unknown-linux-gnu

Windows (7)

cargo tauri build --target x86_64-pc-windows-msvc

Android

rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android

to launch the dev app :

cargo tauri android dev

to build the production app :

cargo tauri android build

to debug the Svelte app, use Chrome :

iOS

First, make sure Xcode is properly installed. then :

rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim

to launch the dev app :

cargo tauri ios dev

to build the production app :

cargo tauri ios build