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.
- 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.
- Install Visual Studio Code (version 1.96.0 or higher).
- Install Node.js and npm if not already installed.
- Obtain a GitHub Personal Access Token (PAT) with the
repo
permission to enable GitHub repository creation.
- Option 1: Install from the VS Code Marketplace :
- Open the Extensions view in VS Code (
Ctrl+Shift+X
orCmd+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 selectInstall from VSIX...
. - Browse to the downloaded
.vsix
file and install it.
- 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
orCmd+Shift+P
on macOS).
- 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.
- 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.
- Trigger the command palette (
Ctrl+Shift+P
orCmd+Shift+P
on macOS). - Run the
Gitivity: Create GitHub Repository
command. - The extension uses your authenticated GitHub session to create a private repository.
Command | Description |
---|---|
Gitivity: Create GitHub Repository |
Creates a new private repository on GitHub. |
- 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.
- 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.
.
├── src/
│ ├── extension.ts # Main extension logic
│ ├── testCompile.ts # Auxiliary logic
│ └── test/ # Test files
├── out/ # Compiled files
├── node_modules/ # Dependencies
├── package.json # Extension metadata and dependencies
├── tsconfig.json # TypeScript configuration
├── README.md # Project documentation
└── log.txt # Automatically generated work logs
- Install dependencies:
npm install
- Compile the TypeScript files:
npm run compile
- Run tests using the following command:
npm test
- Package the extension into a
.vsix
file:vsce package
Contributions are welcome! To contribute:
- Fork the repository.
- Create a feature branch.
- Commit your changes.
- Submit a pull request.
- Add a sidebar icon to enhance user experience.
- Display a UI to re-enter environment keys when required.
- Support for additional models for summarization.
- Custom time limits for saving logs.
- Options for customizing GitHub repository names.
- Daywise saving of logs.
- Generate End-of-Day (EOD) summaries using LLMs when the day finishes.
This project is licensed under the MIT License.
For support or feedback, please open an issue in the GitHub repository.