{"id":19401446,"url":"https://github.com/qmi03/funny_ai_iot_capstone_project","last_synced_at":"2026-04-09T18:37:47.851Z","repository":{"id":237982001,"uuid":"794457032","full_name":"qmi03/funny_ai_iot_capstone_project","owner":"qmi03","description":"iot school project","archived":false,"fork":false,"pushed_at":"2024-05-20T22:55:25.000Z","size":16726,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T12:13:12.168Z","etag":null,"topics":["asyncio","fastapi","microbit","mongodb","mqtt","mqtt-client","python","react","tailwind","tailwindcss","typescript","websocket","wsgi"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/qmi03.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-05-01T07:55:59.000Z","updated_at":"2024-05-20T22:55:29.000Z","dependencies_parsed_at":"2024-05-03T19:31:24.499Z","dependency_job_id":"e9b2ff6d-cfae-4a74-8696-66e7b10f89f0","html_url":"https://github.com/qmi03/funny_ai_iot_capstone_project","commit_stats":null,"previous_names":["quangminh031126/funny_ai_iot_capstone_project","qmi03/funny_ai_iot_capstone_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qmi03%2Ffunny_ai_iot_capstone_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qmi03%2Ffunny_ai_iot_capstone_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qmi03%2Ffunny_ai_iot_capstone_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qmi03%2Ffunny_ai_iot_capstone_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qmi03","download_url":"https://codeload.github.com/qmi03/funny_ai_iot_capstone_project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576485,"owners_count":19823293,"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":["asyncio","fastapi","microbit","mongodb","mqtt","mqtt-client","python","react","tailwind","tailwindcss","typescript","websocket","wsgi"],"created_at":"2024-11-10T11:18:34.497Z","updated_at":"2026-04-09T18:37:42.825Z","avatar_url":"https://github.com/qmi03.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nThis is a smarthome school project. It has some iot and ai inference.\n\n# System Architecture\n![System Architecture](./public/system_architecture.jpg)\n# Requirements\n\n1. node (Can use nvm to version management, I'm using nvm --lts so it's node v20.12.1 (npm v10.5.0))\n2. python\n3. docker compose\n\n# Run\n## Backend + Database\n1. `docker compose up` or `docker-compose up` (whatever works for you)\n2. `cd app`\n3. Create a virtual environment if needed, then `pip install -r requirements.txt`\n4. Create the .env file from .env.example. And fill in the fields.\n5. Run backend: `fastapi dev app.py --host 0.0.0.0 --port 8000`\n6. Initialize the rooms in the database: `python database/scripts/init_light.py`\n7. Modify database/scripts/init_camera_links.py for the camera links you want for your app. Then run python database/scripts/init_camera_links.py\n## Frontend\n1. `cd smarthome`\n2. Install dependencies, use: `yarn` or `npm install`.\n3. Create the .env file from .env.example. And fill in the fields.\n4. Run the frontend: `yarn dev` (add `--host` to expose ip).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqmi03%2Ffunny_ai_iot_capstone_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqmi03%2Ffunny_ai_iot_capstone_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqmi03%2Ffunny_ai_iot_capstone_project/lists"}