{"id":27441321,"url":"https://github.com/qrexpy/commitwarden","last_synced_at":"2025-10-13T01:43:30.463Z","repository":{"id":286127652,"uuid":"960457378","full_name":"qrexpy/CommitWarden","owner":"qrexpy","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-04T23:03:02.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T23:46:32.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/qrexpy.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}},"created_at":"2025-04-04T13:19:21.000Z","updated_at":"2025-04-04T23:03:05.000Z","dependencies_parsed_at":"2025-04-04T14:27:20.759Z","dependency_job_id":"ccc8e4ae-6908-4b83-941c-e3c3357f4fde","html_url":"https://github.com/qrexpy/CommitWarden","commit_stats":null,"previous_names":["qrexpy/commitwarden"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qrexpy/CommitWarden","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2FCommitWarden","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2FCommitWarden/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2FCommitWarden/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2FCommitWarden/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qrexpy","download_url":"https://codeload.github.com/qrexpy/CommitWarden/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qrexpy%2FCommitWarden/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013903,"owners_count":26085326,"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-12T02:00:06.719Z","response_time":53,"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-04-14T23:46:31.813Z","updated_at":"2025-10-13T01:43:30.445Z","avatar_url":"https://github.com/qrexpy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CommitWarden\n\nA Discord bot that helps manage GitHub workflows, pull requests, and repository activities directly from Discord.\n\n## Features\n\n- List and check pull requests\n- View repository statistics\n- Manage GitHub workflows\n- Real-time notifications for repository events\n- Interactive command interface\n\n## Prerequisites\n\n- Node.js 18.x or higher\n- A Discord bot token\n- A GitHub personal access token\n- A Discord server where you have administrator permissions\n- A Discord webhook URL for notifications\n\n## Local Development Setup\n\n1. Clone this repository:\n```bash\ngit clone https://github.com/yourusername/github-workflow-bot.git\ncd github-workflow-bot\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Create a `.env` file in the root directory with the following variables:\n```\nDISCORD_TOKEN=your_discord_bot_token\nDISCORD_CLIENT_ID=your_discord_client_id\nDISCORD_GUILD_ID=your_discord_guild_id\nDISCORD_WEBHOOK_URL=your_discord_webhook_url\nGITHUB_TOKEN=your_github_personal_access_token\nGITHUB_WEBHOOK_SECRET=your_github_webhook_secret\nPORT=3000\n```\n\n4. Build the project:\n```bash\nnpm run build\n```\n\n5. Start the bot:\n```bash\nnpm start\n```\n\n## Deploying to Vercel\n\n1. Install the Vercel CLI:\n```bash\nnpm install -g vercel\n```\n\n2. Login to Vercel:\n```bash\nvercel login\n```\n\n3. Deploy the project:\n```bash\nvercel\n```\n\n4. Set up the environment variables in the Vercel dashboard:\n   - Go to your project settings\n   - Add the environment variables from your `.env` file\n\n5. For production deployment:\n```bash\nvercel --prod\n```\n\n## Webhook Configuration\n\nAfter deploying to Vercel, your webhook URL will be:\n```\nhttps://your-vercel-project.vercel.app/api/webhook/github\n```\n\nSet this as the payload URL in your GitHub repository webhooks settings:\n1. Go to your GitHub repository\n2. Click on \"Settings\" \u003e \"Webhooks\" \u003e \"Add webhook\"\n3. Set the Payload URL to your Vercel deployment URL + `/api/webhook/github`\n4. Set Content type to `application/json`\n5. Set Secret to your `GITHUB_WEBHOOK_SECRET`\n6. Select the events you want to trigger notifications for\n7. Click \"Add webhook\"\n\n## Available Commands\n\n### Pull Request Management\n- `/pr list [repo]` - List all open pull requests in a repository\n- `/pr check [repo] [number]` - View details of a specific pull request\n\n### Repository Information\n- `/repo [repository]` - View repository statistics and information\n\n### Workflow Management\n- `/workflow list [repo]` - List available workflows in a repository\n- `/workflow run [repo] [workflow]` - Trigger a specific workflow\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrexpy%2Fcommitwarden","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqrexpy%2Fcommitwarden","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqrexpy%2Fcommitwarden/lists"}