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.
  • Generates only the badges selected in readme.badges, preserving their configured order.
  • 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 consumer-facing workspace with the app, package, tool, or config role.

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-runRun without writing any files.
-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 me/us, my/our usage.
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.
readme.badgesExact ordered badge identifiers to include. Missing and empty arrays produce no badges.
urls.npmnpm package URL used by the selected npm badges.
urls.dockerDocker Hub URL used by the selected Docker badges.
github.ownerGitHub owner — combined with github.repo into the repo slug.
github.repoGitHub repo name — joined with github.owner for selected GitHub badges.
urls.fundSourcesArray of funding URLs used by the selected funding badge and credits section.
entitiesEntities with a contributor or supporter role are listed by name and URL in the credits section.

Supported Badges

Badges render in the same order as readme.badges. Unknown identifiers, duplicates, and badges without their required source fail config validation.

IdentifierBadgeRequired Source
homebridgeHomebridgeNone.
homebridge-verifiedVerified HomebridgeNone.
npm-versionnpm versionurls.npm.
npm-downloadsnpm downloadsurls.npm.
docker-pullsDocker pullsurls.docker.
docker-image-sizeDocker image sizeurls.docker.
github-releaseLatest GitHub releasegithub.owner and github.repo.
github-top-languageGitHub top languagegithub.owner and github.repo.
github-licenseGitHub licensegithub.owner and github.repo.
fundingFundingAt least one urls.fundSources entry.

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.
<workspace>/README.mdA copy of the same README placed in each consumer-facing workspace (roles app, package, tool, and config), excluding the root workspace.