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 🙏

© 2026 – Pkg Stats / Ryan Hefner

fontana-cli

v0.0.2

Published

AI-powered Git intelligence CLI

Downloads

32

Readme

Fontana CLI ⛲

An elegant, AI-powered Git intelligence CLI that revolutionizes your daily developer workflow. It seamlessly interacts with your local LLMs (via Ollama) to explain diffs, generate conventional commit messages, write Pull Request summaries, and perform senior-engineer-style code reviews — all without sending your code to any external API.


📦 Installation

Install the package globally using npm:

npm install -g fontana-cli

After installation, initialize and verify your setup. Fontana will automatically check if Git and Ollama are installed, and can autonomously install them for you if they are missing!

fontana init

🚀 Usage

🔍 Explain Diffs

To get an instant explanation of the changes in your working directory compared to HEAD:

fontana explain

📝 Generate Commit Messages

Stage your changes and let Fontana propose a conventional commit message. It will interactively ask if you want to apply the commit!

git add .
fontana commit

🚢 Generate PR Summaries

To generate a comprehensive PR title and markdown description based on the differences between your current branch and the main branch:

fontana pr

📋 AI Code Review

Get a senior-engineer-style review of your current working-directory changes. Fontana analyzes the diff for bugs, missing error handling, code smells, performance concerns, and readability — then groups findings by severity:

fontana review

To review only staged changes:

git add .
fontana review --staged

Example output:

🔍 Review Suggestions:

  [HIGH] Unhandled promise rejection in fetchUser — services/api.ts
         type: bug

  [MEDIUM] DB query runs inside a loop — could cause N+1 — controllers/users.ts
         type: perf

  [LOW] Variable `tmp` has no descriptive name
         type: readability

────────────────────────────────────────────────────────────
Summary: 1 high  1 medium  1 low

Severity levels: high (red) · medium (yellow) · low (cyan)

Issue types: bug · performance · readability · best_practice

Large diffs (> 5 000 lines) are automatically truncated with a warning so the review still runs quickly.


⚙️ Configuration

By default, Fontana uses your local Ollama instance and the qwen2.5-coder:7b model — ensuring complete privacy and zero API costs. Override via environment variables:

| Variable | Default | Description | |---|---|---| | FONTANA_OLLAMA_ENDPOINT | http://localhost:11434/api/generate | Ollama API endpoint | | FONTANA_OLLAMA_MODEL | qwen2.5-coder:7b | Model to use for all commands | | FONTANA_API_KEY | (empty) | Bearer token if your endpoint requires auth |

Create a .env file at the project root or export the variables in your shell to apply overrides.


🧯 Troubleshooting

"LLM request failed" — Make sure Ollama is running:

ollama serve

Model not found — Pull the default model:

ollama pull qwen2.5-coder:7b

"Not a git repository" — Run Fontana from inside a Git-tracked directory.


License

MIT