{"id":51281448,"url":"https://github.com/francopocatino/decks","last_synced_at":"2026-06-30T02:01:56.603Z","repository":{"id":363416648,"uuid":"1263266675","full_name":"francopocatino/decks","owner":"francopocatino","description":"Notes organized by context for macOS — a SwiftUI app and Rust CLI","archived":false,"fork":false,"pushed_at":"2026-06-08T21:18:04.000Z","size":333,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-08T21:22:54.216Z","etag":null,"topics":["cli","macos","notes","productivity","rust","swift","swiftui"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/francopocatino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-08T19:36:58.000Z","updated_at":"2026-06-08T21:19:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/francopocatino/decks","commit_stats":null,"previous_names":["francopocatino/decks"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/francopocatino/decks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francopocatino%2Fdecks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francopocatino%2Fdecks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francopocatino%2Fdecks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francopocatino%2Fdecks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francopocatino","download_url":"https://codeload.github.com/francopocatino/decks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francopocatino%2Fdecks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34949234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","macos","notes","productivity","rust","swift","swiftui"],"created_at":"2026-06-30T02:01:53.806Z","updated_at":"2026-06-30T02:01:56.583Z","avatar_url":"https://github.com/francopocatino.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/AppIcon-1024.png\" width=\"120\" alt=\"Decks\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eDecks\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Notes for macOS, organized by context — built so the things you switch between never bleed into each other, with deep Claude integration.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/francopocatino/decks/actions/workflows/ci.yml/badge.svg\" alt=\"CI\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License: MIT\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/macOS-15%2B-black.svg\" alt=\"macOS 15+\"\u003e\n\u003c/p\u003e\n\nEach project or context you switch between is a *deck*. A deck holds four sections:\n\n- **Daily** — a dated log for standups and things to bring up.\n- **To-dos** — what to do or review, with a checkbox.\n- **Notes** — a free markdown scratchpad: decisions, people, context.\n- **Links** — quick access to repos, dashboards and docs.\n\nOpen the app, pick the deck, and you are back where you left off — instead of digging through one giant notes file. Daily and Notes render markdown with an edit/preview toggle.\n\n## Install\n\n```\ngit clone https://github.com/francopocatino/decks\ncd decks\n./scripts/install.sh        # builds Decks.app and installs it to /Applications\n```\n\nThat builds a native `Decks.app`, installs it, and launches it. Right-click the Dock icon and choose Options \u003e Keep in Dock. To run from source instead: `swift run --package-path app`.\n\n## What it does\n\n- Native macOS app (SwiftUI), no Electron.\n- One deck per project or context, with rename / archive / delete, drag-to-reorder, and a sidebar that shows open to-do counts.\n- Sub-decks: nest projects under a parent (one level). A sub-deck inherits the parent's connector, commit email, git provider and instructions when its own are empty, and sees the parent's links — to-dos and dailies stay per sub-deck.\n- Split the deck into panes (two columns, or a stacked pair beside a third) so you can keep, say, the daily and notes side by side with your to-dos.\n- Live sync: edits from the CLI or an agent show up in the open app within a second or two.\n- Per-deck identity: git provider and commit email, project folders, which connector the deck uses, and AI instructions (language, daily format, tone). Secrets live in the macOS Keychain.\n- Connectors: Claude or OpenAI power Ask; GitHub/GitLab tokens for the worklog. Configured in Settings, separated into AI and Git, secrets in the Keychain.\n- Ask this deck: an in-app chat scoped to one deck, with persistent memory.\n- A Rust CLI and an MCP server so Claude can read and write your decks.\n- Worklog: turn a day's git commits into a daily entry.\n- In-app update check; releases published on `v*` tags.\n\n## Claude integration (MCP)\n\n`decks-mcp` is an MCP server that exposes every deck operation as a tool, addressed by deck id. Register one global server:\n\n```\ncargo install --path cli                 # puts decks + decks-mcp on PATH\nclaude mcp add decks -- ~/.cargo/bin/decks-mcp\n```\n\nThen ask Claude — in Claude Code or Claude Desktop — to operate any deck by name:\n\n- \"add a to-do to acme: review the deploy\"\n- \"fill the daily of nexus with what we did this session\"\n- \"archive invicto\"\n\n`decks mcp-config` prints the ready-to-paste config. To keep an account isolated, register a server **scoped** to one deck in that account's client only: `decks-mcp --deck \u003cslug\u003e` — it can never see another deck. The account boundary is which client/login you register the server in.\n\n## Ask this deck (in-app AI)\n\nEach deck has an Ask panel (the sparkles button) — a chat scoped to that deck. It answers only from that deck's own to-dos, daily, notes and links, keeps a persistent history, and uses that deck's connector. A deck's chat never sees another deck's content or connector. In-app chat needs an API-key connector — Claude or OpenAI (set in Settings, Cmd+,); Claude login-mode decks use Claude Code through the MCP server instead.\n\nEach deck also carries free-form AI instructions (in deck settings) — language, daily format, tone. Ask prepends them to its system prompt, and Claude reads them from `show_deck` over the MCP server, so a daily drafted in one deck comes out in English bullets while another comes out in Spanish prose, per deck.\n\n## CLI\n\nThe CLI reads and writes the same files as the app, and is the surface meant for automation.\n\n```\ncd cli\ncargo run -- list                       # decks with open to-do counts\ncargo run -- new \"Acme\"                 # create a deck\ncargo run -- add acme \"review PR 214\"   # add a to-do\ncargo run -- done acme 0                # toggle a to-do\ncargo run -- note acme \"use sqlite\"     # append a note\ncargo run -- daily acme \"shipped auth\"  # add a dated daily entry\ncargo run -- show acme --json           # machine-readable output\n```\n\nAlso: `link`/`unlink`, `remove`/`edit` (to-do), `reorder`/`set-parent`/`rename`/`archive`/`unarchive`/`delete` (deck), `worklog`, `which`. Every action is exposed as an MCP tool too.\n\n## Worklog\n\n`decks worklog \u003cslug\u003e` scans the deck's folders for git repositories, collects today's commits filtered to the deck's commit email, and prepends them to the daily log. A repo whose `origin` remote doesn't match the deck's git provider is skipped, so one context's commits never land in another's worklog. If the deck points at a GitHub or GitLab connector, it also adds today's pull/merge requests you authored — the token is read from the macOS Keychain. `decks which \u003cpath\u003e` resolves a path to the deck whose folder contains it — together they make a Claude Code SessionEnd hook so each coding session captures itself into the right deck. Install it with:\n\n```\ndecks hook install        # adds the SessionEnd hook to ~/.claude/settings.json (decks hook uninstall removes it)\n```\n\nIt runs `deck=$(decks which \"$CLAUDE_PROJECT_DIR\"); [ -n \"$deck\" ] \u0026\u0026 decks worklog \"$deck\"` — a no-op in projects that don't belong to a deck.\n\n## How it stores data\n\nEverything is plain files under `~/.decks` (override with `DECKS_DIR`): JSON for structured data, markdown for free text. The on-disk format is the only contract between the app and the CLI — see [docs/format.md](docs/format.md).\n\n## Automation\n\nShortcuts (including Focus automations) and SSH from the iPhone or Watch can drive Decks through the CLI — recipes in [docs/automation.md](docs/automation.md).\n\n## Development\n\n```\nswift build  --package-path app                                  # app\ncargo build  --manifest-path cli/Cargo.toml                      # cli + mcp\ncargo test   --manifest-path cli/Cargo.toml\ncargo fmt    --manifest-path cli/Cargo.toml --check\ncargo clippy --manifest-path cli/Cargo.toml --all-targets -- -D warnings\n```\n\nCI runs all of the above on every pull request. Changes go through a branch and a pull request; commits are atomic; English only.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancopocatino%2Fdecks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancopocatino%2Fdecks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancopocatino%2Fdecks/lists"}