A lightweight journal that runs on the Arduino UNO Q with Arduino App Lab.
Write journal entries in a clean web interface and save them locally on the
board in a SQLite database (via the dbstorage_sqlstore brick).
- Write an entry (optional title + date + body) and press Save entry.
- Entries are stored in
journal.dbon the board's local storage. - View all saved entries, newest first.
- Delete an entry with the Delete button.
- Real-time updates: every open browser is kept in sync over WebSocket.
app.yaml— manifest declaring the two Bricks used:arduino:dbstorage_sqlstore— local SQLite storage.arduino:web_ui— serves the journal web interface fromassets/.
python/main.py— backend logic:- Creates the
journaltable (id,date,timestamp,title,body). - Exposes
GET /api/entriesto list entries. - Handles
save_entryanddelete_entryWebSocket messages. - Broadcasts the refreshed entry list to all clients after a change.
- Creates the
assets/— the web interface (index.html,style.css,app.js) plus the Socket.IO client libraries inassets/libs/.
- Open the project in Arduino App Lab with your UNO Q connected.
- Click Run (top-right).
- When the App is running, open the web UI (via App Lab's Open App button or the address shown in the console).
- Write an entry and hit Save entry.
app.yaml # App manifest + Bricks
python/main.py # Backend: storage + Web UI handlers
assets/index.html # Journal interface
assets/style.css # Styling
assets/app.js # Frontend logic
assets/libs/ # arduino.js + socket.io client libs
sketch/ # Optional sketch (unused by this app)