made-in-common

forges

One client, every forge.

by made-in-common

TypeScript

TypeScript99.8%
Vue0.2%
JavaScript0%

Commit activity

Last 12 weeks · 314 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
87
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Active · Last activity 8h ago
See all on GitHub →
RSS1102

I'd like to add a CNB provider to . CNB (Cloud Native Build) is Tencent's Git hosting and CI/CD platform. It has two public instances, each with its own OpenAPI endpoint. China — cnb.cool · OpenAPI docs International — cnb.build · OpenAPI docs I host my project on both CNB and GitHub, so I'd like to work with both through the same API. One reason I use the China instance is its built-in AI tooling. CNB currently lists CodeBuddy as temporarily free, and the China community edition includes 500 free AI Credits per month per top-level organization. CNB CodeBuddy notice · Community edition pricing For the first version, I'd start with listing and fetching repositories, issues, and pull requests on both instances. Both APIs use bearer tokens, so one provider could support both instances with separate configuration and credentials. Would this be a good fit for a new provider?

RSS1102 · 7h ago
oritwoen

🔗 Linked issue Resolves #286 🧭 Context This PR lets you filter CI runs and tell them apart by workflow. Until now you had to read every run to find the workflow you were looking for. 🧪 Testing Unit tests for each provider this PR touches. Live reads without a token against GitHub, Codeberg and code.forgejo.org. Gitea, GitCafe and GitLab only through unit tests. 📚 Docs Short notes on the GitHub, Forgejo, Gitea and GitLab provider pages.      Summary by CodeRabbit New Features Added workflow filtering to CI run listings, with support across GitHub, Gitea, Forgejo, GitCafe, and the fake provider. GitLab and Sourcehut now indicate when a requested workflow filter is unsupported and ignored. Documentation Clarified workflow filtering behavior, provider support, and pagination details across CI provider guides.

oritwoen · 8h ago
ManUtopiK

Describe the bug Since #232, on github.com reads from with the credential. In a browser, the header makes the request non-simple, so the browser sends a CORS preflight first, and answers it with . The read then fails with a network error. So in the browser, every authenticated read with fails. That covers every file of a private repository, and of public ones too once the user is logged in. Listing still works, since goes through , which accepts the preflight. Server-side (Node, Workers) is unaffected: no CORS there, which is probably why #231 saw it work for private repositories. Reproduction In a browser app, with a token on github.com rejects with a . Suggested fix Keep the raw host only where it works: without a credential, or outside a browser. With a credential in a browser, the contents API returns the same bytes with (up to 100 MB, no base64, one request), and it allows the preflight: That request does count against the REST rate limit, but it's the only option a browser has. An explicit option (for example , or detecting ) would let browser consumers opt out too. For now we work around it in our wrapper, rewriting authenticated requests to the contents API. Versions 0.3.0, still present in 0.4.1 (, ).

ManUtopiK · 2d ago
Structured data for AI agents

Repository: made-in-common/forges. Description: One client, every forge. Stars: 210, Forks: 12. Primary language: TypeScript. Languages: TypeScript (99.8%), Vue (0.2%), JavaScript (0%). License: MIT. Homepage: https://forges.link Topics: api, forge, git. Latest release: v0.4.1 (4d ago). Open PRs: 6, open issues: 33. Last activity: 8h ago. Community health: 87%. Top contributors: danielroe, serhalp, renovate[bot], trueberryless, oritwoen, github-actions[bot], onmax, PJUllrich, WilcoSp, antfu and others.