k0d1r
WordPress AI content draft generator. Bring your own API keys (Groq/OpenAI/Gemini). Autopilot + quality gates.
by k0d1r · github.com/k0d1r/wordpress-ai-draft-generator · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/k0d1r/wordpress-ai-draft-generator/archive/refs/heads/main.zipReadme
k0d1r
BYOK AI drafts for WordPress
Long-form drafts. Your keys. Your site. No traffic theater.
Why · Features · How it works · Install · Providers · Honesty · Star
✨ Why k0d1r?
Most “AI for WordPress” tools sell rankings, lock features behind paywalls, or ship keys to someone else’s cloud.
k0d1r does one job well:
Turn topic seeds into review-ready draft posts — using your LLM API keys — with failover, quotas, and quality gates.
| You keep | We never do |
|---|---|
| Your API keys (encrypted in your WP DB) | Promise Google traffic |
| Final publish decision | Scrape SERPs |
| Your writing style | Phone-home analytics |
| Multi-provider failover | Trialware / feature locks |
Submitted to the WordPress Plugin Directory as k0d1r (review in progress). Same GPL code, directory-safe (no remote JS CDNs).
🚀 Features
Draft engine
- Book-flow generation — outline → section beats → assembled HTML draft
- Writing styles — academic, technical, storytelling, witty, corporate… + custom prompt
- Quality gates — word count, AI-tic cleanup, breath / structure checks
- Gutenberg-friendly output (block markup via assembler)
BYOK multi-endpoint
- Add Groq / OpenAI / Gemini / OpenRouter / DeepSeek / …
- Failover chain — rate-limit on one → try the next
- Model cascade — exhaust free tiers without babysitting
Autopilot (draft-only)
- WP-Cron wake-ups with daily quotas + cooldown
- Safe defaults for free API tiers
- Full log on the dashboard
Seeds & markets
- Upload a
.txttitle queue (one title per line) - Niche packs + 15+ content languages (EN, JA, ES, DE, FR, PT-BR, TR, …)
- Panel language independent from draft language
WordPress.org hygiene
- No remote executable JS / CDN loaders
- No artificial Pro locks in the free code
- Plugin Check clean target (0 errors / 0 warnings on v1.0.5+)
🧠 How it works
flowchart LR
A[TXT queue / niche pack] --> B[Book Flow]
B --> C[Outline]
C --> D[Expand beats]
D --> E[Quality gates]
E --> F[Draft post]
G[LLM endpoints] --> B
G -->|429 / error| H[Next endpoint]
H --> B
- Seed a topic (TXT line, niche pack, or manual query)
- k0d1r calls your endpoints in priority order
- Outline → long-form expansion → gates
- Result lands as a Draft in Posts — you edit & publish
📦 Install
From zip (recommended while directory review is pending)
- Download the latest release zip
- WordPress → Plugins → Add New → Upload
- Activate k0d1r
- Open k0d1r → Settings → add at least one API key
- Generate Now or start Autopilot
From source
git clone https://github.com/k0d1r/wordpress-ai-draft-generator.git
# symlink or copy into wp-content/plugins/country-demand-autopublisher
Requirements: WordPress 6.4+, PHP 8.1+
🔌 Providers
Bring your own keys. Examples (not affiliated):
| Provider | Notes |
|---|---|
| Groq | Fast free-tier friendly |
| OpenAI | GPT family |
| Google Gemini | Free tier available |
| OpenRouter | Many models, one key |
| Any OpenAI-compatible URL | DeepSeek, Together, Mistral, … |
Keys are encrypted with WordPress salts and stay on your site.
🧭 Honesty first
k0d1r is a drafting tool, not an SEO agency in a plugin.
- ❌ No “rank #1” claims
- ❌ No guaranteed traffic
- ❌ No SERP scraping
- ✅ Drafts you can edit
- ✅ Quotas so free APIs don’t melt overnight
If someone promises otherwise, they’re selling hope. We’re shipping drafts.
🖼️ Brand
| Asset | Path |
|---|---|
| Logo | media/logo.png |
| Banner | media/banner.png |
🗂️ Repo layout
country-demand-autopublisher.php # bootstrap + headers (Plugin Name: k0d1r)
src/ # PHP (Admin, Flow, Providers, Autopilot, …)
assets/admin/ # Admin UI (JS/CSS/views)
templates/ # Niche packs, styles, prompts
languages/ # tr_TR UI pack + English source strings
media/ # Brand assets for GitHub
readme.txt # WordPress.org readme
🤝 Contributing
Bugs, niches, and language packs welcome.
- Fork → feature branch
- Keep changes focused (no drive-by refactors)
- Don’t reintroduce remote JS CDNs (Guideline 8)
- Open a PR with why, not only what
Security issues: email via jolvox.com — please don’t file public issues for unpatched vulns.
⭐ Star this repo
If k0d1r saves you an evening of blank-page staring:
→ hit Star in the top-right.
It helps other WordPress builders find a BYOK tool that doesn’t lie about traffic.
📜 License
GPL-2.0-or-later — free as in freedom. See license.txt.
🔗 Links
- Website: jolvox.com
- Author: github.com/k0d1r
- WordPress.org (pending review): wordpress.org/plugins/k0d1r
Built by k0d1r · Drafts first. Hype never.