[BOUNTY #5906] Dynamic Sitemap (Apps & Plugins)#11
Conversation
Dynamically generates sitemaps for all UBQ.FI apps and plugins. - /sitemap.xml: Standard XML sitemap for search engines - /sitemap.json: Machine-readable JSON index for interop Apps (static): root, www, pay, work, dashboard, docs Plugins (dynamic): fetched from ubiquity-os-marketplace GitHub org Both endpoints cached for 1 hour (Cache-Control). Closes ubiquity#2 (linked from devpool-directory #5906)
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis pull request adds a sitemap generation system spanning two modules. The 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 5
🧹 Nitpick comments (1)
src/sitemap.ts (1)
101-101: Unusediparameter.- pluginEntries = pluginNames.map((name, i) => ({ + pluginEntries = pluginNames.map((name) => ({
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: e8ecdc60-e472-4554-9a2d-635b288e4563
📒 Files selected for processing (2)
src/sitemap.tssrc/worker.ts
- Add pagination to GitHub API (handles >100 repos) - Add GITHUB_TOKEN support for authenticated requests (5000/hour) - Remove duplicate daemon-xp from exclusion list - Propagate token from Worker env through to API calls Addresses CodeRabbit review feedback on ubiquity#11.
Summary
Added
/sitemap.xmland/sitemap.jsonendpoints to the UBQ.FI router for search engine indexing and system interoperability.Endpoints
/sitemap.xml/sitemap.jsonData Sources
ubiquity-os-marketplaceGitHub org on each requestJSON Format
{ "version": "1.0.0", "generated": "2026-03-20T...", "generator": "ubq-fi-router", "base_url": "https://ubq.fi", "apps": [...], "plugins": [...], "total": N }Closes #2 (linked from devpool-directory #5906)