trickery

Crates.iotrickery
lib.rstrickery
version0.1.3
created_at2026-01-10 00:10:05.37274+00
updated_at2026-01-10 19:47:22.929299+00
descriptionCLI tool for generating textual artifacts using LLM
homepage
repositoryhttps://github.com/chaliy/trickery
max_upload_size
id2033209
size8,488,507
Mykhailo Chalyi (Mike Chaliy) (chaliy)

documentation

README

Magic tool to generate things

Stand With Ukraine

cli to generate textual artifacts using LLM.

Idea is simple, imagine you need to generate some docs using LLM as part of CI, this is a tool for you.

[!TIP] This README was generated with trickery trickery generate ./prompts/trickery_readme.md > README.md

Demo

Demo Screenshot

How to install

If you have rust/cargo installed, you can install trickery with:

cargo install trickery
trickery --help

How to use

export OPENAI_API_KEY=s....d
trickery generate ./prompts/trickery_readme.md > README.md

Using with OpenAI-compatible gateways

You can use trickery with any OpenAI-compatible API gateway (like LiteLLM, Azure OpenAI, or local models) by setting the OPENAI_BASE_URL environment variable:

export OPENAI_API_KEY=your-key
export OPENAI_BASE_URL=http://localhost:4000/v1
trickery generate ./prompts/my_prompt.md

Input file could be any text file, with Jinja2-like template variables, like {{"{{app_version}}"}}. To set this variables, please use -v flag, like -v app_version=1.0.0.

Documentation

Українською 🇺🇦

Trickery — невеликий інструмент командного рядка для автоматичної генерації текстових артефактів за допомогою великих мовних моделей. Ідея проста: якщо вам потрібно генерувати документацію, звіти або інші тексти в рамках CI/CD, цей інструмент допоможе інтегрувати виклики LLM у ваші скрипти та конвеєри. Доступні варіанти підстановки змінних у шаблонах, можливість роботи з мультимодальними підказками та простий інтерфейс для інтеграції в існуючі процеси.

Якщо маєте питання або пропозиції — ласкаво просимо відкрити issue або pull request у репозиторії.

Dad Joke

Why did the developer go broke? Because he used up all his cache.

Commit count: 27

cargo fmt