Getting started
Set up a development checkout. For the release builds of Doctor and Deploy, see Downloads.
Prerequisites
- Rust stable with
rustfmtandclippy(rust-toolchain.tomlselects them through rustup). - Node.js 24 and pnpm 11 (
packageManagerin the rootpackage.json). Install Rust with rustup. After installing Node, runcorepack enable. - Tauri 2 prerequisites: Xcode Command Line Tools on macOS, the official Tauri 2 page for other systems.
- git. The primary development platform is macOS Apple Silicon.
Clone, install, run
sh
git clone https://github.com/shojibur/Ossiframe
cd Ossiframe
pnpm install
pnpm run doctor # Doctor in development mode
pnpm --filter @ossiframe/deploy tauri dev # Deploy in development modeThe first run takes several minutes. Connect only to servers you are authorized to access, and use disposable servers in development.
Generate your first app
sh
cd $OSSIFRAME
cargo run -q -p ossiframe-cli -- new /tmp/acme --name "Acme Ops" \
--identifier dev.example.acme --preset observe --ossiframe-local $OSSIFRAME--ossiframe-local is for development only (see Local mode and standalone mode).
Required checks
CI runs the same checks.
sh
cargo fmt --check
cargo clippy --workspace --all-targets -- -D warnings
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace --all-features
pnpm typecheck
pnpm lint
pnpm build # production frontend builds
shellcheck tools/*.sh # when you change scriptsRelease bundles: tools/build-release.sh, see release.md.
Next steps
- Architecture: layers, crates and request flow.
- Modules: what each module does and which need an opt-in flag.
- CLI reference: every generator command and flag.
- Custom modules: write your own module.
