OpenAthlete
AGPLv3 endurance training platform: EU-oriented hosting, transparent CTL/ATL/TSB logic in code, self-hosting, and full export. Built in Grenoble.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Auto update in 15min
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Live scores and headlines from around the world, refreshed every 10 minutes, with a one-click copy code for every match.
lib/importance.js./studio turns today's stories into Instagram posts for two pages, @thesportsbinge and @musc_reddevils. For each page it ranks the newsroom's matches and headlines by that page's interests (lib/studio/brands/*.js, lib/studio/score.js), writes a headline, explainer, caption and hashtags in the page's voice (lib/studio/writer.js: formulas, improved by Claude when ANTHROPIC_API_KEY is set), and draws a 1080×1350 poster from a template that copies the page's look (lib/studio/templates.js, rendered server-side with satori + resvg). Open a story to switch template or size (post, story, square), edit the words, copy the caption and download the PNG. "Not this" records a rejection for the learning loop (Phase 2 stores it). The full plan is in docs/STUDIO_PLAN.md.
Brand badges: put tsb-badge.png and musc-crest.png (transparent PNG, square) in public/studio/brand/; until then a vector stand-in is drawn.
| Endpoint | Description |
|---|---|
GET /api/studio/candidates?brand=tsb|musc | Ranked post packs with formula words |
GET /api/studio/render?brand=&key=&size=post|story|square&template=&w= | PNG of a pack; &json=1 returns the pack with Claude-written words |
POST /api/studio/feedback | { brand, key, decision: approve|reject|edit } |
| Endpoint | Description |
|---|---|
GET /api/scores | Overview: top competitions plus every live match worldwide |
GET /api/scores?sport=soccer | Every match of one sport, yesterday to tomorrow. Optional &state=in|pre|post |
GET /api/news | Headlines, newest first. Filter: ?sport= |
GET /api/match?l=<league>&id=<id>&format=poster | One match with full details. Formats: json (default), poster, text, markdown, embed. Optional &tz=Asia/Kolkata |
GET /api/health?deep=1 | One real request to each data provider from the server, with status codes |
/debug | Human-readable source check: which providers work from this server, and how many matches each contributes |
The API functions cache at Vercel's edge until the next 10-minute mark (s-maxage, with stale-while-revalidate). Upstream sources are hit at most once every 10 minutes per region, however many people are on the site. Every source is fetched in parallel with a timeout and one retry, and a build has a 9-second budget: anything still loading is left out, the response is marked partial and cached for only 40 seconds so the next request fills it in. The footer shows how many matches each provider contributed; a banner appears when a major provider is blocked.
npm test # unit and API tests with mocked upstreams (no network needed)
npx vercel dev # run locally
There are no runtime dependencies, no build step and no API keys. To add a league, sport or feed, edit lib/sources.js.
api/ Vercel serverless functions (scores, news, match, health)
lib/ data sources, ESPN / Sofascore / Cricinfo normalizers, RSS parser
public/ static site (index.html, embed.html, js/, css/)
public/js/format.js copy-code formatter shared by the browser and the API
test/ node:test suite with fixtures