Codync
免费开源的 1:1 Grok Bot 与 Muse 替代方案。可在 iPhone、Mac 或 Linux 桌面上将 Claude 代码、Codex、Cursor 以及 40 多个编码代理作为持久机器人使用。支持群组聊天、线程、应用。
AI 翻译
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Open source API backend for hosting Fantacalcio leghe (italian fantasy league).
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗OpenFanta is an open fantacalcio data framework. It ingests raw football data from a third-party provider, computes voti and fantavoti from league settings defined as data, and serves them over a read-only HTTP API that any client can consume.
This first version covers the Fantavoti engine with Classic rules, one provider (Sportmonks), Postgres storage with auditable recomputation, and a REST API. Architecture and decisions: docs/design.md.
provider (HTTP, cache, rate limit) → raw_payloads → parser → MatchFacts
→ timeline → engine (+ settings, + voti) → versioned runs → REST API
Documentation: https://cortomuso.github.io/openfanta/ (sources in docs/, built from website/).
Requirements: Nix with flakes enabled. Docker is optional.
nix develop # or: direnv allow. Pins Go, Postgres, sqlc, oapi-codegen, golangci-lint
make test # unit tests; database tests are skipped
make test-all # every test, against a throwaway local Postgres in .pgdata/
make lint
make test-all starts Postgres from the devshell on port 5433 (make pg-stop stops it).
Running the server, configuration and the CLI are covered in Getting started.
| Topic | Where |
|---|---|
| Run, configure, CLI | docs/getting-started.md |
| API conventions and spec | docs/api-overview.md, api/openapi.yaml |
| League settings, changing values | docs/settings.md, docs/guides/changing-default-settings.md |
| Adding a data provider | docs/guides/adding-a-provider.md |
| Project layout | docs/project-layout.md |
| Design, decisions, open questions | docs/design.md |
Preview the site locally with make docs-dev (needs Node, provided by nix develop).
The server will host leagues and compute every league's fantavoti from its own settings, so all members get identical results whatever client they use. The design (settings format, audit log, matchday lifecycle, auth) is in docs/design.md §8–10, backed by the research in docs/research/league-settings/.
See section 7 of docs/design.md. In short: the Sportmonks test fixtures are synthetic (see their README) until a real token is available, and voti currently come from the provider's player rating.