From bdd25e1b822038d60476962f724041c3c4cb4a82 Mon Sep 17 00:00:00 2001 From: onamfc Date: Thu, 1 Oct 2026 18:31:48 -0700 Subject: [PATCH 1/2] chore(docs): add context7.json so Context7 indexes user docs, not maintainer docs Context7 indexes every markdown file in the repository. Without a config that includes the contributing guide, the CLA, the publishing guide and the Docker Hub description, so a developer asking an AI editor how to create a link can be handed a commit-message convention instead. This narrows the index to the README, the Docker and SDK guides, the examples and the infra deployment guides, sets the title and description shown on the library page, and adds a few short rules an assistant should know before writing code against the package. --- context7.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 context7.json diff --git a/context7.json b/context7.json new file mode 100644 index 0000000..298acc4 --- /dev/null +++ b/context7.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://context7.com/schema/context7.json", + "projectTitle": "LinkForty Core", + "description": "Open-source, self-hosted deep linking engine (Fastify + PostgreSQL + optional Redis): device-aware redirects, click analytics, deferred deep linking, webhooks, QR codes, link templates, and mobile SDK endpoints. AGPL-3.0. A replacement for Firebase Dynamic Links, Branch, and AppsFlyer OneLink.", + "folders": [], + "excludeFolders": [".github", "src", "migrations", "signatures", "coverage"], + "excludeFiles": ["CONTRIBUTING.md", "CLA.md", "PUBLISHING.md", "DOCKERHUB.md", "CHANGELOG.md"], + "rules": [ + "Install with `npm install @linkforty/core` and start it with `createServer()`; there is no built-in auth, so wrap the routes with your own.", + "Requires Node.js 20+ and PostgreSQL 14+; Redis is optional but recommended for link caching.", + "Short codes are immutable once created.", + "Hosted docs and the full integration guide live at https://docs.linkforty.com and https://docs.linkforty.com/llms-full.txt." + ] +} From bde5463dfe75aec627a40229fc6a574e40a3293f Mon Sep 17 00:00:00 2001 From: onamfc Date: Thu, 1 Oct 2026 18:38:32 -0700 Subject: [PATCH 2/2] chore(docs): add the Context7 ownership key to context7.json Context7 verifies ownership by fetching this file from the default branch and matching the url and public_key fields, which unlocks the admin panel (manual refresh, versions, benchmark) for the library. --- context7.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/context7.json b/context7.json index 298acc4..fdf4afb 100644 --- a/context7.json +++ b/context7.json @@ -1,10 +1,24 @@ { "$schema": "https://context7.com/schema/context7.json", + "url": "https://context7.com/linkforty/core", + "public_key": "pk_MlDjDTLjCOVjEQjWWTUNb", "projectTitle": "LinkForty Core", "description": "Open-source, self-hosted deep linking engine (Fastify + PostgreSQL + optional Redis): device-aware redirects, click analytics, deferred deep linking, webhooks, QR codes, link templates, and mobile SDK endpoints. AGPL-3.0. A replacement for Firebase Dynamic Links, Branch, and AppsFlyer OneLink.", "folders": [], - "excludeFolders": [".github", "src", "migrations", "signatures", "coverage"], - "excludeFiles": ["CONTRIBUTING.md", "CLA.md", "PUBLISHING.md", "DOCKERHUB.md", "CHANGELOG.md"], + "excludeFolders": [ + ".github", + "src", + "migrations", + "signatures", + "coverage" + ], + "excludeFiles": [ + "CONTRIBUTING.md", + "CLA.md", + "PUBLISHING.md", + "DOCKERHUB.md", + "CHANGELOG.md" + ], "rules": [ "Install with `npm install @linkforty/core` and start it with `createServer()`; there is no built-in auth, so wrap the routes with your own.", "Requires Node.js 20+ and PostgreSQL 14+; Redis is optional but recommended for link caching.",