Thanks for helping keep the catalog accurate.
| File | Edited by | Purpose |
|---|---|---|
catalog/projects.yaml |
humans | curated project data (schema: catalog/schema.json) |
catalog/categories.yaml |
humans | categories |
catalog/quickstarts.json |
humans | per-category quick start |
catalog/evidence/*.json |
bot (weekly PR) | facts collected from the GitHub API |
recipes/* |
humans | composed stacks with test status |
README.md, CREDITS.md, docs/stacks, docs/recipes, docs/freshness.md, docs/assets/catalog.json, mkdocs.yml nav |
generated | do not edit by hand |
pip install -r requirements.txt
# edit catalog/projects.yaml
python scripts/build.py
python scripts/validate.py
mkdocs serve # preview at http://127.0.0.1:8000Then open a pull request and complete the checklist. New projects need an evidence file: run GITHUB_TOKEN=... python scripts/collect.py or let the weekly refresh add it (validation will tell you).
Upstream licences are authoritative. Use an SPDX id with state: declared only when the upstream LICENSE file is a single standard licence. Otherwise use state: needs-review and describe the terms in label. Report licence errors with the Wrong metadata or licence issue form.
.github/workflows/refresh.yml runs weekly (Monday 03:00 UTC) and on demand. It only updates catalog/evidence/ and regenerated pages, and always opens a pull request for review β it never pushes to main. Pull requests opened by the bot do not trigger CI automatically; a maintainer should run python scripts/validate.py on the branch (or re-run CI) before merging.
- Licence: open the upstream LICENSE file (not just GitHub's badge). Use
state: declaredonly for a single standard SPDX licence; otherwisestate: needs-reviewwith areview_reasonexplaining why (custom terms, multiple licences, source-available, undetected). - Repository state: comes only from
catalog/evidence/. If validation reportsrepo moved, updaterepo:inprojects.yamlto the canonical URL. - Archived projects stay in the catalog and are labelled; don't delete them without a CHANGELOG entry.
- Recipes:
testedonly when a smoke test passes in CI; say what was tested, versions and environment.
python -m pytest -q tests # unit tests
mkdocs build --strict -d _site/Open-Source-Ai
cd tests/browser && npm ci && npx playwright install chromium webkit && npx playwright test
./recipes/local-chat/smoke.sh # needs DockerThese settings are documented here and must be applied by a repository admin.
Settings β Branches β Add rule for main:
- Require a pull request before merging (1 approval)
- Require status checks:
Catalog integrity,Docs build + internal links,Browser tests (Playwright, desktop + iPhone 13 emulation),Recipe smoke test β local-chat - Do not require
Upstream links (non-blocking)orRecipe β agent-memory-eval(network-dependent / heavier) - Do not allow bypass for the bot
PRs created with the default GITHUB_TOKEN do not trigger other workflows (a GitHub safety rule), so CI will not start on bot/evidence-refresh by itself.
Option A β GitHub App (recommended):
- Settings β Developer settings β GitHub Apps β New. Permissions: Contents: read & write, Pull requests: read & write. No webhook.
- Install it on this repository only.
- Add repository variable
OSA_APP_ID(the App ID) and secretOSA_APP_PRIVATE_KEY(the generated private key). - The refresh workflow then uses
actions/create-github-app-tokenand CI starts automatically on its PRs.
Option B β manual fallback (no setup): open the PR, then either close and reopen it, or run CI via Actions β CI β Run workflow on the bot/evidence-refresh branch. Merge only when blocking checks are green.
The refresh job never pushes to main, uses no pull_request_target, and the collection step runs before any write token is minted.