Gitivity: A GitHub Productivity Tracker Extension for VS Code
Description
Gitivity is a VS Code extension that boosts your productivity by monitoring file changes in your workspace and providing concise work logs and summaries. It helps developers track their progress efficiently by logging file modifications, creations, and deletions, with an optional integration to summarize these changes using the Groq API.
Features
Automatic Work Log Generation :
Tracks file modifications, creations, and deletions.
Generates work logs with human-readable timestamps for better traceability.
Groq Summarization Integration :
Summarizes work logs to provide concise insights into development progress.
GitHub Repository Creation :
Easily create private GitHub repositories directly from VS Code.
Customizable Log Interval :
Configure the log update interval through VS Code settings.
Localized Logs :
Displays logs with local computer time for better understanding.
Open the Extensions view in VS Code (Ctrl+Shift+X or Cmd+Shift+X on macOS).
Search for Gitivity in the search bar.
Click Install next to the Gitivity extension.
Option 2: Install from a .vsix File :
Download the .vsix file for Gitivity .
Open the Extensions view in VS Code.
Click the ellipsis (...) in the top-right corner, then select Install from VSIX....
Browse to the downloaded .vsix file and install it.
3. Authenticate with the Groq API (Optional)
If you want to enable work log summarization, obtain a Groq API key.
Enter the API key when prompted after installing the extension or via the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
Usage
Work Log Generation
Open a workspace folder in VS Code.
The extension automatically tracks file activities and logs them in a log.txt file within the workspace.
Logs include file names, actions (modified, created, deleted), and timestamps.
File Summarization
If a Groq API key is provided, summaries of the work logs will be appended to the log.txt file.
Summaries do not include suggestions or recommendations, ensuring a concise description of work activities.
GitHub Repository Creation
Trigger the command palette (Ctrl+Shift+P or Cmd+Shift+P on macOS).
Run the Gitivity: Create GitHub Repository command.
The extension uses your authenticated GitHub session to create a private repository.
Commands
Command
Description
Gitivity: Create GitHub Repository
Creates a new private repository on GitHub.
Configuration
Settings
Log Update Interval :
Configure the interval at which logs are updated. This can be done by updating the extension settings in the VS Code settings menu.
Environment Variables
GitHub Authentication :
Ensure you are authenticated with GitHub in VS Code to enable repository creation.
Groq API Key :
Add your API key when prompted to enable summarization features.