Hydranium: Growing Your Language Server into a Modeling Server
summary
Hydranium is an alpha MIT framework that turns a Langium-based language server into a multi-client modeling server: it exposes LSP for text, a data head CRUD protocol for forms and generators, and a GLSP head for diagrams, all sharing a live model that syncs edits (including dirty state) before save. Demo runs fully in-browser with local storage, logging, and a CLI to scaffold browser, VS Code and Theia hosts. It provides default conflict-reconciliation, plugin points for custom strategies, and integrity rules for automatic model repair (e.g., auto-rename duplicate tasks).
AI-written summary · about
chapters (17)
- 0:00Introduction to Hydranium
- 1:08Starting with text-based modeling
- 3:39Language server limitations
- 5:48Introducing Hydranium framework
- 8:55Extensibility and future heads
- 9:17Example with three languages
- 10:41Live demo setup
- 13:11Multi-client synchronization
- 15:40Handling complex models
- 16:41Conflict resolution strategies
- 17:24Model extensions and integrity rules
- 19:33Developer API overview
- 21:43Hydra concept and next steps
- 22:25What Hydranium doesn't do
- 24:10Getting started with CLI
- 25:13Acknowledgments and credits
- 25:55Q&A: Integrity rules vs static analysis
