The privacy‑first, local‑LLM text‑summariser for developers.
Project description
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 betextorjson(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
- Using the
--prompt-fileargument:
nitrodigest --prompt-file custom_prompt.txt
- 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:
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nitrodigest_cli-0.3.0.tar.gz.
File metadata
- Download URL: nitrodigest_cli-0.3.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a4f5c36bed578e0a37ea5367a1d32e60a9b701f13ab742df8ae0b8e6c4f51e5
|
|
| MD5 |
7b0eccb3d10fcf12e59e2fe9bf17ce78
|
|
| BLAKE2b-256 |
98e169c01d1e440aa95eda77b8ba91f0cab016792900276825693f90c878961e
|
Provenance
The following attestation bundles were made for nitrodigest_cli-0.3.0.tar.gz:
Publisher:
publish_package.yml on Frodigo/garage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nitrodigest_cli-0.3.0.tar.gz -
Subject digest:
7a4f5c36bed578e0a37ea5367a1d32e60a9b701f13ab742df8ae0b8e6c4f51e5 - Sigstore transparency entry: 575018747
- Sigstore integration time:
-
Permalink:
Frodigo/garage@2ee17925c971819df393dd10489f7040e41d1687 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Frodigo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_package.yml@2ee17925c971819df393dd10489f7040e41d1687 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file nitrodigest_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: nitrodigest_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ea1c1d0f4f06f78dd9a35641c5aaf65befa08bf01fb45dd3b599020d02fdc0b
|
|
| MD5 |
d6a597b57a6ac39f2c01a96cb12ac194
|
|
| BLAKE2b-256 |
cc6a445bfba9d87973c071b893c86acd785e51c3b4d49d816caafd0df7c51c10
|
Provenance
The following attestation bundles were made for nitrodigest_cli-0.3.0-py3-none-any.whl:
Publisher:
publish_package.yml on Frodigo/garage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nitrodigest_cli-0.3.0-py3-none-any.whl -
Subject digest:
8ea1c1d0f4f06f78dd9a35641c5aaf65befa08bf01fb45dd3b599020d02fdc0b - Sigstore transparency entry: 575018751
- Sigstore integration time:
-
Permalink:
Frodigo/garage@2ee17925c971819df393dd10489f7040e41d1687 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Frodigo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_package.yml@2ee17925c971819df393dd10489f7040e41d1687 -
Trigger Event:
workflow_dispatch
-
Statement type: