npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

checkupcodes

v0.0.5

Published

AI-powered commit message generator using Ollama

Downloads

12

Readme

checkupcodes

An AI-powered commit message generator CLI tool that analyzes files in the git staging area and suggests appropriate commit messages using advanced AI models (Mistral and Deepseek).

Features

  • 🤖 AI-powered commit message generation using Mistral and Deepseek models
  • 📝 Analyzes staged files in your git repository
  • 🚀 Easy to use CLI interface
  • ⚡ Quick and efficient processing
  • 🔄 Interactive commit confirmation
  • 🎯 Local AI model support

Installation

npm install -g checkupcodes

Prerequisites

  • Node.js (v14 or higher)
  • Git installed on your system
  • Ollama installed with Mistral and Deepseek models

Setup

  1. Install Ollama and download the required models:
# First install Ollama for your operating system
# Then run these commands to pull the models:
ollama pull mistral
ollama pull deepseek
  1. Make sure you have staged your files in git:
git add .

Usage

The CLI tool supports several commands:

Generate Commit Message

checkupcodes codes
# or
cc codes

Configure Settings

checkupcodes config
# or
cc config

Set AI Model

checkupcodes set-model
# or
cc set-model

Available Commands

| Command | Description | |---------|-------------| | codes | Analyzes staged files and generates a commit message | | config | View or modify configuration settings | | set-model | Change the AI model (choose between Mistral and Deepseek) |

The tool will:

  • Analyze the files in your git staging area
  • Generate an appropriate commit message using the selected AI model
  • Present you with the option to confirm or modify the commit

Development

  1. Clone the repository:
git clone https://github.com/Checkup-Codes/checkupcodes.git
  1. Install dependencies:
npm install
  1. Create a .env file and add your OpenAI API key

  2. Build the project:

npm run build
  1. For local development and testing:
npm link

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the ISC License.

Support

If you encounter any issues or have questions, please file an issue at GitHub Issues.

Version History

v0.0.5

  • 🔄 Enhanced AI response handling
    • Improved streaming response handling for different AI models
    • Better error handling with user-friendly messages
    • Added support for both streaming and non-streaming responses
  • 📊 Enhanced change analysis system
    • More detailed file change statistics
    • Better summary generation for complex changes
    • Improved semantic commit message formatting
  • 🛠️ Technical improvements
    • Added TypeScript type safety improvements
    • Better error messages for configuration issues
    • Enhanced API connection handling

v0.0.4

  • 🎯 Added new models command to list available AI models
    • Shows all supported AI models with visual indicators
    • Displays usage examples for model selection
    • Easy model switching guide
  • 🔧 Improved deepseek-coder integration
    • Optimized prompt handling for better responses
    • Enhanced API communication
    • Streamlined model responses
  • 🚀 Performance improvements
    • Reduced prompt size for better model compatibility
    • Optimized response handling for different model types

v0.0.3

  • ✨ Enhanced commit analysis with detailed file comparison
    • Added complete diff view between staged and HEAD versions
    • Added full file content comparison for better context
    • Improved AI prompt with detailed file changes
  • 📝 Added automatic commit logging to checkupcodes.txt
    • Logs selected commit messages before any edits
    • File is automatically ignored by git

v0.0.2

  • 🚀 Initial public release
  • 🤖 Basic AI-powered commit message generation
  • 📝 Support for Mistral and Deepseek models
  • ⚡ Interactive commit selection and editing