Skip to main content

README (README.md)

Create a baseline README.md populated with project name, description, dynamic badges, documentation links, and a credits section from the Nova config.

Why Use This Command?

  • Produces a consistent README with shields badges, documentation links, and correct pronoun usage without manual editing.
  • Dynamically generates platform badges based on project.platforms and funding badges from urls.fundSources.
  • Draws every value from nova.config.json, so regenerating after a config change keeps the file in sync.
  • Automatically copies the generated file into each distributable workspace.

Requirements

  • Node.js runtime — Use any Node.js LTS release.
  • Project root — Run the command from the directory containing the top-level package.json.
  • nova.config.json — A valid config file must exist at the project root with the fields listed below.

Usage

Options

FlagDescription
-d, --dry-runPreview the target file path without writing anything to disk.
-r, --replace-fileOverwrite the existing file instead of creating a .nova-backup copy.

Config Fields

FieldDescription
project.name.titleDisplay name used in the heading.
project.description.longLong project description shown below the heading.
project.pronouns"personal" or "business" — controls I/we, me/us, my/our usage.
project.platformsDetermines which platform badges and language logo to include.
urls.homepageProject homepage URL linked from the logo.
urls.logoAbsolute URL to the project logo image.
urls.documentationDocumentation site URL used in the links section.
urls.githubGitHub repository URL used for release, language, and license badges.
urls.npmnpm package URL — includes npm badges when nodejs is a platform.
urls.dockerDocker Hub URL — includes Docker Pulls and Image Size badges.
urls.fundSourcesArray of funding URLs — generates badges and credits section.

Supported Funding Platforms

PlatformDetected By
GitHub Sponsorsgithub.com/sponsors/
PayPalpaypal.com/ or paypal.me/
Open Collectiveopencollective.com/
Ko-fiko-fi.com/
Buy Me a Coffeebuymeacoffee.com/
Patreonpatreon.com/
Liberapayliberapay.com/

Output Files

FileDescription
README.mdProject README with badges, links, and description.