Skip to content

Commit 4732ed3

Browse files
committed
docs: add homepage software metadata
1 parent e39fff9 commit 4732ed3

3 files changed

Lines changed: 48 additions & 0 deletions

File tree

docs/index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,31 @@
1212
<link rel="canonical" href="https://aaronlab.github.io/browsertrace/">
1313
<link rel="sitemap" type="application/xml" href="./sitemap.xml">
1414
<link rel="alternate" type="text/plain" title="llms.txt" href="./llms.txt">
15+
<script type="application/ld+json">
16+
{
17+
"@context": "https://schema.org",
18+
"@type": "SoftwareSourceCode",
19+
"name": "BrowserTrace",
20+
"description": "Local flight recorder for AI browser agents with screenshots, URLs, model I/O, errors, and public-safe HTML exports.",
21+
"url": "https://aaronlab.github.io/browsertrace/",
22+
"codeRepository": "https://github.com/aaronlab/browsertrace",
23+
"license": "https://opensource.org/license/mit",
24+
"programmingLanguage": "Python",
25+
"applicationCategory": "DeveloperApplication",
26+
"operatingSystem": "OS Independent",
27+
"isAccessibleForFree": true,
28+
"keywords": [
29+
"AI agents",
30+
"browser automation",
31+
"Browser Use",
32+
"Stagehand",
33+
"Skyvern",
34+
"Playwright",
35+
"LLM observability",
36+
"debugging"
37+
]
38+
}
39+
</script>
1540
<title>BrowserTrace live demo</title>
1641
<style>
1742
:root {

docs/launch/metrics-log.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ uv run --python 3.11 python scripts/launch_metrics.py --json
7575
| 2026-05-09T11:48:03+00:00 | 3 | 998 | 0 | 0 | 8 | 0 | 0 | after public-safe demo release asset added: https://github.com/aaronlab/browsertrace/releases/download/v0.1.10/browsertrace-demo-public.html |
7676
| 2026-05-09T11:51:36+00:00 | 3 | 998 | 0 | 0 | 8 | 0 | 0 | after public-safe demo asset linked from launch docs |
7777
| 2026-05-09T11:53:36+00:00 | 3 | 998 | 0 | 0 | 8 | 0 | 0 | after owner action issues linked public-safe demo asset: #9 #10 |
78+
| 2026-05-09T11:55:38+00:00 | 3 | 998 | 0 | 0 | 8 | 0 | 0 | after homepage SoftwareSourceCode structured data update |

tests/test_metadata.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
from __future__ import annotations
44

5+
import json
6+
import re
57
import tomllib
68
from pathlib import Path
79

@@ -14,3 +16,23 @@ def test_package_version_matches_module_version():
1416

1517
assert pyproject["project"]["version"] == "0.1.10"
1618
assert pyproject["project"]["version"] == browsertrace.__version__
19+
20+
21+
def test_homepage_has_software_source_code_json_ld():
22+
project_root = Path(__file__).resolve().parents[1]
23+
homepage = (project_root / "docs" / "index.html").read_text()
24+
25+
match = re.search(
26+
r'<script type="application/ld\+json">\s*(.*?)\s*</script>',
27+
homepage,
28+
re.S,
29+
)
30+
31+
assert match is not None
32+
metadata = json.loads(match.group(1))
33+
assert metadata["@context"] == "https://schema.org"
34+
assert metadata["@type"] == "SoftwareSourceCode"
35+
assert metadata["name"] == "BrowserTrace"
36+
assert metadata["codeRepository"] == "https://github.com/aaronlab/browsertrace"
37+
assert metadata["programmingLanguage"] == "Python"
38+
assert metadata["license"] == "https://opensource.org/license/mit"

0 commit comments

Comments
 (0)