{"id":17800279,"url":"https://github.com/LeetGrindBot/LeetGrindBot","last_synced_at":"2025-08-13T08:31:21.994Z","repository":{"id":259617534,"uuid":"879025469","full_name":"LeetGrindBot/LeetGrindBot-V1","owner":"LeetGrindBot","description":"An exclusive bot for the y2's Discord server! LeetGrindBot brings daily LeetCode challenges to keep skills sharp and foster friendly competition. Track your progress and climb the leaderboard every week! 🎉","archived":false,"fork":false,"pushed_at":"2024-11-27T10:13:59.000Z","size":251,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-14T19:45:37.838Z","etag":null,"topics":["axios","discord-js","docker","postgresql","prisma","typescript"],"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/LeetGrindBot.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-26T18:54:05.000Z","updated_at":"2024-11-27T10:14:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"7696497a-90e5-40e0-bf6f-ec5267956dcf","html_url":"https://github.com/LeetGrindBot/LeetGrindBot-V1","commit_stats":null,"previous_names":["leetgrindbot/leetgrindbot-v1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetGrindBot%2FLeetGrindBot-V1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetGrindBot%2FLeetGrindBot-V1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetGrindBot%2FLeetGrindBot-V1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetGrindBot%2FLeetGrindBot-V1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeetGrindBot","download_url":"https://codeload.github.com/LeetGrindBot/LeetGrindBot-V1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229749273,"owners_count":18118321,"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":["axios","discord-js","docker","postgresql","prisma","typescript"],"created_at":"2024-10-27T12:18:25.841Z","updated_at":"2025-08-13T08:31:16.549Z","avatar_url":"https://github.com/LeetGrindBot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetGrindBot 🦇 - V1\n\n## Description\nLeetGrindBot is an exclusive Discord bot for the **y2's Empire** server, designed to send a new LeetCode challenge to members every day and display a weekly leaderboard of the top performers. This bot encourages daily practice and fosters friendly competition around algorithms and problem-solving.\n\n## ✨ Features\n\n- **Daily LeetCode Challenges**: Each day, the bot sends a new problem to keep members engaged and practicing consistently.\n- **Weekly Leaderboard**: The bot displays a leaderboard every week, highlighting the top three solvers.\n- **Exclusive Access**: Currently limited to the \"y2's Empire\" Discord server.\n\n## 🔪 Technologies Used\n\n### Backend\n- **TypeScript**: Ensures a reliable and maintainable codebase.\n- **Discord.js**: API to integrate with Discord.\n- **Axios**: Handles HTTP requests to retrieve LeetCode problems.\n\n### Database\n- **PostgreSQL**: Relational database to store scores and user data.\n- **Prisma**: ORM for streamlined database management.\n\n### DevOps\n- **Docker**: Containerization for simplified and consistent deployment.\n\n## 🤸 Quick Start\n\nFollow these steps to set up the project locally on your machine.\n\n### Prerequisites\n\nMake sure you have the following installed on your machine:\n\nGit\nNode.js\nnpm (Node Package Manager)\n\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/LeetGrindBot/LeetGrindBot-V1.git\n   cd leetgrindbot-v1\n\n2. Install dependencies:\n   \n   ```bash\n   npm install\n\n\n4. Set up environment variables. Create a .env file in the root directory and add your configurations:\n   ```bash\n     DISCORD_TOKEN=\"your-discord-bot-token\"\n     MODE=\"dev\"\n     GUILD_ID=\"your-guild-id\"\n     CHANNEL_ID=\"your-channel-id\"\n     \n     DB_DATABASE=\"\"\n     DB_USERNAME=\"\"\n     DB_PASSWORD=\"\"\n     DB_PORT=\"\"\n     DATABASE_URL=\"\"\n\n4. Run the bot with Docker (optional):\n   \n   ```bash\n   docker-compose up\n   \n5. Start the bot in development mode:\n\n   ```bash\n   npm run start\n\n## 🎉  Contributing\n\n![contributors](https://contrib.rocks/image?repo=LeetGrindBot/LeetGrindBot-V1)\n\nLeetGrindBot V1 is currently exclusive to the y2's Empire server, but contributions are welcome for testing or local development!\n\n1. Fork the repo\n2. Create your feature branch (git checkout -b feature/AmazingFeature).\n3. Commit your changes (git commit -m 'Add some AmazingFeature').\n4. Push to the branch (git push origin feature/AmazingFeature).\n5. Create a Pull Request 🎉\n\n## Contact\n\nFor questions or suggestions, join us on the y2's Empire Discord server or reach out via GitHub or 𝕏.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeetGrindBot%2FLeetGrindBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeetGrindBot%2FLeetGrindBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeetGrindBot%2FLeetGrindBot/lists"}