{"id":41758170,"url":"https://github.com/zot/ui-engine","last_synced_at":"2026-04-01T23:14:12.703Z","repository":{"id":334102201,"uuid":"1123327925","full_name":"zot/ui-engine","owner":"zot","description":"hot-loadable agnostic ui package for desktop apps and rapid prototyping","archived":false,"fork":false,"pushed_at":"2026-02-01T04:56:56.000Z","size":928,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-01T15:53:52.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-26T16:36:04.000Z","updated_at":"2026-02-01T04:56:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zot/ui-engine","commit_stats":null,"previous_names":["zot/ui-engine"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/zot/ui-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zot%2Fui-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zot%2Fui-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zot%2Fui-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zot%2Fui-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zot","download_url":"https://codeload.github.com/zot/ui-engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zot%2Fui-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-25T02:02:46.100Z","updated_at":"2026-04-01T23:14:12.693Z","avatar_url":"https://github.com/zot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ui-engine\n\n**Version: 0.21.0**\n\n**Objects present themselves. You write HTML templates.**\n\nThis is not your grandfather's web framework. Traditional frameworks build UIs from pages, routes, and components. ui-engine builds UIs from **objects that present themselves**—a `Contact` renders as a detail view, a list row, an editor, or a dropdown option depending on context. Same object, different presentations.\n\n```\nContact object → presents as:\n  ├── Contact.DEFAULT.html      (full detail view)\n  ├── Contact.list-item.html    (compact row)\n  └── Contact.option.html       (dropdown option)\n```\n\nNo frontend JavaScript. No API layers. No state management. Objects ARE the state.\n\n## How It Works\n\n```lua\n-- Backend: domain objects + presenters\nContact = {type = \"Contact\"}\nfunction Contact:fullName()\n    return self.firstName .. \" \" .. self.lastName\nend\n\nContactPresenter = {type = \"ContactPresenter\"}\nfunction ContactPresenter:delete()\n    app:removeContact(self.contact)\nend\n```\n\n```html\n\u003c!-- Frontend: just HTML templates with bindings --\u003e\n\u003cinput ui-value=\"firstName\"\u003e\n\u003cspan ui-value=\"fullName()\"\u003e\u003c/span\u003e\n\u003cbutton ui-action=\"save()\"\u003eSave\u003c/button\u003e\n```\n\nModify objects directly. UI updates automatically. No plumbing required.\n\n## Quick Start\n\n```bash\n./build/ui-engine-demo --port 8000 --dir demo\n```\n\nOpen http://localhost:8000 to see the Contact Manager demo.\n\nSee [demo/README.md](demo/README.md) for details.\n\n## Documentation\n\n- **[USAGE.md](USAGE.md)** — Complete guide: bindings, events, path properties, ViewList, namespaces\n- **[TRADEOFFS.md](TRADEOFFS.md)** — When to use ui-engine vs traditional web architecture\n- **[demo/](demo/README.md)** — Working examples (Contact Manager, Simple Adder)\n\n## Key Features\n\n- **Declarative bindings** — `ui-value`, `ui-action`, `ui-view`, `ui-html`, `ui-attr-*`, `ui-class-*`\n- **Automatic change detection** — no observer pattern, no boilerplate\n- **Hot-reloading** — edit backend code or templates, see changes instantly (state preserved)\n- **ViewList** — automatic presenter wrapping for collections\n- **Namespace system** — multiple views per type (list-item, detail, etc.)\n\n## Best For\n\n- **Desktop applications** — Electron-style apps without the complexity\n- **Internal tools** — Admin panels, dashboards, dev tools\n- **Kiosk/embedded UIs** — Local displays, point-of-sale, industrial HMI\n- **Rapid prototyping** — Get from idea to working UI in minutes\n\nThe reactive WebSocket architecture assumes low latency between client and server, making it ideal for local or LAN deployments rather than internet-scale web apps.\n\n## Current Focus\n\nEmbedded Lua backend for the [frictionless](https://github.com/zot/frictionless) project. The architecture supports other backends (Go, proxied external programs) but Lua is the priority.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzot%2Fui-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzot%2Fui-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzot%2Fui-engine/lists"}