Project

erupt-sdk

0.0
The project is in a healthy, maintained state
An erupt cloud node: declare models in Ruby, the erupt server renders the admin UI. Rack compatible, with a built-in HTTP server; no runtime dependencies.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

erupt-sdk

Serve models from any language as erupt admin pages. A node owns models and data; the erupt server renders the admin UI, logs users in and checks menus. Wire contract: erupt-cloud/PROTOCOL.md in the erupt repository.

Dir Language Package
python/ Python 3.9+, zero dependencies erupt-sdk (PyPI)
go/ Go 1.21+, standard library only github.com/erupt-io/erupt-sdk/go
ts/ TypeScript / Node.js 22+, zero runtime dependencies erupt-sdk (npm)
php/ PHP 8.1+, zero Composer dependencies erupt-io/erupt-sdk (Packagist)
dotnet/ C# / .NET 8+, no runtime NuGet dependencies Erupt.Sdk (NuGet)
rust/ Rust 1.85+ (drivers 1.88+), serde / serde_json / ctrlc; drivers behind features erupt-sdk (crates.io)
ruby/ Ruby 3.1+, zero gem dependencies (Rack compatible) erupt-sdk (RubyGems)
swift/ Swift 5.9+ (macOS 13+, Linux), Foundation only; SQLite via the optional EruptSQLite product EruptSDK (SwiftPM, github.com/erupt-io/erupt-sdk-swift)
jvm/ Java 17+ / Kotlin: Spring Boot, or plain Java, Solon, Quarkus, Micronaut, Vert.x, Ktor, servlet xyz.erupt:erupt-cloud-node (Spring) / erupt-cloud-node-lite (+ -ktor etc.), released with erupt
conformance/ protocol checks every SDK passes against the same fixture
schema/ the contract generated by erupt: annotation JSON Schema and field templates

Every SDK serves: CRUD with search / sort / paging, CHOICE, dates, references (table and tree pickers), row operations (with forms, confirm text, per-user visibility) and the server's per-user power; raw annotation attributes are typed from and validated against schema/.

Compatibility

Every SDK here speaks node protocol v2 (erupt-cloud/PROTOCOL.md ยง12): the server completes and checks the build, enforces the user's rights and the model's, checks and normalizes queries and records, and turns drills and link trees into conditions; the node stores rows and runs its own code. A v2 node needs an erupt server that speaks v2. Against an older server it logs that the server needs an upgrade and stops registering; it never falls back to v1. The Java nodes (jvm/) ship with erupt: erupt-cloud-node-lite speaks v2 from erupt 2.4.1, the Spring node (erupt-cloud-node) speaks v1.

Keeping in step with erupt

schema/ is the whole contract between the two repositories. After an annotation change erupt regenerates it (mvn -pl erupt-test -Pnode-schema test); here the sync-schema workflow (weekly, or run by hand with a branch / tag of erupts/erupt) pulls it, regenerates every language's code and opens a pull request. Each language's workflow fails on a generated file that no longer matches schema/ and runs the conformance suite; databases runs every SDK's SQL repository against real PostgreSQL and MySQL. A pull request opened with the workflow token does not trigger other workflows: close and reopen it (or push to its branch) to run them.

Releasing

One tag per language publishes that package after its CI passes; see RELEASING.md.