Skip to content

patmllr/snib

Repository files navigation


Powered by COFFEE PyPI version Build Codacy Badge Codacy Badge License: MIT Conventional Commits Issues Pull Requests

Snib is a Python CLI tool to scan your projects and generate prompt-ready chunks for use with LLMs.

💡 Why Snib?

Today there are many AI coding assistants such as Copilot, Cursor, and Tabnine. They are powerful but often expensive, tied to specific models, and in some cases not as good at reasoning as other LLMs available on the web.

Snib keeps you flexible:

  • Use any LLM - free, paid, reasoning-strong, or lightweight.
  • Use your favorite model’s web UI while snib prepares your code for input.

🚀 Features

  • Recursively scan projects with include/exclude rules.
  • Generate prompt-ready chunks with configurable sizes.
  • Section formatting and built-in tasks to guide the AI.
  • Simple CLI with three commands: init, scan, and clean.

📦 Installation

pip install snib

Alternatively download the latest wheel here: Latest Release

⚡ Quick Start

cd /path/to/your/project
snib init
snib scan --smart

📚 Documentation

Full documentation is available at https://patmllr.github.io/snib/:

  • Usage: Learn how to run snib and configure it.
  • Development: Contributing, testing, and internal structure.
  • API Reference: Automatically generated from the code docstrings.

🤝 Contribute

Help improve snib by contributing presets, features, or bug fixes. See Contributing.

📜 License

MIT License © 2025 Patrick Müller

About

snib scans projects and generates prompt-ready chunks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages