open source · MIT licensed

replicateme

CLI that learns your writing style and generates messages that sound like you.
Typos, grammar quirks, and all.

Terminal
$ npm install -g replicateme

How it works

1

Ingest

Point it at your messages. Currently supports iMessage, with Slack, Gmail, Twitter, Discord, and Reddit coming.

$ replicateme ingest --source imessage
Scanning ~/Library/Messages/chat.db... Found 12,847 sent messages Analyzing writing patterns... Style profile saved to ~/.replicateme/profile.json
2

Analyze

It builds a fingerprint of how you actually write: capitalization habits, punctuation use, common shortcuts, typical errors.

$ replicateme profile
Style Fingerprint ----------------- Avg message length: 31 chars Capitalizes first word: 81% of the time Ends with period: 1% of the time Uses question marks: 17% of the time Uses emoji: 2% of the time Short fragment messages: 58% of the time Lowercase "i" instead of "I": 27% of the time Top Quirks ---------- "im" without apostrophe 843 occurrences "dont" without apostrophe 312 occurrences "thats" without apostrophe 198 occurrences
3

Generate

Give it a prompt and it writes back in your voice, using your style profile to match your patterns.

$ replicateme gen --quirk 50 "Friend asks: want to hit up that new brewery this weekend?"
Generated 3 variants (quirk: 50%) 1. Yeah im down for that. What day were you thinking? 2. yeah could be down for that. what day were you thinking? 3. yeah im down, what day were you thinking

The quirk slider

Control how much of your natural writing to include. From polished to raw.

0% clean 50% 100% you
0%

"I'm going to be about 15 minutes late. Can you grab me a coffee?"

Your voice and vocabulary, clean grammar
25%

"Im going to be about 15 minutes late. Can you grab me a coffee?"

Mostly clean, occasional habits slip through
50%

"im gonna be like 15 min late. can you grab me a coffee"

Natural mix of your style and quirks
75%

"im gonna be like 15 min late can you grab me a coffee"

Missing punctuation, lowercase, fragments
100%

"im gonna be like 15 min late can u grab me a coffee"

Full you: typos, double spaces, all of it

Features

🔒

Privacy-first

All data stays on your machine. No accounts, no telemetry, no analytics. Open source so you can read every line.

🔍

Style fingerprinting

Analyzes your real patterns: capitalization, punctuation, contractions, phrases, typical errors. Not a generic prompt.

🎛

Quirk slider

0 to 100. Clean grammar in your voice, or full authenticity with every typo. You pick the level per message.

💬

Multi-platform

Generate for iMessage, Slack, email, GitHub commits, Twitter. Each platform gets appropriate tone and length.

📥

Multiple data sources

iMessage live now. Slack, Gmail, Twitter, Discord, Reddit, and Instagram archives coming.

🔑

Bring your own key

Works with Anthropic Claude or OpenAI GPT. Your API key, your account, your bill. No middleman.

Your data stays yours

Messages are read from your local databases. Nothing is uploaded.

Style profiles stored at ~/.replicateme/ on your machine.

The only network call is to your LLM provider with the style profile for generation. No raw messages sent.

No telemetry. No analytics. No accounts. No tracking.

MIT licensed. Fork it, audit it, run it airgapped if you want.

Your machine
iMessage DB
replicateme CLI
~/.replicateme/profile.json
style profile only
LLM API
Anthropic or OpenAI
Generated text

Data sources

iMessage live Reads local ~/Library/Messages/chat.db
Slack planned Workspace export (JSON)
Gmail planned Google Takeout (mbox)
Twitter/X planned Data archive (JSON)
Discord planned Data export (JSON)
Reddit planned Data archive
Instagram planned Data download (JSON)

Get started

Terminal
$ npm install -g replicateme
 
# set your API key
$ export ANTHROPIC_API_KEY=sk-ant-...
 
# ingest your messages
$ replicateme ingest --source imessage
 
# generate
$ replicateme gen "Reply to: hey are you coming tonight?"
Generated 3 variants (quirk: 50%) 1. yeah ill be there 2. yeah im coming 3. yep on my way soon