Skip to content
JHZLOPublic

About

The desk for your engineering day: to-dos and time blocks, markdown notes, ERDs synced from MySQL and AI-written daily reports. Local-first macOS app on the Claude Code and Codex CLIs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Amber Amber

platform version rust-gpui byo-ai license

The desk for your engineering day.
Plan the day in to-dos and time blocks, think it through in markdown notes, read every schema as an ERD
synced from your database, and let AI write the day up. Local-first, on the Claude Code and Codex CLIs you already pay for.

Everything lives on your machine as plain text. No server, no accounts, no API keys stored. Korean and English UI — AI output follows your UI language, or a language you pick.

One day in Amber: the to-do card with a group and checked items, the daily report under it, and the calendar, day summary and timetable in the right column

At a glance

Workspace What it does
✅ To-dos & timetable The day’s to-do card up front, with the calendar, a day summary and a time-blocking grid beside it. Per-day or per-week lists, Korean public holidays and time-off marks.
📝 Notes Real markdown files in real folders. Live preview, scroll-spy TOC, inline AI Q&A, and AI edits scoped to a sentence, a section or the whole note — always as a reviewable diff.
🗄️ ERD Connect MySQL and every schema you pick is drawn from a read-only snapshot, without AI. Choose what each card shows, find any table or column, and see what changed on the next sync.
📊 Diagrams Flowcharts and sequence diagrams you edit by dragging, on a whiteboard, with a Mermaid code panel that converts both ways. Plain Mermaid .mmd files render on a pan/zoom canvas too.
📋 Daily & weekly reports The AI writes your day as “problem → fix” from your to-dos, GitHub activity and local Claude Code / Codex sessions. Weekly rolls the dailies up into Notion-ready text.

Works fully without AI — notes, diagrams, to-dos and database sync never need a connection.

Features

✅ To-dos & day timetable

The day’s to-do card takes the room; a column beside it holds the calendar, a short summary of the day (done, planned hours, what’s in the drawer, what’s coming) and the timetable. Drag its edge to make it wider, and scroll over it to slide the calendar away so the timetable fills the column.

The checklist nests without limit and reorders by drag across levels, and a per-week list holds things that have no day yet. Top-level items with children read as headed groups with their own progress, and anything that isn’t for today can be parked in the drawer and pulled back later. Overdue items show above the day and come over in one click. The calendar drills up to month and year pickers, marks weekends and Korean public holidays (computed offline — lunar table plus substitute-holiday rules, no API key), and lets you mark a day as time off. The timetable is Google-Calendar-style: drag to create time blocks (15-minute snap), drag or resize to adjust, hold ⌥ to plan on top of an existing block, day/week/month views and a live “now” line.

The day's to-do card with a release group, three items checked and a progress bar, beside the calendar, the day summary and the timetable

📝 Markdown notes

Real folders and files are the source of truth — point the notes tree at any folder on disk (a git repo, an Obsidian vault) and switch between recent ones like Open Folder in an IDE. Edit with a live side-by-side preview (⌘S to save), read with a scroll-spy table of contents, and find in the page with ⌘F. Rendering understands GFM, GitHub-style > [!NOTE] alert blocks, <details> / <summary> toggles that fold into cards, syntax-highlighted code blocks framed as macOS windows, [[1-2]] jumps to a numbered section, and mermaid fences (even ones that forgot the mermaid tag).

AI where you point. Select any sentence to ask about it — answers live in a sidecar file and show as Notion-style highlights, never bloating the note; every question on a note is also collected into one list. Ask the AI to fix just the passage you dragged, one or several sections you pick, or the whole note. Long results stream in live and every edit arrives as a git-style diff you review before it touches the file. Saved prompts sit one click away as chips.

Safe with other tools. Saves are atomic, deletes go to the Trash, and if Obsidian, vim or git changed the file while you had it open, Amber tells you before overwriting.

A markdown note with a diagram, highlighted questions, a code block and an AI question thread open beside the outline

✨ Write with AI

Tell the AI what the note should cover, or leave the box empty and pick from your saved prompts: each chip adds one instruction, and the eye icon shows the full prompt before you use it. Point it at reference folders (a service repo, a docs folder) and it reads them read-only before writing. An empty note is written from scratch; an existing one is expanded in its own style and structure.

The draft writes in the background. Close the window and keep working; a banner, a dot on the note in the tree and a dot on the rail tell you when it is ready. The result lands as an editor draft you review and save with ⌘S, never straight into the file.

The Write note with AI dialog with an instruction box, saved prompt chips and reference folders

🗄️ ERD from your database

Connect a MySQL database the DataGrip way (host, port, user), with the password stored only in the macOS Keychain (never in Amber’s DB, files or logs). The ERD tab lists each connection with the schemas you picked and their tables. Amber reads information_schema in a read-only session, keeps a schema.json snapshot per schema and draws it with resin deterministically, without AI. There is no ERD file to keep in step: the snapshot is the source. Logical references (order_id → orders) are inferred from names, comments and suffixes, and Envers *_aud audit tables fold away unless you turn them on.

The drawing reads top to bottom, as cards on a dotted whiteboard. One View button holds the rest: every column, keys only or names only; which parts of a row to show (key, tags, description, type, null); vertical or horizontal; angular or curved lines. Click a table for its columns in a side panel, click a column for its details, find any table or column with ⌘F, or switch to Overview for the counts, a searchable table list and the references Amber could not resolve.

Sync again and a banner says what changed since the last snapshot: tables and columns added, removed or changed. Production connections carry a “Production” badge everywhere and ask for confirmation on first connect. Connection status shows as a live green dot in the tree and in Settings › Databases.

The ERD tab drawing a demo shop schema top to bottom, with the orders table's columns, indexes and references open in the side panel

📊 Diagram studio

Flowcharts you draw by hand (.flow). Drag a node to move it, drag a dot on its edge to connect, double-click to rename, or double-click empty space for a new step. Boxes, rounded steps, decisions and databases sit on the toolbar (R O D B), Tidy up lays the graph out again, and lines go angular or curved. Open the Code panel to paste or type a Mermaid flowchart: it turns into nodes you can drag, and the positions you set stay when you edit the code again.

Sequence diagrams you edit by dragging (.seq). Drag a participant sideways to reorder columns, a message up or down to change the order, or from one lifeline to another to add a message. Calls, replies and async messages, notes, numbered steps, and opt / loop / alt / par groups you move by their tab. The Code panel reads and writes Mermaid sequenceDiagram.

Both formats are plain text that reads like the picture and diffs cleanly in git. Plain Mermaid .mmd files still render on a pan and zoom canvas, with table search and focus for ERDs, and a flowchart or sequence .mmd opens in the drag editor with one click. Paste raw CREATE TABLE DDL and the AI turns it into a house-style ERD.

A checkout flowchart on the dotted whiteboard, with the shape toolbar below and the Mermaid code panel open beside it

📋 Daily & weekly reports

One click at the bottom of a day’s checklist and the AI writes what you actually did — as problem → fix, not a list of PR links. The to-dos are the backbone; evidence comes from the sources you enable and rank in Settings › Daily report: your GitHub activity feed through the gh CLI (pushes with commit messages, pull requests, reviews, issues, releases — with an account picker and an optional repo filter) and your local Claude Code and Codex session logs, so the work you delegated to an agent is in the report too. Slack and Notion can be added through MCP servers already registered in Claude Code (read-only; write tools are denied). Generation runs in the background, survives tab switches, can be stopped, and the result is a markdown file you can edit by hand.

Switch the calendar to week and a weekly report rolls that week’s daily reports up into the nested plain-text format that pastes cleanly into Notion.

A daily report card with GitHub and AI session source chips, a Done today section and a Next section

⚙️ One settings window

Everything is set in one place, grouped in a sidebar: AI (which CLI to use, sign-in status, model and response language), Prompts (the saved instructions that show up as chips), Daily report (which sources to read and in what order), Databases (connections and their status), CLI (the Macs allowed to drive Amber from a terminal) and Appearance (theme and UI language). Backups and the data folder sit at the bottom of every tab.

Settings with a sidebar of tabs and the AI tab open, Claude Code connected

Also in the box

  • Quick search — ⌘K (or ⌘P) searches note and diagram names and bodies in one box; ⌘F finds within the current screen, including tables and columns on a diagram or ERD canvas
  • A command line for agents — connect a Mac in Settings › CLI, then amber erd sync <connection> re-reads schemas from a terminal or an AI agent while the app shows the result
  • Sign in without leaving the app — when a CLI token expires, Amber opens the login flow for Claude Code and Codex in a modal (the code goes straight to the CLI’s stdin; Amber stores nothing)
  • Pick the model per provider, and stop any AI run mid-way
  • Korean & English UI — from your system language, switchable in Settings › Appearance; the AI response language can follow the UI or be fixed separately
  • Light / dark theme — follows the system, one-click toggle in the top bar
  • Lives in the menu bar — closing the window hides it; the menu-bar icon brings it back
  • Resizable panes — drag the divider in every two-pane view; each view remembers its own width
  • Safe deletes — files go to the macOS Trash, not into the void
  • One-click backup — Back up in Settings exports a consistent snapshot of your vault, any custom folders and the database. Don’t copy amber.db by hand: it runs in WAL mode, so a raw copy of a running database can miss recent writes
  • Open the data folder from Settings whenever you want to see the files yourself

Keyboard shortcuts

Main window
⌘1 – ⌘4 Switch workspace (To-dos, Notes, ERD, Diagrams)
⌘K / ⌘P Quick search across the vault
⌘F Find in the current screen / diagram or ERD canvas
⌘S Save the note, diagram or report you’re editing
⌘, Settings
Esc Close modal · leave full screen · deselect

Supported AI CLIs

Amber connects to the AI CLIs you already use — it auto-detects them from your login shell PATH on first launch and reuses each CLI’s login session. No API keys are ever stored in the app.

CLI Streaming In-app sign-in Notes
Claude Code ✓ ✓ Required for Slack / Notion report sources (uses its MCP servers)
OpenAI Codex CLI ✓ ✓ (browser callback)

How your data is stored

Local-first, files-first. Long-form content is plain Markdown/text owned by the filesystem; only volatile metadata (to-dos, time blocks, report metadata, connection profiles, settings) lives in SQLite.

~/Library/Application Support/dev.jhzlo.amber/
├── amber.db                          # metadata — to-dos, time blocks, reports, DB connections, settings
└── vault/
    ├── notes/**/*.md                 # notes (+ *.comments.json for the questions asked on a note)
    ├── diagrams/**/*.{flow,seq,mmd}  # flowcharts, sequence diagrams, mermaid sources
    ├── erd/**/schema.json            # database snapshots the ERD tab draws from
    └── reports/<date>.md             # daily reports (+ <week-start>-week.md weekly)

Notes and diagrams don’t have to live here — the folder picker in each tree header opens any local folder as that workspace’s root, and the backup includes those folders too. Database passwords are in the macOS Keychain, not in any of these files.

Install

Amber is distributed as source — clone and build it yourself. Tags are the releases; GitHub serves a tarball for each one.

Requirements

  • macOS with the Xcode Command Line Tools
  • Rust from rustup — the repo pins its toolchain, so rustup fetches the right rustc on the first build
  • Node.js 20+, to run the build script
  • Optional, for AI features: one or more of the CLIs above, installed and logged in
  • Optional, for reports: gh logged in; for database sync: a MySQL account that can read information_schema

Set up the toolchain (once)

xcode-select --install                                          # Apple build tools (clang, git)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh  # Rust: rustup, rustc and cargo

Open a new terminal afterwards so cargo is on your PATH.

Build and install

git clone https://github.com/JHZLO/amber && cd amber
node scripts/build-app.mjs      # the first build compiles everything and takes a few minutes
ditto gpui/target/release/bundle/Amber.app /Applications/Amber.app

Then open Amber from Applications, Spotlight or Launchpad like any other app. An app you built on your own Mac isn’t quarantined, so it opens without a Gatekeeper warning even though it isn’t signed.

Update

The installed app doesn’t update itself: every new tag means building again. Pull the latest source and rebuild:

git pull
node scripts/build-app.mjs

Quit Amber (⌘Q), then swap the app:

rm -rf /Applications/Amber.app && ditto gpui/target/release/bundle/Amber.app /Applications/Amber.app

Your data doesn’t live inside the app. Notes, diagrams, to-dos and settings stay in ~/Library/Application Support/dev.jhzlo.amber/, so replacing the app keeps everything. To stay on a specific release instead of the latest commit, check out its tag (git checkout v0.24.28) before building.

Develop

The app is pure Rust on GPUI in gpui/. Run cargo from inside that folder so its pinned toolchain applies:

cd gpui
cargo run --bin amber-gpui      # development build
cargo test                      # unit tests and the UI test bench

The development build reads and writes the same data folder as the installed app, so don’t run both at the same time. Pass -- --db <copy>/amber.db to run it against a copy of your data.

First launch shows an onboarding that auto-detects installed AI CLIs.

License

MIT

About

The desk for your engineering day: to-dos and time blocks, markdown notes, ERDs synced from MySQL and AI-written daily reports. Local-first macOS app on the Claude Code and Codex CLIs.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages