Skip to content

Commit df56bc5

Browse files
fix: move feed.json to docs/data/ (Worker intercepts /api/)
Cloudflare Worker handles /api/* routes, so GitHub Pages cannot serve /api/feed.json. Moved to /data/feed.json which is served directly by Pages. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Ikalus1988 <sheldonisspark@gmail.com>
1 parent c01ebfe commit df56bc5

2 files changed

Lines changed: 50 additions & 2 deletions

File tree

docs/data/feed.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"generated_at": "2026-07-09T06:07:45.139431+00:00",
3+
"repo": "https://github.com/Ikalus1988/MisakaNet",
4+
"site": "https://misakanet.org",
5+
"item_count": 5,
6+
"items": [
7+
{
8+
"type": "lesson",
9+
"title": "AI Agent Project Outreach Guide",
10+
"url": "lessons/contrib/ai-agent-project-outreach-guide.md",
11+
"timestamp": "2026-07-06",
12+
"domain": "contrib",
13+
"source": "lessons"
14+
},
15+
{
16+
"type": "lesson",
17+
"title": "aily feishu mcp pull only",
18+
"url": "lessons/contrib/aily-feishu-mcp-pull-only.md",
19+
"timestamp": "2026-07-06",
20+
"domain": "contrib",
21+
"source": "lessons"
22+
},
23+
{
24+
"type": "lesson",
25+
"title": "Internal Gateway — Incompatible with Anthropic Format, Requires OpenAI Proxy",
26+
"url": "lessons/contrib/anthropic-proxy-internal-gateway.md",
27+
"timestamp": "2026-07-06",
28+
"domain": "contrib",
29+
"source": "lessons"
30+
},
31+
{
32+
"type": "lesson",
33+
"title": "api gateway anthropic incompatibility",
34+
"url": "lessons/contrib/api-gateway-anthropic-incompatibility.md",
35+
"timestamp": "2026-07-06",
36+
"domain": "contrib",
37+
"source": "lessons"
38+
},
39+
{
40+
"type": "lesson",
41+
"title": "api rate limit handling best practices",
42+
"url": "lessons/contrib/api-rate-limit-handling-best-practices.md",
43+
"timestamp": "2026-07-06",
44+
"domain": "contrib",
45+
"source": "lessons"
46+
}
47+
]
48+
}

scripts/build_feed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Usage:
55
python3 scripts/build_feed.py
66
7-
Output: docs/api/feed.json
7+
Output: docs/data/feed.json
88
99
No token required. GitHub API calls degrade gracefully to empty arrays on failure.
1010
"""
@@ -16,7 +16,7 @@
1616

1717
REPO_ROOT = Path(__file__).resolve().parent.parent
1818
LESSONS_PATH = REPO_ROOT / "data" / "lessons.json"
19-
OUTPUT_PATH = REPO_ROOT / "docs" / "api" / "feed.json"
19+
OUTPUT_PATH = REPO_ROOT / "docs" / "data" / "feed.json"
2020

2121

2222
def load_recent_lessons(limit: int = 5) -> list[dict]:

0 commit comments

Comments
 (0)