Skip to main content

NitroDigest

TL;DR your data, privately.

NitroDigest – the privacy‑first, local‑LLM text‑summariser for developers.

This project is in alpha phase.

Features

  • Runs 100 % on‑device with Ollama – your private data never leaves localhost
  • Command-line interface with various options
  • Completely free (open source, MIT license)

Usage

Prerequisites

To run this tool, you needs to have Ollama and Python installed on your local machine.

Installation

pip install nitrodigest-cli

Basic Usage

Run NitroDigest with the default configuration:

nitrodigest <file or directory you want to summarize> > <destination where to want to save summary>

Examples

Process current directory (summarize all files in the current working directory):

nitrodigest > summary.md

Summarize one file and save it to summary.md:

nitrodigest my_long_text.html > summary.md

Summarize files in a directory and save them in a summary.md:

nitrodigest my_directory/ > summary.md

Command Line Arguments

You can override any configuration setting using command line arguments:

nitrodigest \
    --model mistral \
    --timeout 800

Available arguments:

  • --timeout: Time in seconds for API requests to Ollama (default: 300)
  • --prompt-file: Path to custom prompt template file (overrides default one)
  • --prompt: Direct prompt content (overrides prompt-file)
  • --model: Model that will be used for summarization (default: mistral)
  • --ollama_api_url: URL of Ollama API (default: http://localhost:11434)
  • --format: Output format. Can be text or json (default: text)
  • --include-original: Include original text in the summary output (default: False)
  • --max-workers: Maximum number of parallel workers for directory processing (default: 4)

Custom Prompt Configuration

You can specify a custom prompt in two ways

  1. Using the --prompt-file argument:
nitrodigest --prompt-file custom_prompt.txt
  1. Passing the prompt content directly:
nitrodigest --prompt "$(cat my_awesome_prompt.txt)"

The prompt template should contain placeholders:

  • {metadata}: it's used to render information like source, title, and date
  • {text}: For the text content to be summarized

Contributing

Do you want to contribute this tool? Check the Contributing page:

Getting started

Report an issue

Found an issue? You can easily report it here:

https://github.com/Frodigo/garage/issues/new

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for nitrodigest-cli 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nitrodigest-cli 0.3.0
File Size Uploaded
nitrodigest_cli-0.3.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nitrodigest-cli 0.3.0
File Interpreter ABI Platform
nitrodigest_cli-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.8 kB

Release files / nitrodigest_cli-0.3.0.tar.gz

Download URL nitrodigest_cli-0.3.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7a4f5c36bed578e0a37ea5367a1d32e60a9b701f13ab742df8ae0b8e6c4f51e5
BLAKE2b-256 checksum
How to use checksums
98e169c01d1e440aa95eda77b8ba91f0cab016792900276825693f90c878961e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2025.

Transparency log

Release files / nitrodigest_cli-0.3.0-py3-none-any.whl

Download URL nitrodigest_cli-0.3.0-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ea1c1d0f4f06f78dd9a35641c5aaf65befa08bf01fb45dd3b599020d02fdc0b
BLAKE2b-256 checksum
How to use checksums
cc6a445bfba9d87973c071b893c86acd785e51c3b4d49d816caafd0df7c51c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page