Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem
https://nextgraph.org
byzantine-fault-tolerancecrdtsdappsdecentralizede2eeeventual-consistencyjson-ldlocal-firstmarkdownocapoffline-firstp2pp2p-networkprivacy-protectionrdfrich-text-editorself-hostedsemantic-websparqlweb3collaboration
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.
Niko
f25af5f481
|
2 years ago | |
---|---|---|
.. | ||
.vscode | 2 years ago | |
public | 2 years ago | |
src | 2 years ago | |
src-tauri | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
index.html | 2 years ago | |
package.json | 2 years ago | |
pnpm-lock.yaml | 2 years ago | |
tsconfig.json | 2 years ago | |
tsconfig.node.json | 2 years ago | |
vite.config.ts | 2 years 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"
Recommended IDE Setup
VS Code + Svelte + Tauri + rust-analyzer.
Desktop
Install all prerequisites for your dev platform.
cargo tauri dev
Android
-
add the rust targets for android
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
- follow the steps for Android in the Prerquisites guide of Tauri
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 :
- chrome://inspect/#devices
- install the svelte extension
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