check-the-tone

Crates.iocheck-the-tone
lib.rscheck-the-tone
version0.1.1
created_at2025-12-19 20:52:08.380205+00
updated_at2025-12-20 00:13:27.194655+00
descriptionctt - A CLI tool to check and improve the tone of your messages using local LLMs.
homepage
repositoryhttps://github.com/gringonivoli/check-the-tone
max_upload_size
id1995487
size51,121
Maxi Nivoli (gringonivoli)

documentation

README

CTT - Check The Tone

Crates.io Crates.io Downloads (latest version) Dependency Status License: MIT

A command-line tool that analyzes the tone of your messages and provides improved versions using local Large Language Models via Ollama.

About

CTT (Check The Tone) helps you communicate more effectively by analyzing whether your messages are polite, clear, friendly, and collaborative. It then provides a revised version that maintains your intent while improving the tone.

Perfect for:

  • Reviewing emails before sending
  • Improving chat messages
  • Ensuring professional communication
  • Learning better communication patterns

Features

  • 🤖 Uses local LLMs via Ollama (privacy-first, no data sent to external servers)
  • âš¡ Fast and simple CLI interface
  • 🎯 Provides both tone analysis and revised messages
  • 🔧 Configurable model and Ollama server settings

Prerequisites

  • Ollama installed and running
  • A compatible model pulled (default: llama3.1:latest)

Installation

cargo install check-the-tone

Make sure you have Ollama installed and running with a model pulled.

Usage

Basic usage:

ctt -m "your message here"

Options

  • -m, --msg <MESSAGE> - The message to analyze (required)
  • -M, --model <MODEL> - LLM model to use (default: llama3.1:latest)
  • -u, --url <URL> - Ollama server URL (default: http://localhost)
  • -p, --port <PORT> - Ollama server port (default: 11434)

Examples

# Check a simple message
ctt -m "fix this bug now"

# Use a different model
ctt -m "Can you review my PR?" -M "mistral:latest"

# Connect to a remote Ollama instance
ctt -m "Hello team" -u "http://192.168.1.100" -p 11434
Commit count: 0

cargo fmt