Metadata-Version: 2.4
Name: postcraftin
Version: 2.0.2
Summary: AI-powered LinkedIn post generator using local LLMs via Ollama
Author-email: Emre Duelger <emre.duelger1@outlook.de>
License: MIT
Keywords: linkedin,ai,llm,ollama,post-generator,ghostwriter
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31
Requires-Dist: click>=8.1
Requires-Dist: rich>=13.0
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: python-semantic-release>=10.0; extra == "dev"
Dynamic: license-file

# postcraftin

AI-powered LinkedIn post generator using local LLMs via Ollama. Personalized ghostwriter with onboarding profile, Few-Shot prompting, and CLI interface.

## Features

- **Local LLMs** — runs fully on your machine via Ollama, no API costs, no data leaks
- **Personalized profiles** — onboarding wizard captures your role, audience, tone, and writing style
- **Few-Shot prompting** — provide example posts to calibrate the output to your voice
- **Post length control** — kurz (150–500), mittel (1.200–1.500), lang (1.900–2.500 Zeichen)
- **Multiple profiles** — manage different personas or clients

## Requirements

- Python 3.10+
- [Ollama](https://ollama.com) running locally

## Installation

```bash
pip install postcraftin
```

## Usage

```bash
# Create a profile (interactive wizard)
postcraftin onboard --name myprofile

# Generate a LinkedIn post
postcraftin generate --topic "The future of AI in software development"

# With options
postcraftin generate --topic "My topic" --profile myprofile --length lang

# List all profiles
postcraftin list-profiles
```

## Default Model

`qwen3.5:2b` — pull it with:

```bash
ollama pull qwen3.5:2b
```

## License

MIT
