README Template
Application README: status table, features, quick start with prerequisites, usage, configuration table, architecture diagram, development, troubleshooting, support, licence
How to use: Use it for an application, service or internal tool; use the Library README for packages and the Detailed README for public open-source projects. Fill the one-line description and quick start first, and test every command on a clean machine. The main pitfall is commands that no longer work and badges nobody maintains.
Preview
[Project name]
README template for an application, service or internal tool: what it is, how to run it, how to use and configure it, how it is built, and how to contribute, get help and report security issues. For a reusable package, use the Library README template (
dev/library-readme); for a public open-source project with a full set of community sections, use the Detailed README template (dev/readme-full). Replace every[bracketed]value and every row marked Example. Worked examples use Larkspur Notes, a fictional note-sharing service from the fictional company Larkspur Labs.
CI License
[Project name] is a [short category, for example "web service"] that [does what] for [whom].
Example: Larkspur Notes is a self-hosted web service that lets small teams write, tag and share Markdown notes, with full-text search and per-note access control.
| Field | Value |
|---|---|
| Status | [Active development / Stable / Maintenance only / Archived] |
| Owners | [@team-or-maintainer] |
| Supported platforms | [Example: Linux and macOS, Docker on x86-64 and ARM64] |
| Documentation | [Link to the documentation site or docs/ folder] |
| Last reviewed | YYYY-MM-DD |
Features
- [Feature one]: [what it lets the user do and why it matters]
- [Feature two]: [what it lets the user do]
- [Feature three]: [what it lets the user do]
- Example: Search in under a second: full-text search across all notes the user may read, backed by PostgreSQL full-text indexes.
- Example: Share safely: each note has an owner, readers and editors; links expire after a configurable period.
Quick start
Prerequisites:
| Tool | Version | Check with |
|---|---|---|
| [Runtime] | [version range] | [runtime --version] |
| [Package manager] | [version range] | [tool --version] |
| Example: Node.js | An Active or Maintenance LTS line (see nodejs.org/en/about/previous-releases) | node --version |
| Example: Docker Engine | 27 or later, for the local database | docker --version |
Steps:
git clone https://github.com/[owner]/[repo].git
cd [repo]
cp .env.example .env # then fill in the values described in Configuration
[package-manager] install
[package-manager] run dev # starts the app on http://localhost:[port]
You should see [what success looks like, for example "the sign-in page at http://localhost:3000"]. If not, see Troubleshooting.
Usage
[Describe the main task in one sentence, then show it.]
# Example: create a note through the HTTP API
curl -X POST http://localhost:3000/api/notes \
-H "Authorization: Bearer $LARKSPUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title": "Release checklist", "body": "# Steps", "tags": ["ops"]}'
Expected result: HTTP 201 with the new note's identifier in the id field.
For every other task, see the [user guide]([docs link]).
Configuration
Configuration is read from environment variables, or from a .env file in development.
| Variable | Type | Default | Required | Description |
|---|---|---|---|---|
[NAME] | [string / number / boolean] | [default] | [Yes / No] | [What it controls] |
Example: PORT | number | 3000 | No | Port the HTTP server listens on |
Example: DATABASE_URL | string | none | Yes | PostgreSQL connection string. Secret: store in your secret manager, not in Git |
Example: SHARE_LINK_TTL_DAYS | number | 7 | No | Days before a shared link expires |
Example: LOG_LEVEL | string | info | No | One of debug, info, warn, error |
Architecture
The web app renders the interface and calls the API service. The API service enforces access
control on every request and stores notes in PostgreSQL; the full-text index lives in the same
database. Design decisions are recorded as architecture decision records in docs/adr/.
Development
| Task | Command |
|---|---|
| Run tests | [package-manager] test |
| Lint and type check | [package-manager] run lint |
| Build for production | [package-manager] run build |
| Example: Start a local database | docker compose up -d db |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| [What the user sees] | [Cause] | [Step to fix] |
Example: ECONNREFUSED 127.0.0.1:5432 on start | Local database not running | Run docker compose up -d db, then restart |
| Example: Shared link returns HTTP 410 | The link is older than SHARE_LINK_TTL_DAYS | Ask the note owner to share it again, or raise the setting |
If your problem is not listed, search the open and closed issues, then ask through the channels in SUPPORT.md with your version, operating system and the full error message.
Contributing
Contributions are welcome. Read CONTRIBUTING.md for the development workflow, the commit message format and the checks a pull request must pass. All participants follow the Code of Conduct.
Support and security
Questions: see SUPPORT.md. Do not report security vulnerabilities in public issues; follow SECURITY.md instead.
License
[SPDX identifier, for example MIT or Apache-2.0]. See LICENSE for the full text.
Related templates: Library README (dev/library-readme), Detailed README (dev/readme-full),
Contributing guide (dev/contributing), Support (dev/support), Security policy
(dev/security-policy), Architecture decision record (dev/adr), arc42 architecture
documentation (dev/arc42).
Standard and licence note
Based on common README practice and the GitHub documentation on READMEs, relative links, workflow status badges and community health files (as published in October 2026), with licence names from the SPDX License List. Check the current GitHub and Shields.io documentation, because badge URLs and rendering rules can change. Original text written for this collection. Template licence: MIT.
Related templates
GitHub Profile README Template
GitHub profile page: intro, current focus, tech stack, featured projects table, writing and talks, contact
Software & EngineeringLibrary and Package README Template
README for a published library: badges, install per package manager, quick start, API table, config, compatibility, SemVer
Software & EngineeringDetailed README Template
Open-source README (Best-README-Template order): about, built with, install, usage, structure, FAQ, supported versions, roadmap, contributing, security, support, governance, citation