Skip to content

v0.1.0

Latest

Choose a tag to compare

@ZtaMDev ZtaMDev released this 07 Jul 20:57

RailUI v0.1.0 Initial Release

Write reactive single-page applications entirely in Python. RailUI compiles Python DSL directly into vanilla JavaScript/HTML/CSS no Node.js, no JS framework, no runtime interpreter.
Features

  • Pure Python DSL Operator overloading turns count() + 1 into JavaScript AST at compile time
  • Reactive Signals createSignal, createStore, useComputed, createEffect with push-based reactivity
  • Component System 15+ built-in components: Container, Button, Input, Show, Each, Form, Link, Image, Head, Suspense, Slot/SlotFill, and more
  • Server Actions @server_action decorator generates auto fetch() RPC calls. Chain with .then(lambda res: ...)
  • File-Based Routing Drop .py in pages/, get a route. Supports dynamic [id] segments
  • SPA Router History API client-side navigation, scoped effects, lifecycle hooks
  • Two-Way Binding bind=signal on inputs
  • Tailwind-like CSS 150+ utility classes compiled at build time
  • Web Animations 12 pre-built WAAPI helpers: fade_in, slide_in_up, spin, bounce, shake, pulse, etc.
  • JS Bridge 30+ utilities: log, alert, navigate, local_storage_set, on_mount, on_destroy, event_value, and more
  • JS Namespaces Math, JSON, Object, window, document, Array.append/prepend/remove/concat
  • HMR Dev server with SSE-based hot reload
  • FastAPI Backend Dev server + production server for server actions
  • Zero Runtime Output is ~1KB of vanilla JS. No framework shipped to browser
  • Deployment Railway (full-stack with actions), Vercel (static SPA), or any static host