{"id":18917717,"url":"https://github.com/daimajia/huntscreens","last_synced_at":"2025-04-04T13:04:01.570Z","repository":{"id":246986424,"uuid":"812173286","full_name":"daimajia/huntscreens","owner":"daimajia","description":"Take screenshots of each new project on Producthunt, YC, and Indiehackers, explore with Ease.","archived":false,"fork":false,"pushed_at":"2024-10-11T10:23:54.000Z","size":3189,"stargazers_count":227,"open_issues_count":1,"forks_count":36,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T12:03:20.791Z","etag":null,"topics":["indiehackers","producthunt","products","screenshot"],"latest_commit_sha":null,"homepage":"https://huntscreens.com","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/daimajia.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}},"created_at":"2024-06-08T06:31:42.000Z","updated_at":"2025-03-28T09:33:18.000Z","dependencies_parsed_at":"2024-11-08T10:41:20.792Z","dependency_job_id":null,"html_url":"https://github.com/daimajia/huntscreens","commit_stats":{"total_commits":379,"total_committers":2,"mean_commits":189.5,"dds":0.0395778364116095,"last_synced_commit":"e2bdf4768feabce47b79cb3a913d1a1909f8d606"},"previous_names":["daimajia/huntscreens"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2Fhuntscreens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2Fhuntscreens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2Fhuntscreens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daimajia%2Fhuntscreens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daimajia","download_url":"https://codeload.github.com/daimajia/huntscreens/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247175208,"owners_count":20896238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["indiehackers","producthunt","products","screenshot"],"created_at":"2024-11-08T10:27:40.336Z","updated_at":"2025-04-04T13:04:01.551Z","avatar_url":"https://github.com/daimajia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [HuntScreens.com](https://huntscreens.com?ref=github)\n\nThe best way to explore the ProductHunt. Capture every new featured product!\n\n[![](https://shot.huntscreens.com/huntscreens.com.png)](https://huntscreens.com?ref=github)\n\n#### Background story\n\nOne day, I felt that browsing ProductHunt wasn't very intuitive, so I quickly made a small project using NextJs. It takes screenshots of each new project on ProductHunt, so now I can quickly browse through them every day and easily see if there's anything interesting to me without having to read a lot of text and click around.\n\n## Getting Started\n\n### Tech stacks\n\n- [Next.js](https://nextjs.org/docs) \n- [Shadcn](https://ui.shadcn.com/)  UI framework based on Tailwind.\n\n- [Supabase](https://supabase.com/) Managed postgres database.\n- [Drizzle](https://orm.drizzle.team/docs/overview) Database ORM.\n- [Logto.io](https://logto.io/) Fully open sourced Auth solution.\n- [Triggerdev v2.0](https://trigger.dev/docs/documentation/introduction) Background jobs.\n- [Resend](https://resend.com/) Email service.\n- [React Email](https://react.email/) Write emails without pain.\n- [ScreenshotOne](https://screenshotone.com/) Screenshot Api.\n- [Cloudflare R2](https://developers.cloudflare.com/r2/) Image storage.\n- [Umami](https://umami.is/) Website Analytics\n- [Koyeb](https://www.koyeb.com/) Paas Service.\n\nBefore deployment, make sure you know all the services or tools above clearly. It may take some time.\n\n### Env Variables\n\n```sh\n# setup trigger api key and endpoint url.\n# https://trigger.dev/\n\nTRIGGER_API_KEY=\nTRIGGER_API_URL=\nNEXT_PUBLIC_TRIGGER_PUBLIC_API_KEY=\n\n# setup Producthunt API access token\n# https://api.producthunt.com/v2/docs\n\nPH_ACCESS_TOKEN=\n\n# setup postgres database url.\n# https://supabase.com\n\nDATABASE_URL=\n\n# setup screenshot one api.\n# !remember to setup s3 extension on ScreenshotOne.\n# https://screenshotone.com/\n\nSCREENSHOTONE_ACCESS_KEY=\nSCREENSHOTONE_SIGNED_KEY=\n\n# setup resend email service api\n# https://resend.com\n\nRESEND_KEY=\nRESEND_AUDIENCE_ID=\n\n\n# cloudflare r2 endpoint url.\n\nNEXT_PUBLIC_CLOUDFLARE_R2=\n\n# setup Logto user authentication\n# https://logto.io\n\nLOGTO_APPID=\nLOGTO_APP_SECRET=\nLOGTO_BASE_URL=\nLOGTO_COOKIE_SECRET=\nLOGTO_ENDPOINT=\n```\n\nAfter Env vars, generate and migrate the database table:\n\n```bash\npnpm db:generate\npnpm db:migrate\n```\n\nafter migration, run the following sql at supabase or from any postgres client, to create table view:\n\n```sql\n\ncreate view\n  sortedphs as\nselect\n  row_number() over (\n    order by\n      added_at desc\n  ) as row_no,\n  *\nfrom\n  producthunt\nwhere\n  webp = true;\n\n```\n\nafter that, run the dev server.\n\n```bash\npnpm i\npnpm run dev\n```\n\nopen another terminal, run the trigger service.\n\n```bash\npnpm triggerdev\n```\n\nIf you want to create email template, open a new terminal, and run:\n\n```bash\npnpm email dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n\n## What's Next?\n* [ ] screenshot YC companies\n\nYou can view all the dev plan on [this Kanban](https://github.com/users/daimajia/projects/4/views/1).\n\nAny idea or bugs? [Submit issues](https://github.com/daimajia/huntscreens/issues) or [leave a comment on my twitter](https://twitter.com/daimajia/status/1808315790720180516) !\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaimajia%2Fhuntscreens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaimajia%2Fhuntscreens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaimajia%2Fhuntscreens/lists"}