Skip to content
Menu

Samples

A README card and badge, on a made-up project

What a maintainer can put in a registered repository's README: a card that tells its readers who may use the project free and that large companies need to support charity, and a small badge beside the README's own badges. Drawn for the made-up project psn-sample/atlas by the same code that draws the real ones. Each says it is a sample, and none of it is valid anywhere.

README cards are not served here yet.

Each card is shown here as a README shows it: as a picture, light or dark to match the reader's theme.

Where it goes

The card comes in two forms, and where it goes decides which one a README shows.

Auto, the default
The small badge goes last in the README's own badge row, and the card right under the row. A README with no badges gets both right under its title.
Top
Under the README's title and badges, which the small badge joins; under the title even when the badges stand above it.
Bottom
The full card, in the README's License section. The small badge joins the README's own badges.

With Badge in place of Card, the README gets the small badge only: in its badge row or under its title (Auto and Top), or in its License section (Bottom).

The top form: Auto and Top

A slim card, 440 × 84 pixels, made to sit under a README's title and badges without crowding them: the repository's name, the licence's name, the licence's summary in one line, and who may use the project free.

Sample: the top form of the README card for psn-sample/atlas, with our mark, light
Sample: the top form of the README card for psn-sample/atlas, with our mark, dark
Our mark. The default: the Purpose Source mark, beside the licence's name. Light and dark.
Sample: the top form of the README card for psn-sample/atlas, with the repository's own picture, light
Sample: the top form of the README card for psn-sample/atlas, with the repository's own picture, dark
Your picture. The repository's own picture, which is its owner's picture on GitHub, beside its name. On a sample, a made-up drawing stands in for it. Light and dark.
Sample: the top form of the README card for psn-sample/atlas, with no icon, light
Sample: the top form of the README card for psn-sample/atlas, with no icon, dark
None. No picture on the card. Light and dark.

Under the card

Two small lines, each a link:

The full card: Bottom

The full card, 440 pixels wide, for the section where readers look for a project's terms: the owner and the name, the licence's name in a dark band, its summary, who may use the project free, and that contributors get credited and help choose charities. A real card ends with the licence's version and the month the repository was registered; a sample's ends with the word Sample.

Sample: the full README card for psn-sample/atlas, with our mark, light
Sample: the full README card for psn-sample/atlas, with our mark, dark
Our mark. The default: the Purpose Source mark, beside the licence's name. Light and dark.
Sample: the full README card for psn-sample/atlas, with the repository's own picture, light
Sample: the full README card for psn-sample/atlas, with the repository's own picture, dark
Your picture. The repository's own picture, which is its owner's picture on GitHub, beside its name. On a sample, a made-up drawing stands in for it. Light and dark.
Sample: the full README card for psn-sample/atlas, with no icon, light
Sample: the full README card for psn-sample/atlas, with no icon, dark
None. No picture on the card. Light and dark.

Under the card

The same two lines, at full size:

The small badge

The card brings the small badge with it, last in the README's own badge row. With Badge in place of Card, the small badge is all the README gets. It is a registered repository's own badge, shown with its card badge on the project sample, and it looks the same on a light page and a dark one.

Sample: Purpose Source: registered. Not a real repository.
Sample: the small badge, light.
Sample: Purpose Source: registered. Not a real repository.
Sample: the same badge on a dark page.
A registered repository has these badges here.

If a repository leaves

A README card is drawn by purposesource.org from the registry, not written into the README. If the repository stops being registered, either card turns into a slim strip that reads “Status: see the registry page”, and nothing in the README has to change.