[NTTP]

README Writer

Describe your project or paste rough notes. Get a complete README with the sections real developers expect, no padding.

What it is, what it does, who it is for. Rough notes are fine.

Optional

Optional. Languages, frameworks, or dependencies worth naming.

Shapes which sections the README needs.

Optional

Optional. e.g. "no license section, I'll add that myself" or "add a contributing section".

Free to try, no sign-up needed

Your text isn't stored. It's sent to Anthropic to generate your result, then discarded. Privacy

Prefer to write it yourself? Use the free prompt.

New to this? Read the guide.

What it produces

Real output from this tool, not a mock-up.

What went in

What your project is
A small CLI that watches a directory of markdown files and rebuilds a static site when anything changes. Built it because the existing options were either too heavy or needed a config file to do anything. Zero config by default, reads frontmatter for title and date, outputs plain HTML with no client side JavaScript. Supports a custom template. Install with npm, run with a single command pointed at a folder.
Tech stack
Node 22, TypeScript, marked for markdown parsing, chokidar for file watching. No framework.
Project type
CLI tool
Sections to include or exclude
Include a quick start near the top. Include a section on the custom template format. Do not include a contributing section or a code of conduct, it is a personal project.

What came back

# mdsite A small CLI that watches a directory of markdown files and rebuilds a static site whenever anything changes. No config file needed, no client side JavaScript in the output. ## Quick start ```bash npx mdsite ./content ``` Point it at a folder of markdown files and it builds a static site, then watches for changes and rebuilds automatically. ## Install ```bash npm install -g mdsite ``` ## Usage ``` mdsite <directory> ``` ```bash mdsite ./content ``` ```bash mdsite ./content --template ./templates/post.html ``` Run it pointed at a directory of markdown files. It reads frontmatter for title and date, converts each file to plain HTML, and rebuilds when a file changes. ## Options or flags - `--template`: path to a custom HTML template to use instead of the default output ## Custom template format By default mdsite outputs plain HTML with no template needed. If you pass `--template`, it expects an HTML file with placeholders that get replaced per page: - `{{title}}`: the title from frontmatter - `{{date}}`: the date from frontmatter - `{{content}}`: the rendered HTML body of the markdown file Example template: ```html <!DOCTYPE html> <html> <head><title>{{title}}</title></head> <body> <h1>{{title}}</h1> <p>{{date}}</p> {{content}} </body> </html> ``` Frontmatter in your markdown files should look like: ``` --- title: My Post date: 2024-01-15 --- Content goes here. ``` ## Tech stack - Node 22 - TypeScript - [marked](https://www.npmjs.com/package/marked) for markdown parsing - [chokidar](https://www.npmjs.com/package/chokidar) for file watching No framework, just a CLI script.

When to use it

Use this when the project works and the README is a single line. It writes the sections developers actually look for, in the order they look for them, without padding it out with badges and a table of contents nobody needs.

Common questions

What sections will it include?
The ones that match your project type. A CLI needs installation, usage and options near the top. A library needs the API. An app needs how to run it locally. It will not add a contributing guide or a code of conduct to a personal project unless you ask.
Will it invent installation steps?
No. It works from what you describe, so if you do not mention how it is installed, that section stays thin rather than confidently wrong. Anything it cannot know is left for you to fill in, which is better than a plausible command that fails.
Can I exclude sections I do not want?
Yes, and it is worth being specific. Most generated READMEs are too long, and the padding is what stops people reading the part that matters. The example excludes contributing and a code of conduct for exactly that reason.
Is it free?
You can run it three times a day with no account. Signing in gives you renewing monthly credits, and this tool costs one credit per run with the one-click refinements included.

Similar tools

All Developers