{"id":32807671,"url":"https://github.com/ayltai/bentopi","last_synced_at":"2026-04-14T18:32:26.580Z","repository":{"id":322706106,"uuid":"1090584577","full_name":"ayltai/BentoPi","owner":"ayltai","description":"BentoPi is a multi-purpose self-hosted dashboard for your Raspberry Pi","archived":false,"fork":false,"pushed_at":"2025-11-05T22:23:22.000Z","size":346,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-05T23:33:06.112Z","etag":null,"topics":["disruption","humidity-sensor","news","raspberrypi","temperature-sensor","tfl","weather-forecast"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ayltai.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-11-05T21:33:44.000Z","updated_at":"2025-11-05T22:23:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ayltai/BentoPi","commit_stats":null,"previous_names":["ayltai/bentopi"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ayltai/BentoPi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2FBentoPi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2FBentoPi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2FBentoPi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2FBentoPi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayltai","download_url":"https://codeload.github.com/ayltai/BentoPi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayltai%2FBentoPi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283037048,"owners_count":26768591,"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","status":"online","status_checked_at":"2025-11-06T02:00:06.180Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["disruption","humidity-sensor","news","raspberrypi","temperature-sensor","tfl","weather-forecast"],"created_at":"2025-11-06T16:01:59.576Z","updated_at":"2026-04-14T18:32:26.574Z","avatar_url":"https://github.com/ayltai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BentoPi\n\nBentoPi is a multi-purpose, self-hosted dashboard designed for Raspberry Pi. It provides real-time information such as weather, news, and transport disruptions, making it ideal for home automation, information kiosks, or personal dashboards.\n\nThe target is a 3.5\" 480x320 touchscreen attached to a Raspberry Pi Zero 2 W, but it can run on any Raspberry Pi model with minor adjustments.\n\n## Goals \u0026 Purpose\n\n- **Self-hosted**: All data is processed and displayed locally on your Raspberry Pi.\n- **Dashboard**: Aggregates weather, news, transport information, and security camera feeds in a single interface.\n- **Extensible**: Easily add new data sources or dashboard widgets.\n- **Modern UI**: Built with React and Ant Design for a responsive, user-friendly experience.\n- **API Backend**: FastAPI-based backend for data aggregation and sensor integration.\n\n## Project Structure\n\n- `frontend/`: React + TypeScript dashboard UI.\n- `backend/`: FastAPI Python backend serving APIs and static files.\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js \u003e= 22 and pnpm \u003e= 10 for frontend. This project targets Node.js v22 by default as it is the latest LTS version that supports 32-bit ARM architecture commonly used by Raspberry Pi Zero 2 W.\n- Python \u003e= 3.10 for backend. This project targets Python 3.13 by default as it is the version bundled with Raspberry Pi OS Lite (Trixie).\n\n### Running the Frontend (Development)\n\n```sh\ncd frontend\npnpm i\npnpm start\n```\n\n- Access the dashboard at `http://localhost:5173` (default Vite port).\n\n### Running the Backend (Development)\n\n```sh\ncd backend\nmake venv\nsource venv/bin/activate\nmake upgrade\nmake\n```\n\n- Backend API runs at `http://localhost:8000`.\n\n### Building the Frontend for Production\n\n```sh\ncd frontend\npnpm build\n```\n\n- The build output will be placed in `frontend/dist/`.\n\n### Running the Backend with Production Frontend\n\n1. Build the frontend as above.\n2. The build output will be automatically copied to the backend's web directory (automated in Docker build).\n3. Start the backend:\n\n```sh\ncd backend\nmake venv\nsource venv/bin/activate\nmake upgrade\nmake prod\n```\n\n- Access the dashboard at `http://localhost:8000/web`.\n\n### Docker\n\nBuild and run the complete system using Docker:\n\n```sh\ncd backend\ndocker build -t bentopi .\ndocker run -p 8000:8000 bentopi\n```\n\n## Development Notes\n\n- **Frontend**: Hot-reloading, TypeScript, React 19, Ant Design 5.\n- **Backend**: FastAPI, CORS enabled, sensor integration via SMBus.\n- **Testing**: Run `pnpm test` in frontend, `make test` in backend.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayltai%2Fbentopi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayltai%2Fbentopi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayltai%2Fbentopi/lists"}