{"id":28352289,"url":"https://github.com/runpod/poddy","last_synced_at":"2026-02-24T06:05:48.453Z","repository":{"id":265681444,"uuid":"737146404","full_name":"runpod/poddy","owner":"runpod","description":"Discord bot for the RunPod community server.","archived":false,"fork":false,"pushed_at":"2025-10-06T17:21:09.000Z","size":799,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-06T18:41:37.401Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/runpod.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":"2023-12-30T01:07:08.000Z","updated_at":"2025-04-02T03:01:25.000Z","dependencies_parsed_at":"2024-11-30T13:56:50.312Z","dependency_job_id":"9a040460-af9e-4861-af37-3a7042abbdc2","html_url":"https://github.com/runpod/poddy","commit_stats":null,"previous_names":["runpod/poddy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/runpod/poddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fpoddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fpoddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fpoddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fpoddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runpod","download_url":"https://codeload.github.com/runpod/poddy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runpod%2Fpoddy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005552,"owners_count":26083918,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":"2025-05-27T23:06:16.855Z","updated_at":"2025-10-10T23:19:05.014Z","avatar_url":"https://github.com/runpod.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poddy\n\nWelcome to the repository for Poddy, a Discord bot created to help the Runpod community server function.\n\n## Self Hosting\n\n### Prerequisites\n\n- Node.js `v20` or higher\n- PNPM package manager\n\n### Quick Start\n\n1. Install dependencies:\n   ```bash\n   pnpm install\n   ```\n\n2. Set up environment files:\n   - Duplicate `.env.example` to `.env.dev`\n   - Modify all values accordingly\n\n3. Generate Prisma clients:\n   ```bash\n   pnpx prisma generate                                   # Generate main database client\n   pnpx prisma generate --schema=prisma/qa-schema.prisma  # Generate QA database client\n   ```\n   Note: Run these commands whenever you modify the Prisma schemas\n\n4. Start local database and create tables (requires Docker):\n   ```bash\n   pnpm db:start\n   pnpm db:migrate\n   ```\n\n5. Run the bot:\n   ```bash\n   pnpm build\n   ```\n\n### Running the Bot\n\nUse `pnpm build` to run the development version of the bot.\n\nThe only difference between the production and development version is that the development has debug logs to assist with development, and uses guild commands in the development server instead of global commands.\n\n### Database Management\n\nUseful database commands:\n\n- **Start database**: `pnpm db:start` - Starts PostgreSQL in Docker\n- **Stop database**: `pnpm db:stop` - Stops PostgreSQL container\n- **Reset database**: `pnpm db:reset` - Deletes all data and restarts fresh\n- **Run migrations**: `pnpm db:migrate` - Apply schema changes\n- **Database UI (Main DB)**: `pnpm db:studio` - Opens Prisma Studio for main database\n- **Database UI (QA DB)**: `pnpm db:studio:qa` - Opens Prisma Studio for QA threads database (requires `.env` with `QA_DATABASE_URL`)\n\n### Troubleshooting\n\n**Error: `options.port should be \u003e= 0 and \u003c 65536. Received type number (NaN)`**\n- Ensure your `.env.prod` or `.env.dev` file has `API_PORT` configured (e.g., `API_PORT=3000`)\n\n**Error: `Property 'qAThread' does not exist on type 'PrismaClient'`**\n- Run `npx prisma generate` to regenerate the Prisma client after schema changes\n\n**Error: `Can't reach database server at mydb.orb.local:5432`**\n- Start the local PostgreSQL database with `pnpm db:start`\n- Ensure `./prisma/.env` has the correct `DATABASE_URL`\n- For local development, use: `postgresql://poddy:poddy_dev_password@localhost:5432/poddy_dev`\n\n**Error: `Type 'K' cannot be used to index type 'LanguageValues'` (TypeScript errors in Language files)**\n- Run `pnpm translate` to regenerate language type definitions\n- This command updates `typings/language.d.ts` from your language files\n\nFor support, please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunpod%2Fpoddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunpod%2Fpoddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunpod%2Fpoddy/lists"}