Infopi
InfoPi Information server application
Install / Use
/learn @yktoo/InfopiREADME
InfoPi Information server application
InfoPi is a single-page web application that displays various live data, like weather forecast and train departure times. The application is developed with Angular and can be packaged with the Electron browser to make an all-in-one executable bundle.
My own implementation was crafted for Raspberry Pi running Raspbian Bullseye and a full HD monitor (1920×1080 pixels) in the portrait orientation, but it will (supposedly) run on any platform that Electron supports and properly adapt itself to a broad range of resolutions.
This is how the information page looks like:

Dependencies
In order to build the package you will need:
Getting started
- Run in the terminal:
# Clone the git repository
git clone https://github.com/yktoo/infopi.git
# Install NPM modules
cd infopi
npm install
# Copy the sample configuration
cp src/environments/config.sample.ts src/environments/config.ts
- If you plan to use train information, request an NS API key here.
- Edit the file
src/environments/config.tsyou copied on step1and update values in it. Also put the NS API key there if you have one.
The file provides some sane initial values, like refresh intervals. You are encouraged to change stuff like the weather station or bus stop as you see fit. - Test the application:
npm run electron
You should see a new browser window started in the kiosk mode (use <kbd>Ctrl+Q</kbd> to exit or <kbd>Ctrl+Shift+I</kbd> to open Developer Tools and diagnose problems).
Packaging
To create a .deb package for your current architecture run npm run package.
To create a package for Raspberry Pi run npm run package:rpi.
The packages will be created as dist/installers/infopi_XXX_YYY.deb
Installing
Once you have a .deb, copy it onto your Raspberry Pi and install using:
sudo dpkg -i infopi_XXX_YYY.deb
To test your setup, run infopi from the command line or use the Application menu launcher created by the package.
Finishing touch
In order to make InfoPi start at bootup, you can add the following commands to ~/.config/lxsession/LXDE-pi/autostart:
# InfoPi app
infopi
License
See LICENSE.
Credits
- Angular
- Chart.js
- ng2-charts
- xml-js
- Weather Icons
- Electron, electron-packager and electron-installer-debian
Data providers
- Weather info: Buienradar.nl
- Train info: Nederlandse Spoorwegen
- Bus info: openOV
- News: BBC
- Sensors: home automation server instance of OpenHAB.
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
