{"id":50694000,"url":"https://github.com/decoded-cipher/watch_bro","last_synced_at":"2026-06-09T05:06:21.609Z","repository":{"id":345436569,"uuid":"1185882310","full_name":"decoded-cipher/watch_bro","owner":"decoded-cipher","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-19T03:57:09.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-19T18:36:43.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/decoded-cipher.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":null,"dco":null,"cla":null}},"created_at":"2026-03-19T03:13:38.000Z","updated_at":"2026-03-19T03:57:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/decoded-cipher/watch_bro","commit_stats":null,"previous_names":["decoded-cipher/watch_bro"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/decoded-cipher/watch_bro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decoded-cipher%2Fwatch_bro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decoded-cipher%2Fwatch_bro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decoded-cipher%2Fwatch_bro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decoded-cipher%2Fwatch_bro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decoded-cipher","download_url":"https://codeload.github.com/decoded-cipher/watch_bro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decoded-cipher%2Fwatch_bro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34092349,"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-09T02:00:06.510Z","response_time":63,"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":[],"created_at":"2026-06-09T05:06:20.836Z","updated_at":"2026-06-09T05:06:21.593Z","avatar_url":"https://github.com/decoded-cipher.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# movie-bot\n\nPersonal Telegram bot for tracking movies and TV shows. Type a name, tap watched, done.\n\n## Stack\n\n- **Runtime** — Cloudflare Workers\n- **Framework** — Hono\n- **Database** — Cloudflare D1 (via Drizzle ORM)\n- **Cache** — Cloudflare KV (search sessions, 10 min TTL)\n- **Data** — TMDB API\n\n## Usage\n\nSend any movie or show name as a message. The bot returns results one at a time with poster, rating, cast, and genre info.\n\n- **👁 Watched** — logs it to your watch history\n- **Not this one ➡️** — skip to the next result\n- **/watched** — see your last 10 watches\n- **/help** — show usage info\n\n## Setup\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/)\n- [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/)\n- A [Telegram bot token](https://core.telegram.org/bots#botfather)\n- A [TMDB API key](https://developer.themoviedb.org/)\n\n### 1. Install dependencies\n\n```sh\nnpm install\n```\n\n### 2. Create Cloudflare resources\n\n```sh\nwrangler d1 create cipher_movie_bot\nwrangler kv namespace create KV\n```\n\nUpdate `wrangler.toml` with the IDs from above.\n\n### 3. Set secrets\n\n```sh\nwrangler secret put BOT_TOKEN\nwrangler secret put TMDB_API_KEY\n```\n\n### 4. Run migrations\n\n```sh\nnpm run db:migrate:local   # local dev\nnpm run db:migrate:remote  # production\n```\n\n### 5. Deploy\n\n```sh\nnpm run deploy\n```\n\n### 6. Set webhook\n\n```\nhttps://api.telegram.org/bot\u003cBOT_TOKEN\u003e/setWebhook?url=https://\u003cworker-url\u003e/webhook\n```\n\n## Project Structure\n\n```\nindex.js           — Hono app, webhook routing\nsrc/handlers.js    — command + callback handlers\nsrc/schema.js      — Drizzle table definitions\ndrizzle/           — SQL migrations\nwrangler.toml      — Workers + D1 + KV config\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecoded-cipher%2Fwatch_bro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecoded-cipher%2Fwatch_bro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecoded-cipher%2Fwatch_bro/lists"}