zeyn
Health Warn
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Rust web framework for data heavy business apps: grids, forms and workflows that AI agents write and people review
Zeyn Framework
Zeyn is an open source Rust web framework for data heavy applications: grids, forms and workflows. AI agents write the application code. People read it, review it and change it when they need to.
Status: alpha, on crates.io as 0.0.7. APIs still change between versions. Everything below compiles and is tested.
Start a project
cargo install zeyn-cli
zeyn new my-app
cd my-app
cargo run # http://127.0.0.1:3000
The docs are at https://docs.zeynsoft.com and a live demo of every component at https://framework.zeynsoft.com.
Try the examples in this repository
cargo run -p zeyn-example-showcase # http://127.0.0.1:3002, every component and feature
cargo run -p zeyn-example-big-grid # http://127.0.0.1:3000, one million rows
cargo run -p zeyn-example-billing # http://127.0.0.1:3004, an app using the shared-domain library
cargo run -p zeyn-example-docs # http://127.0.0.1:3008, the documentation site, written with Zeyn
cargo run -p zeyn-example-adisyon --features desktop # the point of sale app as a desktop window
cargo run -p zeyn-cli -- new my-app # a new project with the standard feature structure
cargo run -p zeyn-cli -- new my-domain --lib # a library of features shared by several apps
What works today
- Models, entities, actions and screens as attribute macros, with typed fields and compile time checks
- Server rendered screens with a small browser runtime; no JavaScript to write
- Data grid: server paging, infinite scroll, virtual scrolling over a million rows, filters, sorting, totals
- Forms for every field type, validation shared by server, client and API, row version conflict checks
- PostgreSQL and Oracle (11g and later) data layer behind features: grid queries in SQL, keyset
cursors, capped counts, totals, transactions, streams and migrations (seedocs/database.md) - Dates and times without time zone bugs:
Date,Time,DateTime(UTC),LocalDateTime, every
IANA time zone with its history built in (seedocs/operations.md) - English and Turkish built in, compile time checked translation keys, locale aware money and dates
- Security: permissions, guards, interceptors, audit log, CSRF, CSP, rate limits, IP rules, CORS
- Single sign on through a proxy, tenants, licenses, layered configuration and secrets
- Operations: ed25519 signed licenses, Redis for several servers,
tracingspans and optional
OpenTelemetry export (seedocs/operations.md) - JSON API with OpenAPI 3.1 and problem details, optional API docs with basic auth or permissions
- MCP for agents: a project MCP server (
zeyn mcp) and in app tools through WebMCP and/_zeyn/mcp, opt in withApp::mcp - Sign in with OpenID Connect, bearer JWTs for APIs and MCP, a second factor guard and built in
TOTP (featuresoidcandtotp, seedocs/auth.md) - An embedded AI assistant (feature
assistant): any LLM, speech, pluggable history, confirmation before writes (seedocs/assistant.md) - Themeable design system with light and dark themes (see
docs/theming.md) - Field level audit, read audit with reasons, field masking, safe deploys, health checks, idle
timeout and re authentication, CSV import, background jobs and approval workflows (seedocs/enterprise.md) - Apps and shared libraries in separate repositories, GitLab CI templates (see
docs/polyrepo.md) - Desktop apps: one executable in the system WebView, offline, with a guarded loopback server
(zeyn-desktop,zeyn build-desktop, seedocs/desktop.md)
Goals
- Strong data grid that handles large datasets, in the browser or on the server
- Hybrid rendering: server driven pages by default, WebAssembly islands (feature
islands) for heavy components, with typed action calls and shared Rust types (seedocs/islands.md) - Optional realtime channel (feature
realtime): WebSocket rooms with Y-CRDT documents for live editing and topics that refresh screens in place, with bounded memory (seedocs/realtime.md) - Built in MCP server and llms.txt so agents can query components, validate screens and run tests
- Instructions for AI agents:
AGENTS.mdfor work on Zeyn itself,skills/zeyn/SKILL.mdfor building apps
with Zeyn (zeyn newcopies it into every project) - Secure defaults: CSRF, CSP, role based access and audit logging in the core
- Predictable memory use and a single binary deployment
- A modern default UI kit, with headless components so teams can ship their own kit
Contributing
See CONTRIBUTING.md for how to build, test and send a change, and CODE_OF_CONDUCT.md for how we work together. Questions are answered as described in SUPPORT.md. The changes of each release are in CHANGELOG.md.
Security
Report vulnerabilities privately as described in SECURITY.md, never in a public issue.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.
Unless you explicitly state otherwise, any contribution you submit for inclusion in this project, as defined in the Apache-2.0 license, is dual licensed as above, without any additional terms or conditions.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found