This Visual Studio Code extension helps you track and analyze your coding sessions by integrating with Discord and logging coding activity to a MongoDB database. It displays your active coding time, language usage, and various achievements through a dedicated Discord bot.
Bot Invite: https://discord.com/oauth2/authorize?client_id=1305258645906526328
Bot Version: beta@v0.7.1
Extension:
Extension Version: beta@v0.5.9
- 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-VSCode-Extension
- 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.