DisTrack is a Discord bot that integrates with a VSCode extension to help you track your coding activities, including time spent coding, languages used, achievements, and streaks.
| Name | Description | Version | Links |
|---|---|---|---|
| VSCode Extension | Discord VSCode Leaderboard Tracker Extension | GitHub, Marketplace | |
| Discord Bot | Discord Bot for tracking coding activity | GitHub, Invite | |
| Discord Manager | Discord bot which manages the Discord server | GitHub | |
| Website | Website for DisTrack | GitHub, Website | |
| Backend Endpoints | API Endpoints for business logic | GitHub | |
| Frontend Endpoints | Bot Crawler Rich Embed logic | GitHub |
- Coding Session Tracking: Automatically tracks coding sessions when you start VSCode.
- Language-Specific Time Tracking: Records the time spent in each programming language.
- Discord Integration: Shows a real-time status in Discord, including the file and language.
- Achievements: Gain achievements for milestones based on your total coding time.
- Profile Management: View coding stats and achievements through a Discord bot.
- Clone the Repository:
git clone https://github.com/JayNightmare/DisTrack-Discord-Bot
- Install Dependencies:
cd DisTrack-VSCode-Extension npm install - Setup MongoDB:
- Ensure MongoDB is installed and running.
- Create a database and note the connection URI.
- MongoDB Setup:
- Ensure the IP address for your server is whitelisted in MongoDB Atlas or your MongoDB instance.
-
Start VSCode:
- When you start VSCode, the extension will automatically begin a coding session and track your active language and coding time.
-
Link Discord:
- Click on the status bar item "Link to Discord" and enter your Discord ID to enable activity tracking and achievements through the Discord bot.
-
Stop Coding Session:
- When you close VSCode, the session ends, and your session data is saved to the MongoDB database.
- Profile: Displays your coding profile, including total coding time, language stats, and achievements.
- Leaderboard: View the top users based on total coding time
- Achievements: Lists the milestones you’ve achieved
- Compare: Compares your stats against another user's stats
- Freeze Streak: Freezes your streak
- Help: Shows all commands and info about the bot
- Recents: Shows information from recent session
- Set Bio: Sets the bio for the profile command
- Bug Reports and Suggestions: Sends your feedback to the developement team so we can improve the extension and bot
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Commit changes:
git commit -m "Add a feature" - Push to the branch:
git push origin feature-branch
- Open a pull request.
This project is licensed under the Creative Commons Legal Code License. See the LICENSE file for more details.