feat: SEO improvements — Twitter cards, canonical URL, sitemap, robots, llms.txt

Adds metadataBase, og:image, og:url, Twitter card tags, canonical
URL, sitemap.ts, robots.ts with AI crawler directives, and llms.txt.
This commit is contained in:
Vectry
2026-02-10 02:21:19 +00:00
parent 40d60b1ce6
commit de8b827562
4 changed files with 77 additions and 0 deletions

22
apps/web/public/llms.txt Normal file
View File

@@ -0,0 +1,22 @@
# CodeBoard
> CodeBoard is a developer tool that generates interactive onboarding documentation from any GitHub repository. Paste a URL and get architecture diagrams, module breakdowns, and getting started guides in minutes.
CodeBoard uses AI to analyze codebases and produce structured documentation that helps new developers understand unfamiliar projects quickly. It generates visual architecture diagrams, identifies key modules and their relationships, and creates step-by-step getting started guides.
## Product
- [CodeBoard App](https://codeboard.vectry.tech): Paste a GitHub URL to generate documentation
- [Source Code](https://gitea.repi.fun/repi/codeboard): Repository on Gitea
## Features
- **Architecture Diagrams**: Auto-generated visual maps of codebase structure and dependencies
- **Module Breakdowns**: Detailed analysis of each major component with purpose and key files
- **Getting Started Guides**: Step-by-step instructions for setting up and running the project
- **Technology Detection**: Identifies frameworks, languages, and tools used in the project
## Optional
- [Vectry](https://vectry.tech): Built by Vectry, an engineering-first AI consultancy
- [AgentLens](https://agentlens.vectry.tech): Sister product — open-source agent observability platform

View File

@@ -17,11 +17,13 @@ const jetbrainsMono = JetBrains_Mono({
});
export const metadata: Metadata = {
metadataBase: new URL("https://codeboard.vectry.tech"),
title: "CodeBoard — Understand any codebase in 5 minutes",
description:
"Paste a GitHub URL and get interactive onboarding documentation with architecture diagrams, module breakdowns, and getting started guides. Built by Vectry AI consultancy.",
keywords: ["code analysis", "documentation", "github", "codebase", "AI", "developer tools"],
authors: [{ name: "Vectry" }],
creator: "Vectry",
icons: {
icon: [
{ url: "/favicon.ico", sizes: "any" },
@@ -35,6 +37,31 @@ export const metadata: Metadata = {
description:
"Paste a GitHub URL and get interactive onboarding documentation with architecture diagrams, module breakdowns, and getting started guides.",
type: "website",
url: "https://codeboard.vectry.tech",
siteName: "CodeBoard",
locale: "en_US",
images: [
{
url: "/og-image.png",
width: 1200,
height: 630,
alt: "CodeBoard — Understand any codebase in 5 minutes",
},
],
},
twitter: {
card: "summary_large_image",
title: "CodeBoard — Understand any codebase in 5 minutes",
description:
"Paste a GitHub URL and get interactive onboarding documentation with architecture diagrams, module breakdowns, and getting started guides.",
images: ["/og-image.png"],
},
alternates: {
canonical: "https://codeboard.vectry.tech",
},
robots: {
index: true,
follow: true,
},
};

View File

@@ -0,0 +1,20 @@
import { MetadataRoute } from "next";
export default function robots(): MetadataRoute.Robots {
return {
rules: [
{ userAgent: "GPTBot", allow: "/" },
{ userAgent: "ClaudeBot", allow: "/" },
{ userAgent: "PerplexityBot", allow: "/" },
{ userAgent: "CCBot", disallow: "/" },
{ userAgent: "Google-Extended", disallow: "/" },
{ userAgent: "Bytespider", disallow: "/" },
{
userAgent: "*",
allow: "/",
disallow: ["/api/"],
},
],
sitemap: "https://codeboard.vectry.tech/sitemap.xml",
};
}

View File

@@ -0,0 +1,8 @@
import { MetadataRoute } from "next";
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = "https://codeboard.vectry.tech";
return [
{ url: baseUrl, lastModified: new Date(), changeFrequency: "weekly", priority: 1.0 },
];
}