CodeNarrate reads your codebase and writes the documentation developers actually need — docstrings, READMEs, API docs, and changelogs. Automatically. On every push.
def calc_discount(price, user, code): if code == "SAVE20": d = price * 0.20 elif user["tier"] == "pro": d = price * 0.15 else: d = 0 return price - d
def calc_discount(price, user, code): """Calculate final price after discounts. Applies a 20% discount for promo code SAVE20, or a 15% loyalty discount for Pro-tier users. Discounts are mutually exclusive; promo code takes priority. Args: price (float): Original product price. user (dict): User obj with 'tier' key. code (str): Optional promo code. Returns: float: Discounted price. """ if code == "SAVE20": d = price * 0.20
// The problem
And the first thing to go stale. We've all been there.
Code changes daily. Documentation doesn't. Within weeks, your docs are misleading at best and dangerous at worst. Teams stop trusting them and stop writing them.
It's always "I'll document it later." Later never comes. PRs get merged with zero docstrings, README goes untouched for months, and tribal knowledge lives only in Slack threads.
New hires spend their first two weeks asking "what does this function do?" instead of shipping. The real cost is invisible — until someone quits after six months of confusion.
// Features
CodeNarrate parses your AST, understands function signatures, call patterns, and variable semantics — then writes accurate, readable docstrings automatically.
Hook into your push pipeline. Every merge triggers a documentation pass — so docs are always one commit behind code at worst, never months.
Scan a repo cold and get a full README: purpose, install steps, usage examples, API surface, contribution guide. Ready to ship.
Generate structured API docs from your routes, controllers, or exported modules. OpenAPI-compatible output, always in sync with your actual endpoints.
Parse your commit history and diffs to produce human-readable changelogs. Categorized by feature, fix, and breaking change — no manual curation required.
Works across your whole stack. No need for separate tools per language.
// How it works
Authorize CodeNarrate on GitHub, GitLab, or Bitbucket. Or install the CLI and point it at any local directory.
Our models parse every file, map the call graph, detect patterns, and understand context beyond just function signatures.
Docstrings, README, API reference, and changelog are written in your style — review and merge via a clean PR.
Git hook fires on every push. Changed functions get updated docs. New functions get fresh ones. Deleted ones are cleaned up.
// Pricing
// Early access
We're letting in early users now. Grab your spot and lock in founding-member pricing.
Get notified when CodeNarrate opens access.
Early users get 3 months free on any paid plan.