Skip to content

Dominant-dev/dopys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dopys

Dopys (Ukrainian допис — “a post”) — an AI ghostwriter that turns a one-line idea into a finished Telegram post in your voice.

It learns your style from your own past posts (samples/*.txt), not from a generic “write like an influencer” prompt. Idea in → on-brand draft out. Pure CLI by default — no Telegram credentials needed to use it.

How it works

  1. Drop a handful of your real past posts into samples/ as .txt files.
  2. Run dopys.py with a one-line idea.
  3. Dopys studies the corpus (tone, rhythm, emoji habits, how you open/close) and writes one new post that sounds like you — ready to review and publish.

The style corpus is sent with prompt caching, so every post after the first is cheaper and faster.

Run

pip install -r requirements.txt
export ANTHROPIC_API_KEY=sk-ant-...          # Windows: set ANTHROPIC_API_KEY=...
python dopys.py "why most people don't need a new tool, they need a system"
# or write to a file:
python dopys.py -o draft.txt "launch announcement for Vidbytok"

Ships with two sample posts so it runs immediately — replace them with yours. Env: DOPYS_MODEL (default claude-sonnet-4-6), DOPYS_SAMPLES.

Telegram (optional)

Publishing is intentionally out of scope of the core: Dopys writes the draft, you approve and post it. Wire your bot/Telethon flow around the generate() function if you want a review-channel pipeline — the safety review stays manual.

Stack

Python 3 · anthropic SDK · prompt caching · zero required external services.

License

MIT © Oleksandr Bilov (@Dominant-dev)

About

Dopys - AI ghostwriter that turns a one-line idea into a Telegram post in your own voice.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages