{"id":22535282,"url":"https://github.com/tony-artz/htmx-fastapi","last_synced_at":"2026-04-09T11:01:16.598Z","repository":{"id":266744506,"uuid":"899220267","full_name":"Tony-ArtZ/htmx-fastapi","owner":"Tony-ArtZ","description":"This project is a challenge to create a complete website using a unique stack combination","archived":false,"fork":false,"pushed_at":"2024-12-05T21:29:23.000Z","size":2154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T07:12:59.579Z","etag":null,"topics":["fastapi","htmx","jinja2","postgresql","python","sass","sqlalchemy","unicorn"],"latest_commit_sha":null,"homepage":"","language":"SCSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tony-ArtZ.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-12-05T20:56:37.000Z","updated_at":"2024-12-05T21:30:32.000Z","dependencies_parsed_at":"2024-12-05T22:36:04.439Z","dependency_job_id":null,"html_url":"https://github.com/Tony-ArtZ/htmx-fastapi","commit_stats":null,"previous_names":["tony-artz/htmx-fastapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tony-ArtZ%2Fhtmx-fastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tony-ArtZ%2Fhtmx-fastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tony-ArtZ%2Fhtmx-fastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tony-ArtZ%2Fhtmx-fastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tony-ArtZ","download_url":"https://codeload.github.com/Tony-ArtZ/htmx-fastapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978280,"owners_count":20703678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","htmx","jinja2","postgresql","python","sass","sqlalchemy","unicorn"],"created_at":"2024-12-07T10:07:00.964Z","updated_at":"2025-10-07T11:36:20.725Z","avatar_url":"https://github.com/Tony-ArtZ.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weird Stack Challenge Website\n\nThis project is a challenge to create a complete website using a unique stack combination:\n\n- **HTMX** for frontend interactions\n- **Jinja Templates** for HTML rendering\n- **FastAPI** as the backend framework\n- **SASS** for styling\n- **PostgreSQL** as the database\n- **SQLAlchemy** for ORM\n- **Websockets** for real-time group chat functionality\n\n## Features\n\n1. **Authentication Pages**  \n   - Login and Register pages built with HTMX and Jinja templates.\n   \n2. **Group Chat**  \n   - A real-time chat page using Websockets, with HTMX handling dynamic content updates.\n\n## Setup Instructions\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Tony-ArtZ/htmx-fastapi\n   cd htmx-fastapi\n   ```\n\n2. Install the required dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Set the database URL:  \n   Open `models.py` and update the `DATABASE_URL` with your PostgreSQL connection string.\n\n4. Run the application:\n   ```bash\n   uvicorn main:app --reload\n   ```\n\n5. Access the application at:\n   ```\n   http://127.0.0.1:8000\n   ```\n\n## Project Structure\n```\npython-htmx\n├── auth_router.py\n├── db.py\n├── dependency.py\n├── main.py\n├── models.py\n├── readme.md\n├── requirements.txt\n├── schema.py\n└── static\n    ├── images\n    │   ├── bg.jpg\n    │   ├── logo.png\n    │   └── welcome.png\n    ├── index.html\n    ├── stylesheets\n    │   ├── style.css\n    │   ├── style.css.map\n    │   └── style.scss\n    └── templates\n        ├── about.html\n        ├── auth.html\n        ├── errors.html\n        ├── home.html\n        ├── login.html\n        ├── message.html\n        └── register.html\n```\n\n## Weird Stack, Cool Experience!\n\nEnjoy exploring this unconventional tech stack for a fun, fully functional website!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-artz%2Fhtmx-fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftony-artz%2Fhtmx-fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftony-artz%2Fhtmx-fastapi/lists"}