๐งฐ Installation Guide¶
Welcome to Gittxt โ your tool for extracting clean, structured, AI-ready data from Git repositories.
This guide will help you install Gittxt in two ways:
- ๐ Using pip (recommended) for most users
- ๐ Using Poetry for local development or contributions
๐ฆ Install via PyPI (Recommended)¶
Gittxt is published on PyPI.
pip install gittxt
After installation, you can run:
gittxt --help
๐งช Install for Local Development (Poetry)¶
This is the preferred method for contributors or developers making local changes.
Step 1: Clone the Repo¶
git clone https://github.com/sandy-sp/gittxt.git
cd gittxt
Step 2: Install Dependencies¶
poetry install
Step 3: Run Gittxt¶
poetry run gittxt scan .
You can also install the CLI globally into your environment:
poetry install --editable .
๐ Optional Setup: Interactive Configuration¶
To set up a default output directory, formats, filters, and logging options, run:
gittxt config install
This creates a gittxt-config.json
file with your preferences.
๐งช Verify Installation¶
Run a basic scan to verify everything is working:
gittxt scan . --output-format txt --lite --log-level debug
You should see output directories created and summary info printed to your terminal.
๐ง Modular Installation Options (Poetry)¶
Gittxt is designed to be lightweight. You can install only what you need:
๐งฉ Core CLI Tool Only¶
This installs the base gittxt
CLI without any plugin overhead:
poetry install
๐ With Plugins (API & Streamlit)¶
If you plan to use the FastAPI backend or Streamlit dashboard:
poetry install --with plugins
๐งช With Dev Tools (for contributors)¶
Install development dependencies (tests, linting, formatting):
poetry install --with dev
You can also combine them:
poetry install --with plugins,dev
๐ฌ Need Help?¶
If you face installation issues: - Open an issue at github.com/sandy-sp/gittxt/issues - Or ask a question in Discussions
Next: Quickstart โก