{"id":50425037,"url":"https://github.com/rocicorp/zero-music","last_synced_at":"2026-05-31T10:01:32.674Z","repository":{"id":328414912,"uuid":"1099198678","full_name":"rocicorp/zero-music","owner":"rocicorp","description":"Barebones music-themed playground, using Zero/Tanstack Start/Drizzle.","archived":false,"fork":false,"pushed_at":"2026-05-12T06:11:10.000Z","size":632,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"0-start","last_synced_at":"2026-05-12T08:17:36.828Z","etag":null,"topics":["sync"],"latest_commit_sha":null,"homepage":"https://zero.rocicorp.dev/docs/install","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rocicorp.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":"2025-11-18T17:37:00.000Z","updated_at":"2026-05-12T06:10:48.000Z","dependencies_parsed_at":"2026-01-06T19:04:55.250Z","dependency_job_id":null,"html_url":"https://github.com/rocicorp/zero-music","commit_stats":null,"previous_names":["rocicorp/onboarding","rocicorp/zero-music"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rocicorp/zero-music","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Fzero-music","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Fzero-music/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Fzero-music/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Fzero-music/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocicorp","download_url":"https://codeload.github.com/rocicorp/zero-music/tar.gz/refs/heads/0-start","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocicorp%2Fzero-music/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33726719,"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-05-31T02:00:06.040Z","response_time":95,"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":["sync"],"created_at":"2026-05-31T10:01:32.113Z","updated_at":"2026-05-31T10:01:32.665Z","avatar_url":"https://github.com/rocicorp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zero Music\n\nThis repo is a small, self-contained playground for the Zero [tutorial](https://zero.rocicorp.dev/docs/tutorial).\n\n## Branches\n\n- `0-start`: starting point (intentionally incomplete; you'll see `TODO`s - [view `0-start` on GitHub](https://github.com/rocicorp/zero-music/tree/0-start), or `git switch 0-start`)..\n- `1-install`: end state after completing the installation guide ([view `1-install` on GitHub](https://github.com/rocicorp/zero-music/tree/1-install), or `git switch 1-install`).\n- `2-deploy`: final state after adding Docker Compose ([view `2-deploy` on GitHub](https://github.com/rocicorp/zero-music/tree/2-deploy), or `git switch 2-deploy`).\n\n## Repo tour\n\n- `apps/web`: TanStack Start app (UI + API routes).\n- `packages/db`: Drizzle DB schema + Postgres migrations/seed data.\n- `packages/zero`: Zero schema, queries, and mutators.\n\n### Key files\n\n- Drizzle schema: [packages/db/src/drizzle.ts](packages/db/src/drizzle.ts)\n- Seed data: [./migrations/0000_seed_music.sql](migrations/0000_seed_music.sql)\n- Zero schema: [packages/zero/src/schema.ts](packages/zero/src/schema.ts)\n- Queries + mutators: [packages/zero/src/queries.ts](packages/zero/src/queries.ts), [packages/zero/src/mutators.ts](packages/zero/src/mutators.ts)\n- Query/mutate endpoints: [apps/web/src/routes/api/query.ts](apps/web/src/routes/api/query.ts), [apps/web/src/routes/api/mutate.ts](apps/web/src/routes/api/mutate.ts)\n- Example client usage: [apps/web/src/routes/index.tsx](apps/web/src/routes/index.tsx)\n\n## Run it (optional)\n\nPrereqs: Bun + Docker.\n\n- Copy env file: `cp .env.example .env`\n- Install deps: `bun install`\n- In one terminal, start Postgres (includes schema + seed data): `docker compose up`\n- In another terminal, start the web app: `bun dev`\n\nOn `1-install`, the `zero-cache-dev` command will also be run when you run `bun dev`. It defaults to running on `http://localhost:4848` but can be configured via the `VITE_ZERO_SERVER` environment variable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocicorp%2Fzero-music","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocicorp%2Fzero-music","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocicorp%2Fzero-music/lists"}