{"id":50139249,"url":"https://github.com/hotframe/hotframe","last_synced_at":"2026-05-24T00:05:26.784Z","repository":{"id":356826937,"uuid":"1234204570","full_name":"hotframe/hotframe","owner":"hotframe","description":"Modular Python web framework with hot-mount dynamic modules and stateful WebSocket-driven LiveComponents.","archived":false,"fork":false,"pushed_at":"2026-05-19T22:15:52.000Z","size":2067,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-20T01:37:48.324Z","etag":null,"topics":["fastapi","jinja2","live-component","plugin-system","python","server-rendered","sqlalchemy","web-framework","websocket"],"latest_commit_sha":null,"homepage":"https://hotframe.dev","language":"Python","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/hotframe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2026-05-09T22:05:02.000Z","updated_at":"2026-05-19T22:15:56.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hotframe/hotframe","commit_stats":null,"previous_names":["hotframe/hotframe"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hotframe/hotframe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotframe%2Fhotframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotframe%2Fhotframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotframe%2Fhotframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotframe%2Fhotframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hotframe","download_url":"https://codeload.github.com/hotframe/hotframe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hotframe%2Fhotframe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33416317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"ssl_error","status_checked_at":"2026-05-23T22:14:43.778Z","response_time":53,"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":["fastapi","jinja2","live-component","plugin-system","python","server-rendered","sqlalchemy","web-framework","websocket"],"created_at":"2026-05-24T00:05:26.042Z","updated_at":"2026-05-24T00:05:26.747Z","avatar_url":"https://github.com/hotframe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/hotframe/hotframe/main/logo.png\" alt=\"hotframe\" width=\"200\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eModular Python web framework with hot-mount dynamic modules and stateful, WebSocket-driven LiveComponents.\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.python.org/downloads/\"\u003e\u003cimg src=\"https://img.shields.io/badge/python-3.12+-blue.svg\" alt=\"Python 3.12+\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-Apache%202.0-green.svg\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.org/project/hotframe/\"\u003e\u003cimg src=\"https://img.shields.io/pypi/v/hotframe.svg\" alt=\"PyPI\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://hotframe.dev\"\u003e\u003cstrong\u003ehotframe.dev\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## What hotframe is\n\nhotframe is a Python web framework that combines FastAPI, SQLAlchemy 2.0, and Jinja2 under Django-like ergonomics. It adds two pieces:\n\n- **A hot-mount module engine** — install, activate, deactivate, and uninstall plugins at runtime without restarting the process.\n- **`LiveComponent`** — stateful, server-rendered components driven by a single WebSocket per page. Server holds the state; the client streams events and applies HTML patches with `morphdom`. No client-side framework, no build step.\n\n## Install\n\n```bash\npip install hotframe\n```\n\n## Quickstart\n\n```bash\nhf startproject myapp\ncd myapp\nhf runserver\n```\n\n```\nINFO  hotframe.bootstrap   Application started in 142ms\nINFO  uvicorn.error        Uvicorn running on http://127.0.0.1:8000\n```\n\n## A LiveComponent in 30 seconds\n\n```python\n# modules/todo/components/todo_list/component.py\nfrom hotframe.live import LiveComponent, event\nfrom modules.todo.models import Todo\n\nclass TodoList(LiveComponent):\n    user_id: int                      # prop\n    items: list = []                  # state\n    new_text: str = \"\"\n\n    async def on_mount(self) -\u003e None:\n        self.items = await Todo.where(user_id=self.user_id).all()\n\n    @event(\"toggle\")\n    async def toggle(self, todo_id: str) -\u003e None:\n        t = next(t for t in self.items if str(t.id) == todo_id)\n        t.done = not t.done\n        await t.save()\n\n    @event(\"add\")\n    async def add(self) -\u003e None:\n        if not self.new_text.strip():\n            return\n        await Todo.create(user_id=self.user_id, text=self.new_text)\n        self.items = await Todo.where(user_id=self.user_id).all()\n        self.new_text = \"\"\n```\n\n```jinja\n{# modules/todo/components/todo_list/template.html #}\n\u003cul\u003e\n{% for todo in items %}\n  \u003cli\u003e\n    \u003cinput type=\"checkbox\" {% if todo.done %}checked{% endif %}\n           data-on:click=\"toggle:{{ todo.id }}\"\u003e\n    {{ todo.text }}\n  \u003c/li\u003e\n{% endfor %}\n\u003c/ul\u003e\n\u003cform data-on:submit=\"add\"\u003e\n  \u003cinput data-bind=\"new_text\"\u003e\n  \u003cbutton type=\"submit\"\u003eAdd\u003c/button\u003e\n\u003c/form\u003e\n```\n\n```jinja\n{# any page template #}\n{% extends \"shared/base.html\" %}\n{% block body %}\n  {% live \"todo_list\" user_id=user.id %}\n{% endblock %}\n```\n\nThat's it. Click the checkbox — the server toggles the todo, sends an HTML patch back, the DOM updates without a page reload, and the dev wrote zero JavaScript.\n\n## Documentation\n\nFull docs, guides and live examples at **[hotframe.dev](https://hotframe.dev)**.\n\n## License\n\nApache License 2.0 — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotframe%2Fhotframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhotframe%2Fhotframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhotframe%2Fhotframe/lists"}