Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

😀 MyJournal

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

What it does

  • Write an entry (optional title + date + body) and press Save entry.
  • Entries are stored in journal.db on 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.

How it works

  • app.yaml — manifest declaring the two Bricks used:
    • arduino:dbstorage_sqlstore — local SQLite storage.
    • arduino:web_ui — serves the journal web interface from assets/.
  • python/main.py — backend logic:
    • Creates the journal table (id, date, timestamp, title, body).
    • Exposes GET /api/entries to list entries.
    • Handles save_entry and delete_entry WebSocket messages.
    • Broadcasts the refreshed entry list to all clients after a change.
  • assets/ — the web interface (index.html, style.css, app.js) plus the Socket.IO client libraries in assets/libs/.

Run it

  1. Open the project in Arduino App Lab with your UNO Q connected.
  2. Click Run (top-right).
  3. When the App is running, open the web UI (via App Lab's Open App button or the address shown in the console).
  4. Write an entry and hit Save entry.

Project layout

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)

About

Keep a journal on your Arduino device

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages