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

@evinjohn/ai-git-artist

v2.0.1

Published

An intelligent CLI tool to paint on your GitHub contribution graph using Google's Gemini AI.

Downloads

8

Readme

🎨 AI Git Artist: The Definitive Edition

[License: MIT] [Node.js >= 18] [Built with Gemini 1.5]

AI Git Artist is a professional-grade command-line tool that transforms your GitHub contribution graph into a canvas for stunning pixel art. Inspired by the legendary gitfiti.py and supercharged with Google’s cutting-edge Gemini 1.5 AI, this tool blends creativity, automation, and reliability into a single CLI experience.

🖼️ Demonstration

(Insert Demo GIF Here) A preview of the tool creating a 'rocket' on the command line.

✨ Core Features

🧠 Ultimate Hybrid Model (Triage AI System)

  • Perfect Text Rendering: Uses a deterministic pixel-perfect font engine.
  • Reliable Shapes: Uses a library of hand-crafted patterns.
  • Creative AI Generation: For custom requests, generates fresh pixel art using Gemini AI.

🎯 gitfiti-Grade Canvas Control

  • Auto Date Alignment: Ensures your art starts on the correct date.
  • Week Offset: Shift your art left or right for composition.

🎨 Advanced Artistry

  • Uses 4 density levels (1–15 commits) for highlights and texture.

🛡️ Safety-First Design

  • Undo: Revert your last drawing easily.
  • Wipe: Reset your repo safely with confirmation.

🚀 Getting Started

Prerequisites:

  • Node.js v18+
  • Git
  • Google AI API Key (Get it from Google AI Studio)
  1. Clone the Repository: git clone https://github.com/your-username/ai-git-artist.git cd ai-git-artist

  2. Install Dependencies: npm install

  3. Set Up Environment Variables: Create a .env file in the root directory: GOOGLE_API_KEY=your_key_here

  4. Link to an Empty GitHub Repository: ⚠️ WARNING: This tool force-pushes and rewrites history. Use only on a dedicated, empty repo.

    git init git remote add origin https://github.com/your-username/your-empty-art-repo.git

  5. Start the Application: npm start

🛠️ How It Works: The Triage Architecture

  1. User Input (ui.js): You enter a shape or word.
  2. AI Triage (ai.js): Classifies intent:
    • text → use font engine
    • known_shape → from library
    • custom_shape → generate with AI
  3. Canvas (ui.js): Renders preview adjusted by offset.
  4. Git (git-manager.js): Commits are generated and pushed to GitHub.

📂 File Structure

  • index.js: Main launcher
  • src/ui.js: User interface and logic controller
  • src/ai.js: Triage and art generation AI
  • src/patterns.js: Pattern + font library
  • src/git-manager.js: Handles Git commands and history
  • src/utils.js: Helper tools (e.g., start date logic)

🔮 Future Features

  • 🖼️ Image-to-Graffiti: Convert logos/images to commits using Gemini.
  • ✍️ Font & Density Options
  • 🎨 Terminal Template Painter
  • 🌐 Web UI for easy access

🙏 Acknowledgements

Thanks to the original gitfiti project by gelstudios for the inspiration.

📜 License

Licensed under the MIT License. See LICENSE file for details.