• Stars
    star
    5,768
  • Rank 7,046 (Top 0.2 %)
  • Language
    Shell
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A standard style for README files

Standard Readme

standard-readme compliant

A standard style for README files

Your README file is normally the first entry point to your code. It should tell people why they should use your module, how they can install it, and how they can use it. Standardizing how you write your README makes creating and maintaining your READMEs easier. Great documentation takes work!

This repository contains:

  1. The specification for how a standard README should look.
  2. A link to a linter you can use to keep your README maintained (work in progress).
  3. A link to a generator you can use to create standard READMEs.
  4. A badge to point to this spec.
  5. Examples of standard READMEs - such as this file you are reading.

Standard Readme is designed for open source libraries. Although it’s historically made for Node and npm projects, it also applies to libraries in other languages and package managers.

Table of Contents

Background

Standard Readme started with the issue originally posed by @maxogden over at feross/standard in this issue, about whether or not a tool to standardize readmes would be useful. A lot of that discussion ended up in zcei's standard-readme repository. While working on maintaining the IPFS repositories, I needed a way to standardize Readmes across that organization. This specification started as a result of that.

Your documentation is complete when someone can use your module without ever having to look at its code. This is very important. This makes it possible for you to separate your module's documented interface from its internal implementation (guts). This is good because it means that you are free to change the module's internals as long as the interface remains the same.

Remember: the documentation, not the code, defines what a module does.

~ Ken Williams, Perl Hackers

Writing READMEs is way too hard, and keeping them maintained is difficult. By offloading this process - making writing easier, making editing easier, making it clear whether or not an edit is up to spec or not - you can spend less time worrying about whether or not your initial documentation is good, and spend more time writing and using code.

By having a standard, users can spend less time searching for the information they want. They can also build tools to gather search terms from descriptions, to automatically run example code, to check licensing, and so on.

The goals for this repository are:

  1. A well defined specification. This can be found in the Spec document. It is a constant work in progress; please open issues to discuss changes.
  2. An example README. This Readme is fully standard-readme compliant, and there are more examples in the example-readmes folder.
  3. A linter that can be used to look at errors in a given Readme. Please refer to the tracking issue.
  4. A generator that can be used to quickly scaffold out new READMEs. See generator-standard-readme.
  5. A compliant badge for users. See the badge.

Install

This project uses node and npm. Go check them out if you don't have them locally installed.

$ npm install --global standard-readme-spec

Usage

This is only a documentation package. You can print out spec.md to your console:

$ standard-readme-spec
# Prints out the standard-readme spec

Generator

To use the generator, look at generator-standard-readme. There is a global executable to run the generator in that package, aliased as standard-readme.

Badge

If your README is compliant with Standard-Readme and you're on GitHub, it would be great if you could add the badge. This allows people to link back to this Spec, and helps adoption of the README. The badge is not required.

standard-readme compliant

To add in Markdown format, use this code:

[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

Example Readmes

To see how the specification has been applied, see the example-readmes.

Related Efforts

Maintainers

@RichardLitt.

Contributing

Feel free to dive in! Open an issue or submit PRs.

Standard Readme follows the Contributor Covenant Code of Conduct.

Contributors

This project exists thanks to all the people who contribute.

License

MIT Β© Richard Littauer

More Repositories

1

awesome-fantasy

🏰 Fantasy literature worth reading
1,115
star
2

meta-knowledge

πŸ’‘ A list of knowledge repositories
790
star
3

awesome-conferences

🎫 A list of awesome conferences
Ruby
774
star
4

awesome-styleguides

πŸ“‹ A list of styleguides
Shell
701
star
5

low-resource-languages

Resources for conservation, development, and documentation of low resource (human) languages.
TeX
370
star
6

knowledge

πŸ’‘ document everything
HTML
229
star
7

generator-standard-readme

Scaffold out a Standard Readme
JavaScript
191
star
8

ipfs-textbook

[unmaintained] Helping me understand what IPFS is and how it works
44
star
9

open-source-protocol

πŸ”“ Open up web development
CSS
44
star
10

remote-workers-toolbox

What's in your metaphorical toolbox?
21
star
11

thesis

My thesis on "Open Source Code and Low Resource Languages" for an MSc in Language Science and Technology at Saarland University
TeX
20
star
12

cabin-porn

🏑 πŸ’» Set the current desktop to a cabin from CabinPorn.com.
Python
19
star
13

awesome-docs

An awesome list of awesome documentation and documentation resources
17
star
14

awesome-opsec

Awesome Operational Security resources
16
star
15

the-user-is-drunk

The User is Drunk website
HTML
15
star
16

jabbar

Find out who is interested in your GitHub Code
JavaScript
14
star
17

watch-gh-repos

Watch, unwatch, or ignore GitHub repositories
JavaScript
13
star
18

nomad-as-fuck

Showcasing the people behind the most badass nomads on Earth.
CSS
12
star
19

git-hook-lat-long

This git commit hook adds a lat long to your commit message.
Shell
11
star
20

dbird

Putting eBird on the decentralized web
HTML
11
star
21

awesome-annotation

State of the annotation field
11
star
22

stranded-by-trump

Helping travelers stranded by Trump
CSS
10
star
23

a-bear

You wouldn't import a bear
JavaScript
10
star
24

standard-readme-preset

remark preset to configure remark-lint with settings that enforce standard-readme.
JavaScript
9
star
25

journall

Create a journal entry a day in markdown.
JavaScript
8
star
26

curiosity

Modelling robotos on other planets beep boop
8
star
27

2117.91USD

Let's see how fast I can make $2117.91 USD. The goal is by end of day, Sunday March 18th.
Ruby
8
star
28

octobuild

What are you building this October?
CSS
8
star
29

wired-in

A time-tracker and task organisation program.
Python
8
star
30

inline-style-2-json

Convert CSS inline stlyes to JSON
JavaScript
8
star
31

ebird-ext

Tools for doing stuff with eBird data
JavaScript
8
star
32

generate-hackmd-links

Automatically generate hackmd.io pads for your markdown file
JavaScript
7
star
33

gh-description

Set and get a GitHub repository description
JavaScript
7
star
34

minimal-cayman

A minimal Jekyll theme inspired by Cayman
CSS
6
star
35

git-remote-to-ssh

Automatically convert GitHub origin urls from https to ssh
JavaScript
6
star
36

ships-log

Open up a log file for today in a project folder
JavaScript
5
star
37

burntfen.com

My website
HTML
5
star
38

awesome-writing

Tools for writing awesomely
5
star
39

tinyletter-script

A script to send tinyletter emails from your command line
Python
5
star
40

gaelic-resources

A list of computational resources for Gaelic
4
star
41

open-github-notifications

Open GitHub notifications from your command line
JavaScript
4
star
42

remark-title

mdast plugin to check and inject the title of a markdown as the first element.
JavaScript
4
star
43

extract-id3-tags-from-mp3s

Extracts id3 tags from an mp3 file
JavaScript
4
star
44

governancemd

A start at something.
4
star
45

58-liters

A place to talk about what's in your bag
Shell
4
star
46

generator-nms

Scaffold out a minimal node module using standard and ava
JavaScript
4
star
47

birdinginvermont.com

The source for birdinginvermont.com, where I use mainly use eBird data with React and D3 to help birders in VT
HTML
4
star
48

governances-of-open-source

4
star
49

natural-gutenberg

Text corpora from Project Gutenburg used by NLTK
JavaScript
4
star
50

ignore-github-users

Remove GitHub notifications from specific users
JavaScript
4
star
51

trello-helpers

Just some helpers for me
JavaScript
4
star
52

chrome-ext-screen-capture

Capture screen from a chrome extension
JavaScript
4
star
53

the-user-is-my-mom

The user. She is my mom.
CSS
4
star
54

remark-lint-appropriate-heading

Check that the top-level heading matches the directory name
JavaScript
3
star
55

i-been-there

Where has Richard been
JavaScript
3
star
56

is-github-user-or-org

Determines whether a GitHub profile is a User or an Organization
JavaScript
3
star
57

dotfiles

My dotfiles
Shell
3
star
58

egoless-web

Building an egoless web
CSS
3
star
59

validate-maintainers

Validate your npm package maintainers to limit your bus factor
JavaScript
3
star
60

Other-Codes

This is basically a grab-bag of random stuffs.
Python
3
star
61

the-academic-ospocon-review

3
star
62

meta

A public project management dashboard for projects we can work on together
3
star
63

awesome-nomad

Awesome Nomadic Resources
3
star
64

standard-readme-linter-regex

A dumb regex linter for standard-readme
JavaScript
3
star
65

practice

A helper to print out things I need to do daily
JavaScript
3
star
66

of-walking-in-snow

HTML
3
star
67

the-travel-shelf

A magazine and index of beautiful global independent bookstores
JavaScript
3
star
68

somerville.js

Somerville.js meetup
3
star
69

kenya-map

This is a map of Kenya, as a test example.
JavaScript
3
star
70

nfc-logs

2
star
71

impactfulopensource.com

JavaScript
2
star
72

awesome-mindfulness

Bringing zen mindfulness to code
2
star
73

kanjin

Idea repo for a site for making a registry of all kanji with OCR capabilities
2
star
74

browser-node-slack

Slack integration for node and browserify
JavaScript
2
star
75

github-task-status

Check the status of a GitHub issue tasklist
JavaScript
2
star
76

jekyll-scheduler-probot

A Probot that automatically builds your GitHub Pages site
JavaScript
2
star
77

spoonerisms

A spoonerism generator
JavaScript
2
star
78

rill

Stream & git based time management
JavaScript
2
star
79

what-is-richard-doing-now

A site for showing what I am doing.
HTML
2
star
80

sustain-runbook

2
star
81

lrl

For work concerning low resource languages.
C
2
star
82

exploring-eth

A journal experiment for exploring the Ethereum developer ecosystem
Ruby
2
star
83

talks

Talks of mine at conferences and meetups
JavaScript
2
star
84

business-generator

Automatically generate business ideas
2
star
85

language-niche-research

Scientific repository for fiddling around with linguistic data
Python
2
star
86

vesper-to-ebird

Small scripts to help with NFCs
JavaScript
2
star
87

nfc-resources

Resources for Nocturnal Flight Calls
2
star
88

standard-readme-cli

A CLI for standard readme
JavaScript
2
star
89

gh-upstream

Open the GitHub page of the upstream remote for the repo in the current directory
JavaScript
2
star
90

ldc-word-aligner

The LDC Word Aligner is a Python-based tool used for annotating manual word alignments (or gold standard alignments). Sentence-segmented parallel texts are required as input.
Python
2
star
91

choosing-a-deck

How to choose a Lord of the Rings TCG deck to play with
JavaScript
1
star
92

get-github-shortname

Get the GitHub repository name
JavaScript
1
star
93

antinomadic

Source code for antinomadic.com
CSS
1
star
94

msgr-vesper-archive-2021-no-longer-in-use

Python
1
star
95

end-lang-helper

A helper for RichardLitt/endangered-languages.
JavaScript
1
star
96

things-i-carry

TBD
JavaScript
1
star
97

minimal-todo

A minimal to do list organizer
Shell
1
star
98

papers-we-love-bos

Papers We ❀️ in Boston
1
star
99

open-source-funders

Name and descrition TBA
1
star
100

latex-templates

My Personal LaTeX Templates
TeX
1
star