Interactive CLI tool that generates LinkedIn post drafts from various sources — GitHub repos, articles, or personal notes. AI-assisted, not AI-generated: you always review, refine, and approve before posting.
- Fully interactive — guided step-by-step flow, no flags to remember
- Multiple sources — GitHub repos, article URLs, or free-text notes
- 5 post templates — Discovery, Opinion, TIL, Project Showcase, Article Reaction
- Bilingual — generate posts in Polish or English
- Your voice — configurable tone, style, hashtags, and post length
- Iterative refinement — tweak the draft until it's perfect
- History tracking — SQLite-backed history with dedup, search, and management
- Cross-platform — Linux, macOS, Windows
# Install
uv sync
# First run — interactive setup wizard
uv run linkedin-post init
# Generate a post — fully interactive
uv run linkedin-post generateThe generate command walks you through:
- Enter source (URL or text)
- Pick a template
- Choose language, tone, length
- Review the draft
- Copy / save / refine / regenerate
| Command | Description |
|---|---|
linkedin-post init |
First-run configuration wizard |
linkedin-post generate |
Interactive post generation |
linkedin-post config |
Edit your preferences |
linkedin-post history |
Browse, search, and manage past posts |
Personal preferences stored in ~/.config/linkedin-post/config.toml:
# Default post language
language = "pl"
# Tone: professional-casual, technical, storytelling
tone = "professional-casual"
# Default post length: short (500-800), standard (800-1300), long (1300-2000)
length = "standard"
# Recurring hashtags
hashtags = ["#Python", "#SoftwareEngineering"]The tool supports two AI backends (auto-detected):
- Claude Code headless (primary) — uses
claude -pcommand. Requires Claude Code CLI installed. - Anthropic API (fallback) — uses
ANTHROPIC_API_KEYenvironment variable. Requires an API key.
- Python 3.12+ with uv
- Typer + Rich (interactive CLI)
- Claude Code headless / Anthropic SDK
- httpx + readability-lxml (content extraction)
- Pydantic (config validation)
MIT
