{"id":28213239,"url":"https://github.com/nodetec/comet","last_synced_at":"2026-04-12T02:05:39.991Z","repository":{"id":238244239,"uuid":"763236842","full_name":"nodetec/comet","owner":"nodetec","description":"☄️ Markdown notes that start private. Encrypted when they travel. Decentralized when you publish.","archived":false,"fork":false,"pushed_at":"2026-04-02T06:08:17.000Z","size":11655,"stargazers_count":69,"open_issues_count":18,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-03T04:52:58.022Z","etag":null,"topics":["blossom","lexical","nostr","react","rust","sqlite","tauri","typescript"],"latest_commit_sha":null,"homepage":"https://comet.md","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodetec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"AGENTS.md","dco":null,"cla":null},"funding":{"github":["nodetec","christianchiarulli","jchiarulli"],"patreon":"chrisatmachine"}},"created_at":"2024-02-25T22:23:23.000Z","updated_at":"2026-04-02T06:08:21.000Z","dependencies_parsed_at":"2024-09-17T07:17:37.888Z","dependency_job_id":"1346fbcb-c4a1-4fd6-8ed3-b28352225016","html_url":"https://github.com/nodetec/comet","commit_stats":null,"previous_names":["nodetec/captains-log","nodetec/comet"],"tags_count":172,"template":false,"template_full_name":null,"purl":"pkg:github/nodetec/comet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodetec%2Fcomet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodetec%2Fcomet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodetec%2Fcomet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodetec%2Fcomet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodetec","download_url":"https://codeload.github.com/nodetec/comet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodetec%2Fcomet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["blossom","lexical","nostr","react","rust","sqlite","tauri","typescript"],"created_at":"2025-05-17T20:10:18.968Z","updated_at":"2026-04-06T08:00:51.158Z","avatar_url":"https://github.com/nodetec.png","language":"TypeScript","funding_links":["https://github.com/sponsors/nodetec","https://github.com/sponsors/christianchiarulli","https://github.com/sponsors/jchiarulli","https://patreon.com/chrisatmachine"],"categories":[],"sub_categories":[],"readme":"# comet\n\nComet is a local-first notes app built with Tauri, React, TypeScript, and Rust.\n\n- Local-first note-taking\n- Encrypted sync with Nostr\n- Encrypted blob storage with Blossom\n- Turborepo monorepo with the app in `app/`\n\n## Quick Start\n\n1. Install `just`: `brew install just` or `cargo install just`\n2. Install dependencies: `just install`\n3. Start the app: `just app-dev`\n\n## Commands\n\nThe full command surface lives in [justfile](/Users/chris/Repos/project/comet/justfile). Use `just --list` to see everything.\n\nCommon commands:\n\n- `just app-dev`: run the Comet app in development\n- `just app-seed`: seed the app account with the fixture note set\n- `just app-seed-account`: seed only the app account, without notes or attachments\n- `just docs-dev`: run the standalone docs site in development\n- `just docs-build`: build the standalone docs site\n- `just docs-check`: run the standalone docs verification suite\n- `just app-check`: run the main app verification suite\n- `just relay-dev`: run the relay in development\n- `just blossom-dev`: run the Blossom server in development\n- `just relay-test`: run the relay test suite\n- `just blossom-test`: run the Blossom test suite\n- `just format-check`: check formatting across the repo\n\nComet keeps a root `app.db` plus per-account databases under `accounts/\u003cnpub\u003e/comet.db`. The maintenance scripts and MCP server always resolve the active account through `app.db`.\n\n## Seed Data\n\nThe app seed workflow uses a fixed seed identity from `app/.env` so repeated runs target the same account.\n\n1. Copy [`app/.env.example`](/Users/chris/Repos/project/comet/app/.env.example) to `app/.env`\n2. Set `COMET_SEED_NSEC` to the seed account secret you want to reuse\n3. Run `just app-seed` for the full fixture dataset, or `just app-seed-account` to create only the seeded account workspace\n\n`just app-seed-account` skips note fixtures, blob metadata, and attachment installation, but it still creates and activates the seeded account database.\n\n## Repo Layout\n\n- [`app`](/Users/chris/Repos/project/comet/app): the Comet app workspace\n- [`app/src`](/Users/chris/Repos/project/comet/app/src): React frontend\n- [`app/src-tauri`](/Users/chris/Repos/project/comet/app/src-tauri): Tauri + Rust backend\n- [`blossom`](/Users/chris/Repos/project/comet/blossom): Bun-based Blossom server workspace\n- [`docs`](/Users/chris/Repos/project/comet/docs): Astro Starlight docs site\n- [`relay`](/Users/chris/Repos/project/comet/relay): Bun-based Nostr relay workspace\n- [`packages/data`](/Users/chris/Repos/project/comet/packages/data): shared Postgres schema and migrations\n- [`packages/nostr`](/Users/chris/Repos/project/comet/packages/nostr): shared Nostr validation/auth helpers\n\n## Workspace\n\n- Root scripts use Turborepo for workspace tasks like `build`, `lint`, `typecheck`, and `test`\n- The app source, Vite config, and Tauri project live in [`app`](/Users/chris/Repos/project/comet/app)\n- The docs source and Starlight content live in [`docs`](/Users/chris/Repos/project/comet/docs)\n\n## Testing Notes\n\n- `just app-test-frontend` runs the frontend test suite\n- `just app-test-backend` runs the Rust test suite\n- `just app-test` runs both\n\nRelay and Blossom development use Bun. Install Bun if you plan to run commands under [`relay`](/Users/chris/Repos/project/comet/relay) or [`blossom`](/Users/chris/Repos/project/comet/blossom). The default app workflows such as `just app-build` and `just app-check` do not require Bun.\n\nRelay and Blossom test suites use Postgres. Set `TEST_DATABASE_URL` or run a local `comet_test` database before `just relay-test` or `just blossom-test`.\n\nUse a disposable local test database only. Relay and Blossom integration tests run migrations and truncate shared tables during setup, so do not point `TEST_DATABASE_URL` at a real app, staging, or production database.\n\n### Local Postgres setup\n\nOne working local setup on macOS is:\n\n```sh\nbrew install postgresql@16\nbrew services start postgresql@16\ncreatedb comet_test\nexport TEST_DATABASE_URL=postgres://$USER@localhost:5432/comet_test\n```\n\nThen run:\n\n```sh\njust relay-test\njust blossom-test\n```\n\nIf you already have Postgres running, you usually only need:\n\n```sh\ncreatedb comet_test\nexport TEST_DATABASE_URL=postgres://$USER@localhost:5432/comet_test\n```\n\n## Git hooks\n\nThis repo uses Husky + lint-staged for a pre-commit hook on staged files. After `just install`, the hook is installed automatically via the `prepare` script.\n\nOn commit, staged files run through:\n\n- `eslint --fix` and `prettier --write` for `*.ts` and `*.tsx`\n- `prettier --write` for `*.js`, `*.mjs`, `*.cjs`, `*.json`, `*.md`, `*.yml`, and `*.yaml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodetec%2Fcomet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodetec%2Fcomet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodetec%2Fcomet/lists"}