Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BentoPi is a multi-purpose self-hosted dashboard for your Raspberry Pi

License

NotificationsYou must be signed in to change notification settings

ayltai/BentoPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BentoPi 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.

Goals & Purpose

  • Self-hosted: All data is processed and displayed locally on your Raspberry Pi.
  • Dashboard: Aggregates weather, news, and transport information in a single interface.
  • Extensible: Easily add new data sources or dashboard widgets.
  • Modern UI: Built with React and Ant Design for a responsive, user-friendly experience.
  • API Backend: FastAPI-based backend for data aggregation and sensor integration.

Project Structure

  • frontend/: React + TypeScript dashboard UI.
  • backend/: FastAPI Python backend serving APIs and static files.

Getting Started

Prerequisites

  • Node.js >= 22 and pnpm >= 10 for frontend.
  • Python >= 3.10 for backend.

Running the Frontend (Development)

cd frontendpnpm ipnpm start
  • Access the dashboard athttp://localhost:5173 (default Vite port).

Running the Backend (Development)

cd backendmake venvsource venv/bin/activatemake upgrademake
  • Backend API runs athttp://localhost:8000.

Building the Frontend for Production

cd frontendpnpm build
  • The build output will be placed infrontend/dist/.

Running the Backend with Production Frontend

  1. Build the frontend as above.
  2. The build output will be automatically copied to the backend's web directory (automated in Docker build).
  3. Start the backend:
cd backendmake venvsource venv/bin/activatemake upgrademake prod
  • Access the dashboard athttp://localhost:8000/web.

Docker

Build and run the complete system using Docker:

cd backenddocker build -t bentopi.docker run -p 8000:8000 bentopi

Development Notes

  • Frontend: Hot-reloading, TypeScript, React 19, Ant Design 5.
  • Backend: FastAPI, CORS enabled, sensor integration via SMBus.
  • Testing: Runpnpm test in frontend,make test in backend.

License

MIT

About

BentoPi is a multi-purpose self-hosted dashboard for your Raspberry Pi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp