Skip to content

Commit ce18a45

Browse files
committed
feat(seo): add robots.txt, sitemap.xml, and meta tags
- Add robots.txt with sitemap reference - Add sitemap.xml for Google indexing - Add OpenGraph tags for social sharing - Add Twitter card meta tags - Add JSON-LD structured data - Add canonical URL TODO: Create og-image.png (1200x630)
1 parent 03243cf commit ce18a45

3 files changed

Lines changed: 84 additions & 2 deletions

File tree

frontend/index.html

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,65 @@
55
<link rel="icon" type="image/png" href="/favicon.png" />
66
<link rel="apple-touch-icon" href="/favicon.png" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<meta name="description" content="Stop feeling lost in unfamiliar codebases. Semantic code search powered by AI." />
8+
9+
<!-- Primary Meta Tags -->
10+
<title>OpenCodeIntel – Understand Any Codebase</title>
11+
<meta name="title" content="OpenCodeIntel – Understand Any Codebase" />
12+
<meta name="description" content="Stop feeling lost in unfamiliar codebases. Semantic code search powered by AI. Index your repos and search by meaning, not just keywords." />
13+
<meta name="keywords" content="code search, semantic search, AI code assistant, codebase understanding, developer tools, MCP, code intelligence" />
14+
<meta name="author" content="OpenCodeIntel" />
915
<meta name="theme-color" content="#0a0a0f" />
16+
17+
<!-- Canonical URL -->
18+
<link rel="canonical" href="https://opencodeintel.dev/" />
19+
20+
<!-- Open Graph / Facebook -->
21+
<meta property="og:type" content="website" />
22+
<meta property="og:url" content="https://opencodeintel.dev/" />
23+
<meta property="og:title" content="OpenCodeIntel – Understand Any Codebase" />
24+
<meta property="og:description" content="Stop feeling lost in unfamiliar codebases. Semantic code search powered by AI. Index your repos and search by meaning, not just keywords." />
25+
<meta property="og:image" content="https://opencodeintel.dev/og-image.png" />
26+
<meta property="og:image:width" content="1200" />
27+
<meta property="og:image:height" content="630" />
28+
<meta property="og:site_name" content="OpenCodeIntel" />
29+
30+
<!-- Twitter -->
31+
<meta name="twitter:card" content="summary_large_image" />
32+
<meta name="twitter:url" content="https://opencodeintel.dev/" />
33+
<meta name="twitter:title" content="OpenCodeIntel – Understand Any Codebase" />
34+
<meta name="twitter:description" content="Stop feeling lost in unfamiliar codebases. Semantic code search powered by AI. Index your repos and search by meaning, not just keywords." />
35+
<meta name="twitter:image" content="https://opencodeintel.dev/og-image.png" />
36+
37+
<!-- Additional SEO -->
38+
<meta name="robots" content="index, follow" />
39+
<meta name="googlebot" content="index, follow" />
40+
41+
<!-- Fonts -->
1042
<link rel="preconnect" href="https://fonts.googleapis.com">
1143
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1244
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
13-
<title>OpenCodeIntel – Understand Any Codebase</title>
45+
46+
<!-- JSON-LD Structured Data -->
47+
<script type="application/ld+json">
48+
{
49+
"@context": "https://schema.org",
50+
"@type": "SoftwareApplication",
51+
"name": "OpenCodeIntel",
52+
"applicationCategory": "DeveloperApplication",
53+
"operatingSystem": "Web",
54+
"description": "Semantic code search powered by AI. Index your repos and search by meaning, not just keywords.",
55+
"url": "https://opencodeintel.dev",
56+
"offers": {
57+
"@type": "Offer",
58+
"price": "0",
59+
"priceCurrency": "USD"
60+
},
61+
"author": {
62+
"@type": "Organization",
63+
"name": "OpenCodeIntel"
64+
}
65+
}
66+
</script>
1467
</head>
1568
<body>
1669
<div id="root"></div>

frontend/public/robots.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# OpenCodeIntel - Robots.txt
2+
# https://opencodeintel.dev
3+
4+
User-agent: *
5+
Allow: /
6+
7+
# Disallow authenticated/private routes
8+
Disallow: /dashboard
9+
Disallow: /settings
10+
Disallow: /repos/
11+
Disallow: /callback
12+
13+
# Sitemap location
14+
Sitemap: https://opencodeintel.dev/sitemap.xml

frontend/public/sitemap.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://opencodeintel.dev/</loc>
5+
<lastmod>2026-02-17</lastmod>
6+
<changefreq>weekly</changefreq>
7+
<priority>1.0</priority>
8+
</url>
9+
<url>
10+
<loc>https://opencodeintel.dev/login</loc>
11+
<lastmod>2026-02-17</lastmod>
12+
<changefreq>monthly</changefreq>
13+
<priority>0.5</priority>
14+
</url>
15+
</urlset>

0 commit comments

Comments
 (0)