# README template for GitHub projects

> A good README says what the project does in one sentence, shows it, and gets a reader from install to a first result in a few commands. Copy the example below as README.md, replace Acme and its commands with your project, and cut any section your project doesn't need.

Updated November 30, 2026. Canonical: https://sniptide.com/templates/readme-template
Open it in the Sniptide editor: https://app.sniptide.com/new?template=readme-template
Files as JSON: https://sniptide.com/templates/readme-template.json

## Files

### README.md

````markdown
# Acme

Acme turns CSV exports from your bank into categorized monthly reports you can open in any
spreadsheet.

![Acme's report view with spending grouped by category](docs/screenshot.png)

## Features

- Imports CSV exports from most European and US banks.
- Categorizes transactions with rules you can edit.
- Exports reports as CSV, XLSX or PDF.
- Runs locally. Your data never leaves your machine.

## Install

Acme needs Node.js 24 or later.

```bash
npm install --global acme-reports
```

## Usage

```bash
acme import ~/Downloads/statement.csv
acme report --month 2026-10 --format xlsx
```

The report is saved as `acme-2026-10.xlsx` in the current folder. Run `acme --help` for every
command and option.

## Configuration

Acme reads `~/.config/acme/config.toml`. Create it with `acme init`.

| Option | Default | Description |
| --- | --- | --- |
| `currency` | `EUR` | The currency reports use |
| `rules` | `~/.config/acme/rules.toml` | The file with categorization rules |
| `output` | `.` | The folder reports are saved to |

## Development

```bash
git clone https://github.com/acme/acme.git
cd acme
npm ci
npm test
```

See [CONTRIBUTING.md](CONTRIBUTING.md) for how to propose a change.

## License

[MIT](LICENSE)
````

## The order matters [#the-order-matters]

Most visitors read the first two lines and look at the screenshot, then decide. So the README answers their questions in the order they ask them: what is it, what does it look like, how do I install it, and how do I use it. Reference material, such as configuration, comes after the reader has seen it work.

## What each section does [#what-each-section-does]

| Section | What it answers | How to write it |
| --- | --- | --- |
| Title and summary | What the project does and for whom. | One sentence with a concrete result. "Turns CSV exports into monthly reports" beats "A modern finance toolkit". |
| Screenshot | What it looks like. | A real screen with realistic data, and alt text that describes it. Use a terminal recording for a CLI. |
| Features | Whether it covers the reader's case. | Four to six lines, each a capability. Include the limits people ask about. |
| Install | What it needs and how to get it. | Name the prerequisites with versions, then one command. |
| Usage | How to get a first result. | The shortest path to something visible, and what the reader should see. |
| Configuration | What can change and the defaults. | A table, when there are more than two options. Move it to `docs/` when it outgrows one screen. |
| Development | How to work on the project. | Clone to passing tests, then a link to [CONTRIBUTING.md](/templates/contributing-md). |
| License | Whether the reader can use it. | The license name, linked to the file. |

Test the install and usage commands in a fresh environment before each release. A README that fails at step one loses the reader.

## Variant: a library README [#variant-a-library-readme]

For a package people import, replace Usage with the smallest working code example and link the API reference:

````md title="README.md"
## Usage

```ts
import { parseStatement } from "acme-reports"

const transactions = await parseStatement("statement.csv")
console.log(transactions[0])
// { date: "2026-10-01", amount: -12.5, description: "Coffee", category: "Food" }
```

See the [API reference](https://acme.example.com/docs) for every function.
````

## Variant: badges [#variant-badges]

Add badges under the title only when they tell the reader something they need, such as the build status or the latest version. One row of two or three is enough.

```md title="README.md"
[![CI](https://github.com/acme/acme/actions/workflows/ci.yml/badge.svg)](https://github.com/acme/acme/actions/workflows/ci.yml)
[![npm](https://img.shields.io/npm/v/acme-reports)](https://www.npmjs.com/package/acme-reports)
```
