{"id":44313634,"url":"https://github.com/doors-dev/doors","last_synced_at":"2026-02-11T04:33:14.351Z","repository":{"id":308568069,"uuid":"1007130430","full_name":"doors-dev/doors","owner":"doors-dev","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-31T16:14:08.000Z","size":1162,"stargazers_count":30,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-01T03:45:12.808Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://doors.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doors-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-COMMERCIAL.txt","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-06-23T14:04:12.000Z","updated_at":"2025-11-03T08:24:06.000Z","dependencies_parsed_at":"2025-09-28T14:00:28.206Z","dependency_job_id":null,"html_url":"https://github.com/doors-dev/doors","commit_stats":null,"previous_names":["doors-dev/doors"],"tags_count":73,"template":false,"template_full_name":null,"purl":"pkg:github/doors-dev/doors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doors-dev%2Fdoors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doors-dev%2Fdoors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doors-dev%2Fdoors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doors-dev%2Fdoors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doors-dev","download_url":"https://codeload.github.com/doors-dev/doors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doors-dev%2Fdoors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"last_error":"SSL_read: 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-02-11T04:33:13.524Z","updated_at":"2026-02-11T04:33:14.346Z","avatar_url":"https://github.com/doors-dev.png","language":"Go","funding_links":[],"categories":["Web Frameworks","Go"],"sub_categories":["Utility/Miscellaneous"],"readme":"# doors\n\nBack-end UI Framework for feature-rich, secure, and fast web apps in Go.\n\n⚠️ **Beta - Not Ready for Production**\n\n## Getting Started\n\n* See the [Tutorial](https://doors.dev/tutorial/) for building your first doors application.\n* Read the [Docs](https://doors.dev/docs/) to dive into details.\n* Check out the [API Reference](https://docs.doors.dev).\n\n## Philosophy \n\n### Explicid\nBuild direct connections between events, state, and HTML in a completely type-safe environment. *It hits different*.\n\n### Lightweight \nFast loading, non-blocking execution environment, minimal memory footprint\n\n### Server Centric\nBusiness logic runs on the server, and the browser acts like a human I/O. \n\n### Straight\nNative experience of classic MPA with natural reactive UI capabilities.\n\n### JS friendly\nIf you need - integration, bundling, and serving tools included.\n\n## How It Works\n\n### Stateful Server + Ultra-Thin Client\n\n\u003e API-free architecture\n\n1. **User loads page** → Server creates instance and sets session cookie\n2. **Server maintains state** → Live representation of each user's page\n3. **Persistent connection** → Lightweight client syncs with server\n4. **Events flow up** → User interactions sent to Go handlers\n5. **Updates flow down** → Server sends specific DOM changes\n\n\n### Core Components\n\n**Door** - Dynamic container in HTML where content can change:\n\n- Update, Replace, Remove, Clear, Reload operations\n- Form a tree structure, where each branch has its own lifecycle\n- Provides local [context](https://pkg.go.dev/context) that can be used as an unmount hook.\n\n**Beam** - Reactive state primitive on the server:\n\n- SourceBeam for mutable state\n- Derived beams for computed values\n- Respects the dynamic container tree, guaranteeing render consistency\n\n**Path Models** - Type-safe routing through Go structs:\n\n- Declare multiple path variants (the matched field becomes true)\n* Use type-safe parameter capturing \n* Use splat parameter to capture the remaining path tail\n* Use almost any types for query parameters ([go-playground/form](https://github.com/go-playground/form) under the hood)\n\n### Instance and Session Model\n\n- Each browser tab creates an **instance** (live server connection)\n- Multiple instances share a **session** (common state)\n- Navigation within same Path Model: reactive updates\n- Navigation to different Path Model: new instance created\n\n### Real-Time Sync Protocol\n\n- Client maintains a connection for synchronization via short-lived, handover HTTP requests\n- Works through proxies and firewalls\n- Takes advantage of QUIC\n\n### Event Handling\n- Secure session-scoped DOM event handeling in Go \n- Events as separate HTTP requests\n- Advanced concurrency control (blocking, debounce, and more)\n\n\n## When to use *doors*\n\n**Excellent for:**\n- SaaS products\n- Business process automation (ERP, CRM, etc)\n- Administrative interfaces\n- Customer portals\n- Internal tools \n- Other form-heavy applications\n\n**Not ideal for:**\n- Public marketing websites with minimal interactivity\n- Offline-first applications\n- Static content sites\n\n## Comparison\n\nUnlike **React/Vue**: No business logic on the client side, no hydration, NPM-free.\n\nUnlike **htmx**: Full type safety, reactive state, and programmatic control from Go.\n\nUnlike **Phoenix LiveView**: Explicit update model, parallel rendering \u0026 non-blocking event handling and QUIC friendly\n\n## License\n\n*doors* is source-available under the **Business Source License 1.1 (BUSL-1.1)** from **doors dev LLC**.\n\n- **Free for development** (non-production)  \n- **Free for non-commercial production** (personal, education, research, non-profit) — optional pay-what-you-want support  \n- **Commercial production** requires a paid license (lifetime, no subscription)\n\nEach version of doors automatically converts to **AGPL-3.0** after 4 years.\n\nTo purchase a license, visit [https://doors.dev](https://doors.dev).  \nFor Enterprise terms, you may also contact [sales@doors.dev](mailto:sales@doors.dev).\n\n### Full License Texts\n\n- [LICENSE.txt](./LICENSE.txt) — BUSL with parameters  \n- [LICENSE-COMMERCIAL.txt](./LICENSE-COMMERCIAL.txt) — Commercial license summary  \n- [COMMERCIAL-EULA.md](./COMMERCIAL-EULA.md) — Full commercial terms  \n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoors-dev%2Fdoors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoors-dev%2Fdoors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoors-dev%2Fdoors/lists"}