| Crates.io | trickery |
| lib.rs | trickery |
| version | 0.1.3 |
| created_at | 2026-01-10 00:10:05.37274+00 |
| updated_at | 2026-01-10 19:47:22.929299+00 |
| description | CLI tool for generating textual artifacts using LLM |
| homepage | |
| repository | https://github.com/chaliy/trickery |
| max_upload_size | |
| id | 2033209 |
| size | 8,488,507 |
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

If you have rust/cargo installed, you can install trickery with:
cargo install trickery
trickery --help
export OPENAI_API_KEY=s....d
trickery generate ./prompts/trickery_readme.md > README.md
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.
Trickery — невеликий інструмент командного рядка для автоматичної генерації текстових артефактів за допомогою великих мовних моделей. Ідея проста: якщо вам потрібно генерувати документацію, звіти або інші тексти в рамках CI/CD, цей інструмент допоможе інтегрувати виклики LLM у ваші скрипти та конвеєри. Доступні варіанти підстановки змінних у шаблонах, можливість роботи з мультимодальними підказками та простий інтерфейс для інтеграції в існуючі процеси.
Якщо маєте питання або пропозиції — ласкаво просимо відкрити issue або pull request у репозиторії.
Why did the developer go broke? Because he used up all his cache.