A modular, multi-language full-stack application framework and development ecosystem.
FrameStack aims to make it practical to compose modern application stacks without forcing every project into one frontend, backend runtime, database, or deployment provider.
The project is being designed around a small, stable core; explicit integration boundaries; contract-first interfaces; and first-class developer tooling.
Status: Early implementation. The
framestackCLI creates, checks and inspects project manifests, and builds and runs Leptos + Axum applications through its first adapter. No other framework is supported yet.
With Rust 1.85 or newer:
cargo install --path crates/framestack-cli
cd my-project
framestack init # writes a starter framestack.toml
framestack check # validates it; exit code 1 if it has errors
framestack graph # components, relationships and build order
framestack graph --format mermaid
framestack inspect # normalized JSON
framestack plan build # what a build would run, and the tools it needs
framestack build --yes # run itSee the CLI reference, the manifest reference and the adapters. A working Leptos + Axum application is in examples/rust-leptos-axum.
- Support Rust-native frontend options such as Leptos and Dioxus, alongside TypeScript ecosystems such as React.
- Integrate multiple backend runtimes and service frameworks through adapters rather than hard-coding one stack.
- Provide a consistent project model, configuration format, CLI, and development workflow.
- Keep core contracts independent of optional integrations.
- Make integrations independently testable and replaceable.
- Favor secure defaults, explicit capabilities, reproducible builds, and clear diagnostics.
| Area | Responsibility |
|---|---|
| Core | Application model, configuration, lifecycle, shared contracts |
| CLI | Project creation, inspection, development, build, and validation commands |
| Frontend adapters | Leptos, Dioxus, React, and other frontend integrations |
| Backend adapters | Rust and TypeScript service runtimes and framework integrations |
| Contracts | Versioned schemas, fixtures, and cross-language compatibility checks |
| Tooling | Build orchestration, generators, diagnostics, and developer experience |
| Integrations | Databases, authentication, APIs, observability, and deployment targets |
See the architecture blueprint, the roadmap, and the architecture decision records.
framestack/
├── .github/ # CI, issue templates, and repository automation
├── docs/ # Architecture, roadmap, and decision records
├── crates/
│ ├── framestack-core/ # Project model, manifest parsing and validation
│ └── framestack-cli/ # The framestack command
├── fixtures/manifest/ # Shared valid, invalid and warning manifests
├── packages/ # TypeScript packages (introduced with implementation)
├── integrations/
│ └── framestack-leptos-axum/ # Leptos + Axum adapter (plans cargo-leptos)
├── examples/
│ └── rust-leptos-axum/ # Reference application, built in CI through FrameStack
├── schemas/ # JSON Schema for the normalized manifest
├── website/ # Docusaurus documentation site
├── scripts/ # Maintainer and development scripts
├── PROJECT_STATE.md # Tracked project status and next actions
└── AGENT_HANDOFF.md # Local-only agent context; intentionally gitignored
Directories for implementation layers will be added as their APIs are defined; the blueprint does not imply that those integrations are already implemented.
cargo test --workspace # Rust core and CLI
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all
pnpm install && pnpm run check # documentation siteThe minimum supported Rust version is 1.85, and CI tests it as well as stable. Node.js follows .nvmrc.
The application model, manifest validation, the adapter boundary and the first reference stack (Leptos + Axum, ADR-0007) exist. The TypeScript reference stack is next; see PROJECT_STATE.md.
Read CONTRIBUTING.md before proposing architectural or implementation changes.