oghunt
oghunt copied to clipboard
oghunt uses AI to remove the AI listings from Product Hunt launches
oghunt
oghunt uses AI to remove the AI listings from today's Product Hunt launches.
What's inside?
This Turborepo includes the following packages/apps:
Apps and Packages
web: a Next.js app powering oghunt
Utilities
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- Biome for code linting and formatting
Build
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build
Development
This is what you need to get up and running
-
Create a ProductHunt account. Then, go to your API Dashboard. Afterwards, create an application. Set the redirect URI to
https://localhost:3000for local development purposes. Then, generate aDeveloper Token. -
Generate a Gemini API key:
- Go to Google AI Studio
- Create a new API key
- Copy the key for use in your environment variables
-
Create a
.envfile similar to .env.example with the following variables:CRON_SECRET: Set to whatever you'd like locallyDATABASE_URL: Set to"postgresql://dev:dev@localhost:5432/oghunt"GEMINI_API_KEY: Your Gemini API key from step 2PRODUCTHUNT_TOKEN: Your ProductHunt Developer Token from step 1
-
Start the database:
docker compose up -d
-
With the docker container running in the background, install dependencies and set up the database:
pnpm ipnpm db:push(only needed once to push these changes to the local DB)pnpm dev
-
Seed the database:
- Send a GET request to
http://localhost:3000/api/ingest-posts - Include the header:
Authorization: Bearer CRON_SECRETwhereCRON_SECRETmatches your.envvalue
- Send a GET request to
Please feel free to check out our architecture diagram in Excalidraw.
Team
- Lead Developer: Pizza
- Product Owner: Pati
- Project Manager: Hacksore
- Senior Lead Developer: Jim
- Tech Consultant: Trash
- Algorithm Specialist: 🐝
- Database Engineer: Overclock
- Knows HTML: Chad
- Lead 404 Engineer: Shane
- Lead UI/UX Engineer: Boston
- System Architect: Max
- Data Scientist: TypeSafe
- Data Visualization: Nathan
- Senior Lead Frontend Developer: Jean
- Human Resources: Metalface
- Scrum Leader: Aodhan
- 👑✨💅 Our Glorious Lead Tailwind Engineer: PicklNik
- Civil Engineering Lead: Mark