More features
src/content/directory/integrations.json lists the products and platforms your listings work with: id (the slug; in the editor, Short name in addresses), name, and optionally description, url (its own website), logo and listing (a listing slug, when the integration is itself in the directory). A listing names them in integrations; the build checks every slug.
They get a “Works with” filter (add integration to filters), an index at /integrations and a page per integration (/integrations/<slug>, with an RSS feed), and a “Works with” fact on each listing page, linked to those pages. Rename the route if your audience says “apps”, “platforms” or “partners” (routes.integrations, and the labels in pages.json and labels.filter.integration).
Integrations show as names by default. Other companies’ logos are their trademarks: turn on integrations.logos only if you’re allowed to show the logos you add. The demo integrations are made up.
Collections
Section titled “Collections”Curated lists, such as “Essentials for remote teams”: a handful of listings in the order you choose, each with a line on why it’s there. They’re an index at /collections (routes.collections) and a page each (/collections/<slug>), linked from the main menu’s Explore group and the footer (the @collections menu token), with three of them on the homepage (home.json → collections, with show to turn it off). Each is a file in src/content/directory/collections/, named by its slug, and the CMS edits them as Collections:
{ "title": "Essentials for remote teams", "summary": "The tools we'd set up first for a team that works across time zones.", "intro": "Fewer meetings, clearer handovers and one place for every conversation.", "items": [ { "listing": "harbourline", "note": "One shared inbox, so customer emails stop living in someone's personal account." }, { "listing": "brightfold" } ], "updated": "2026-11-01", "order": 1}summary: one line, shown on the cards and in shared links.intro: a short paragraph at the top of the page (Markdown links work).items: the listings, in order.noteis optional, and is shown under its listing.updated: when you last checked the list, shown on the page.order(optional): lower first on the index; without it, the most recently updated first.status: "draft"keeps one off the site.seooverrides the page’s title, description and share image.
A listing that’s no longer published (deleted, renamed, a draft or archived) is left out of the list with a build warning, and a collection left with none isn’t built. collections.enabled: false turns the pages, the menu link and the CMS collection off. The page copy is in pages/collections.json and pages/collection.json. The demo collections are marked demo, and npm run demo:clear removes them.
The annual report
Section titled “The annual report”Once a year, a page of the directory in numbers: how it grew, what it covers, how listings charge, what they offer and work with, and how many are verified. It has your own introduction and conclusions, and charts drawn when the site builds (SVG, no chart library, nothing run in the browser). It’s at /reports/2026, and /reports lists every year (in the footer: the @reports menu token).
- Take the year’s snapshot at the end of the year (or later):
npm run report -- --year=2026. It writessrc/content/reports/2026.json. Add--submissionsto include how many listings were submitted through the site and how many were accepted (from the submission pipeline’s labelled pull requests; it needsGITHUB_TOKENor the GitHub CLI signed in). For the current year, the snapshot stops at today, and the page says so. - Write your commentary in
src/content/reports/2026.md, which the first run creates:title,description;headline: the one line the share image and the index lead with, such as “38% of tools now have an API”;- the body: your introduction, then a line with only
<!-- charts -->where the charts go, then your conclusions.
- Commit, and link it from the blog or the newsletter.
The numbers are frozen. The snapshot keeps every number and name as they were, so the 2026 report never changes when the directory does. Running it again for a year that has one refuses, unless you add --force. A new year adds a new file.
What’s counted. The starter only knows each listing’s current state, so:
- Growth goes by
date_added: the listings added each month, and the running total (published and archived listings; drafts never count). - Archived counts the listings archived now whose
date_updatedfalls in the year. It’s an approximation: a listing archived this year but edited later counts in the later year, and one archived without itsdate_updatedchanging counts in the year of its last edit. The figure is only in the downloads, and the page says so under the download links (pages/report.json→about_figures; empty to leave it out). The CSV’snotecolumn says it too. An exact figure would need adate_archivedfield set whenever a listing is archived. - The mix (categories, pricing, regions and remote, yes/no attributes, the ten most used integrations and tags, verified listings and the median founding year) is of the listings published at the snapshot’s date.
The page: four headline figures, your introduction, the sections in directory.config.json → reports.sections (growth, categories, pricing, regions, attributes, integrations, trust, in your order), your conclusions, and links to other years. Each chart has a title and a one-line description, a tooltip on each bar or point, and its data in a table under it (“Show the data”, folded). The page links its data as JSON and CSV, prints cleanly (no header or footer, the tables open), and has its own share image (the year, the headline and your brand). The chart titles and descriptions are in pages/report.json.
The charts’ colours come from your brand block. One series uses your text accent (primaryText), and your accent (primary) on dark. The pricing split is one ramp in your accent’s hue, from faint to deep, cheapest first. npm run qa:annual-report checks the snapshot’s arithmetic, holds those colours to their contrast rules for whatever brand you set, and checks every chart on the built page.
reports.enabled: false turns the pages off. The demo report (2026, from the demo listings) is marked demo, and npm run demo:clear removes it.
Embeddable lists
Section titled “Embeddable lists”Category and collection pages have Embed this list in their header. It opens a dialog for putting the list on another site, such as a partner’s blog or a newsletter’s web page. The visitor chooses how, sets a few options, and copies the code:
- HTML (recommended): plain HTML, a heading and the listings as links back to their pages here, with “Powered by {site}”. There’s no script and no frame, so it works everywhere and takes the other site’s styles, and its links count for your search ranking. It’s a snapshot: it doesn’t update itself.
- Live widget: an
<iframe>of the list’s embed page (/embed/category/<slug>,/embed/collection/<slug>), in your colours and always up to date, plus an optional sizing script (/embed.js, under 1 KB) that fits the frame to the list.
Options: how many listings (up to maxItems), logos, the one-line descriptions, and, for the live widget, light or dark (?count=5&theme=dark&logos=0&tagline=0 on the frame’s address).
What’s built: an embed page for every category with listings and every collection, with no header or footer and noindex, so they’re left out of the sitemap. Every link opens your directory in a new tab and carries ?ref=embed, so your analytics can count the visits embeds send. That’s separate from the outbound ?ref= on listings’ own websites.
Framing: the embed pages are the only pages another site may put in a frame. Every other page keeps refusing to be framed. dist/_headers does this on Cloudflare and Netlify; on Vercel, copy the vercel.json from “The security policy”. scripts/qa/embed.cjs checks it in a browser from another origin: an embed loads and sizes itself, and an ordinary page is refused.
"embeds": { "enabled": true, "route": "embed", "maxItems": 10, "types": ["category", "collection"], "poweredBy": true }types chooses which lists can be embedded. poweredBy: false drops the “Powered by” line. The dialog’s words are in pages/embed.json.
The quiz (“Find the right {singular}”)
Section titled “The quiz (“Find the right {singular}”)”A page at /find (quiz.route) that asks a few questions, one at a time, then suggests the best-fitting listings, each with a line on why it fits (“Free trial · Has an API”). It’s linked from the main menu’s Explore group and the footer (the @find menu token), and from a band on the homepage (home.json → quiz, with show to turn it off). The answers stay in the page’s address (/find?budget=free&team=small), so a result can be shared or bookmarked. Nothing is saved or sent: the scoring runs in the visitor’s browser over the same listings index the filters use.
The questions are in directory.config.json → quiz:
"quiz": { "enabled": true, "route": "find", "results": 3, "questions": [ { "id": "budget", "text": "What's your budget?", "type": "single", "options": [ { "id": "free", "label": "Free only", "fit": "Has a free plan", "match": { "pricing": ["free", "freemium", "open-source"] }, "require": true }, { "id": "any", "label": "Happy to pay for the right one", "match": {} } ] }, { "id": "needs", "text": "What do you need?", "type": "multi", "options": [ { "id": "api", "label": "An API", "fit": "Has an API", "match": { "attributes": { "has-api": true } }, "weight": 2 }, { "id": "small", "label": "Something for a small team", "match": { "attributes": { "team-size": ["1-10", "11-50"] } } } ] } ]}-
A question:
id(it names the question in the address),text, an optionalhint, andtype:"single"(radio buttons; an answer is needed to go on) or"multi"(checkboxes; any, or none). Up to eight questions. -
An option’s
match: what it stands for. Use any of these:categories,tags,integrations(slugs);pricing(free,freemium,paid,open-source,contact);attributes: an attribute’s id withtruefor a yes/no attribute, or an option’s id, or a list of option ids.
Within one kind, any value matches. Across kinds, all must.
"match": {}stands for nothing: “Happy to pay” neither scores nor filters. -
Scoring: a listing scores an option’s
weight(default 1) for each chosen option it matches."require": truerules out every listing that doesn’t match it, and the option shows a “Must have” label. The best scores come first, then verified listings, then the newest. -
What it says:
fitis how “Why it fits” names a matched option (default: its label).resultsis how many cards show (1 to 12). The page’s other words are inpages/find.json. -
Checks: when the site builds, every category, tag, integration and attribute value an option names is checked against your data. One that doesn’t exist (deleted in the CMS, say) is left out of that option, with a warning in the build log, so the quiz never breaks the build.
-
Without JavaScript, every question shows at once, and the button opens the browse page with the matching filters, where they map to filters it has.
Write your own questions for your categories and attributes, then try each path. quiz.enabled: false, or no questions, turns the page and its link off. npm run qa:quick tests it (scripts/qa/quiz.cjs) whenever the page changes.
Listing attributes
Section titled “Listing attributes”Attributes are the facts your directory tracks for every listing: “Free trial”, “Team size”, “Has an API”, “Languages”, or whatever your niche cares about. Define each one once in src/content/directory/attributes.json (a list; the CMS edits it as Attributes):
{ "id": "team-size", "label": "Team size", "type": "select", "show": ["fact", "filter"], "options": [{ "id": "1-10", "label": "1–10 people" }, { "id": "11-50", "label": "11–50 people" }], "definition": "How many people the company behind the product employs, as the company states it."}type:boolean(true or false),select(one option),multi(several options),number(withrangesfor its filter and an optionalunit) ortext(a fact only).show: any offilter(its place among the filters is its"attr:<id>"indirectory.config.json→filters; one that isn’t there is added at the end, and the build notes it),fact(a row in the listing page’s facts) andbadge(booleans only: a ticked name on cards, at mostbadgeLimit, and a chip in the listing header).definition: one sentence you’ll stand behind. The review page lists every attribute with its definition (the<AttributeDefinitions />line insrc/content/pages/how-we-review.mdx), and each badge links to it (/how-we-review#attr-<id>).icon(optional, e.g.hugeicons:gift) anddemo(npm run demo:clearremoves demo attributes no listing uses).
How many badges a card shows is attributes.badgeLimit in directory.config.json. An older copy of the starter may still define attributes in directory.config.json → attributes.items: they’re still read, but not alongside attributes.json (the build says to move them).
An attribute’s id is also its filter’s URL parameter (/listings?team-size=11-50), so it can’t be one the directory already uses (q, sort, page, category, pricing, region, tag and a few others); the build says so. Badges on cards are plain text, never the Editor’s pick style, so a fact never looks like a recommendation.