Drop the mirror to diffinery.com; send people to GitHub
diffinery.com's codician/diffinery is now an inactive copy: its Actions are suspended and it is no longer updated. The Mirror from GitHub workflow and its script go, and AGENTS.md, CONTRIBUTING.md, the README, SUPPORT.md and the self-hosting and contact-form docs send people to GitHub to clone, report bugs and open pull requests. Deploy keeps skipping that copy by name.
10 files changed+19−115
Files (10)
- .github/workflows/deploy.yml+2−2
- .github/workflows/mirror-from-github.yml+0−42
- AGENTS.md+3−2
- CONTRIBUTING.md+3−3
- README.md+3−3
- SUPPORT.md+2−3
- apps/diffinery/docs/admin/contact-form.md+1−1
- apps/diffinery/docs/self-hosting.md+3−3
- apps/diffinery/docs/self-hosting/deploy.md+2−2
- scripts/mirror-from-github.sh+0−54
modified.github/workflows/deploy.yml+2−2View file
| @@ -39,8 +39,8 @@ | ||
| 39 | 39 | name: Main's current tip |
| 40 | 40 | # Every push to main deploys once CI passes on it, on GitHub or on a Diffinery |
| 41 | 41 | # instance, and so does running this workflow by hand. Except on diffinery.com's |
| 42 | - # codician/diffinery: it mirrors GitHub (mirror-from-github.yml), which deploys | |
| 43 | - # diffinery.com, and lacks the GitHub App's variables a deploy needs. | |
| 42 | + # codician/diffinery, an older copy of this repository: GitHub deploys diffinery.com, | |
| 43 | + # and that copy lacks the GitHub App's variables a deploy needs. | |
| 44 | 44 | if: ${{ !(github.server_url == 'https://diffinery.com' && github.repository == 'codician/diffinery') && (github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push')) }} |
| 45 | 45 | runs-on: ${{ vars.DIFFINERY_RUNS_ON || 'ubuntu-latest' }} |
| 46 | 46 | timeout-minutes: 5 |
deleted.github/workflows/mirror-from-github.yml+0−42
| @@ -1,42 +1,0 @@ | ||
| 1 | -name: Mirror from GitHub | |
| 2 | - | |
| 3 | -# Keeps diffinery.com/codician/diffinery in step with github.com/codician-team/diffinery, | |
| 4 | -# where development happens, through scripts/mirror-from-github.sh: GitHub's main and tags | |
| 5 | -# are copied as they are, and Diffinery runs CI on each copied commit. Runs on Diffinery | |
| 6 | -# only. Uses DIFFINERY_MIRROR_TOKEN (a Diffinery token with the admin scope, of a person who | |
| 7 | -# is an admin of codician/diffinery), a secret of the github-mirror environment. That | |
| 8 | -# environment is limited to protected branches, so only main's runs get it. Without the | |
| 9 | -# token the job says so and does nothing. | |
| 10 | -on: | |
| 11 | - schedule: | |
| 12 | - - cron: "*/15 * * * *" | |
| 13 | - workflow_dispatch: | |
| 14 | - | |
| 15 | -permissions: | |
| 16 | - contents: read | |
| 17 | - | |
| 18 | -concurrency: | |
| 19 | - group: mirror-from-github | |
| 20 | - cancel-in-progress: false | |
| 21 | - | |
| 22 | -jobs: | |
| 23 | - mirror: | |
| 24 | - name: Copy GitHub's main to Diffinery | |
| 25 | - if: ${{ github.server_url != 'https://github.com' && github.repository == 'codician/diffinery' }} | |
| 26 | - runs-on: ${{ vars.DIFFINERY_RUNS_ON || 'ubuntu-latest' }} | |
| 27 | - environment: github-mirror | |
| 28 | - timeout-minutes: 10 | |
| 29 | - env: | |
| 30 | - DIFFINERY_TOKEN: ${{ secrets.DIFFINERY_MIRROR_TOKEN }} | |
| 31 | - steps: | |
| 32 | - - name: Check the Diffinery token | |
| 33 | - id: token | |
| 34 | - run: | | |
| 35 | - if [ -z "$DIFFINERY_TOKEN" ]; then | |
| 36 | - echo "::notice::DIFFINERY_MIRROR_TOKEN is not set, so Diffinery is not updated." | |
| 37 | - echo "skip=true" >> "$GITHUB_OUTPUT" | |
| 38 | - fi | |
| 39 | - - uses: actions/checkout@v4 | |
| 40 | - if: steps.token.outputs.skip != 'true' | |
| 41 | - - if: steps.token.outputs.skip != 'true' | |
| 42 | - run: scripts/mirror-from-github.sh |
modifiedAGENTS.md+3−2View file
| @@ -10,8 +10,9 @@ | ||
| 10 | 10 | Cloudflare. One Cloudflare Worker serves the web UI, git over HTTPS, a GitHub-compatible |
| 11 | 11 | REST and GraphQL API and an MCP server; each repository is a Durable Object with its own |
| 12 | 12 | SQLite database; CI jobs run in Cloudflare Containers. Development happens at |
| 13 | -https://github.com/codician-team/diffinery; https://diffinery.com/codician/diffinery is a | |
| 14 | -mirror of its `main`, so push branches and open pull requests on GitHub. | |
| 13 | +https://github.com/codician-team/diffinery: push branches and open pull requests there. | |
| 14 | +https://diffinery.com/codician/diffinery is an older copy that is no longer updated, with | |
| 15 | +Actions off. | |
| 15 | 16 | |
| 16 | 17 | ## Layout |
| 17 | 18 |
modifiedCONTRIBUTING.md+3−3View file
| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | issues and pull requests there. Its CI runs on Diffinery's own runners for GitHub, and |
| 12 | 12 | merges to `main` deploy diffinery.com. |
| 13 | 13 | |
| 14 | -[diffinery.com/codician/diffinery](https://diffinery.com/codician/diffinery) is a mirror | |
| 15 | -that follows GitHub's `main` every 15 minutes, with the same commits, and runs the same CI | |
| 16 | -on Diffinery. Changes pushed to its `main` are overwritten, so land them on GitHub. | |
| 14 | +[diffinery.com/codician/diffinery](https://diffinery.com/codician/diffinery) is an older | |
| 15 | +copy that is no longer updated, and its Actions are off. Don't open issues or pull | |
| 16 | +requests there. | |
| 17 | 17 | |
| 18 | 18 | Security problems are the exception: report them privately, never in an issue or pull |
| 19 | 19 | request. See [SECURITY.md](SECURITY.md). |
modifiedREADME.md+3−3View file
| @@ -19,7 +19,7 @@ | ||
| 19 | 19 | |
| 20 | 20 | Diffinery is built for the way software gets written with agents. Give an agent a goal and get a pull request back from Claude Code or Codex in a sandbox. Have another agent review every pull request for bugs. Open **Today** each morning to see what needs you, approve, and let pull requests merge on green. Plugins for Claude Code and Codex, an MCP server in the [official MCP Registry](https://registry.modelcontextprotocol.io/v0/servers?search=com.diffinery/diffinery), editor extensions and `gh` support bring all of it to the tools you already use. [What agents can do on Diffinery ↓](#built-for-ai-coding-agents) |
| 21 | 21 | |
| 22 | -- **Source:** [github.com/codician-team/diffinery](https://github.com/codician-team/diffinery), where development happens, with CI on Diffinery's runners, mirrored to [diffinery.com/codician/diffinery](https://diffinery.com/codician/diffinery). | |
| 22 | +- **Source:** [github.com/codician-team/diffinery](https://github.com/codician-team/diffinery), where development happens, with CI on Diffinery's runners. | |
| 23 | 23 | - **Documentation:** [diffinery.com/docs](https://diffinery.com/docs), also as Markdown and in [llms.txt](https://diffinery.com/llms.txt) and [llms-full.txt](https://diffinery.com/llms-full.txt) for AI assistants. |
| 24 | 24 | |
| 25 | 25 | If Diffinery is useful to you, [a star on GitHub](https://github.com/codician-team/diffinery) helps other people find it. |
| @@ -194,7 +194,7 @@ | ||
| 194 | 194 | **Deploy:** |
| 195 | 195 | |
| 196 | 196 | ```sh |
| 197 | -git clone https://diffinery.com/codician/diffinery.git # or the GitHub mirror | |
| 197 | +git clone https://github.com/codician-team/diffinery.git | |
| 198 | 198 | cd diffinery |
| 199 | 199 | |
| 200 | 200 | export CLOUDFLARE_API_TOKEN=... # never commit it |
| @@ -321,7 +321,7 @@ | ||
| 321 | 321 | No. Other open-source projects run Git or CI on Cloudflare too, and [Built on Cloudflare](https://diffinery.com/built-on-cloudflare#other-git-and-ci-projects-on-cloudflare) lists how they differ. As far as we know, Diffinery is the one where Git hosting, pull requests with reviews in a web UI and GitHub Actions–compatible CI with marketplace actions all run on Cloudflare (checked October 25, 2026). |
| 322 | 322 | |
| 323 | 323 | **Where is development happening?** |
| 324 | -On GitHub, at [github.com/codician-team/diffinery](https://github.com/codician-team/diffinery), where issues and pull requests go. Its CI jobs run on Diffinery's own [GitHub runners](https://diffinery.com/docs/actions/github-runners), and [diffinery.com/codician/diffinery](https://diffinery.com/codician/diffinery) mirrors it and runs the same CI on Diffinery; see [CONTRIBUTING.md](CONTRIBUTING.md). | |
| 324 | +On GitHub, at [github.com/codician-team/diffinery](https://github.com/codician-team/diffinery), where issues and pull requests go. Its CI jobs run on Diffinery's own [GitHub runners](https://diffinery.com/docs/actions/github-runners); see [CONTRIBUTING.md](CONTRIBUTING.md). | |
| 325 | 325 | |
| 326 | 326 | ## Contributing, security and license |
| 327 | 327 |
modifiedSUPPORT.md+2−3View file
| @@ -9,9 +9,8 @@ | ||
| 9 | 9 | - **A workflow behaves differently from GitHub Actions:** check |
| 10 | 10 | [Compatibility with GitHub Actions](https://diffinery.com/docs/actions/compatibility) first, |
| 11 | 11 | then open an issue with the "Actions compatibility" template. |
| 12 | -- **Bugs and feature requests:** open an issue on the | |
| 13 | - [GitHub mirror](https://github.com/codician-team/diffinery/issues) or, if you have an | |
| 14 | - account there, on [Diffinery](https://diffinery.com/codician/diffinery/issues). | |
| 12 | +- **Bugs and feature requests:** open an issue on | |
| 13 | + [GitHub](https://github.com/codician-team/diffinery/issues). | |
| 15 | 14 | - **Security problems:** never in a public issue. See [SECURITY.md](SECURITY.md). |
| 16 | 15 | |
| 17 | 16 | Diffinery is a volunteer-run open-source project with no paid support. There is no hosted |
modifiedapps/diffinery/docs/admin/contact-form.md+1−1View file
| @@ -10,7 +10,7 @@ | ||
| 10 | 10 | Two things have their own, better places: |
| 11 | 11 | |
| 12 | 12 | - **A security problem:** use the private [security report form](/docs/security/disclosure) at `/security/report`. |
| 13 | -- **A bug or an idea for Diffinery itself:** open an issue on [the Diffinery repository](https://diffinery.com/codician/diffinery) or its [GitHub mirror](https://github.com/codician-team/diffinery). | |
| 13 | +- **A bug or an idea for Diffinery itself:** open an issue on [the Diffinery repository on GitHub](https://github.com/codician-team/diffinery/issues). | |
| 14 | 14 | |
| 15 | 15 | ## Send a message |
| 16 | 16 |
modifiedapps/diffinery/docs/self-hosting.md+3−3View file
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | --- |
| 2 | 2 | title: Self-hosting |
| 3 | 3 | description: Diffinery is open source (Apache-2.0) and runs on your own Cloudflare account. What an instance needs, what it costs, the steps to deploy one, and where to go next. |
| 4 | -updated: 2026-10-30 | |
| 4 | +updated: 2026-10-31 | |
| 5 | 5 | --- |
| 6 | 6 | |
| 7 | 7 | Diffinery is open-source software under the Apache License 2.0, and the way to use it is to run your own instance on your own Cloudflare account and domain. There's no hosted service to sign up for: diffinery.com is the project's own instance. This page is the overview; [Deploy your own Diffinery](/docs/self-hosting/deploy) is the step-by-step guide. |
| @@ -10,7 +10,7 @@ | ||
| 10 | 10 | |
| 11 | 11 | ## Get the source |
| 12 | 12 | |
| 13 | -The repository is [diffinery.com/codician/diffinery](https://diffinery.com/codician/diffinery), mirrored to [github.com/codician-team/diffinery](https://github.com/codician-team/diffinery). Clone either one; both carry the same `main` branch, with the `LICENSE` and `NOTICE` files at the top. | |
| 13 | +The repository is [github.com/codician-team/diffinery](https://github.com/codician-team/diffinery). Clone its `main` branch, which has the `LICENSE` and `NOTICE` files at the top. The copy at diffinery.com/codician/diffinery is older and no longer updated. | |
| 14 | 14 | |
| 15 | 15 | ```sh |
| 16 | 16 | git clone https://github.com/codician-team/diffinery.git |
| @@ -65,4 +65,4 @@ | ||
| 65 | 65 | |
| 66 | 66 | ## Get help and contribute |
| 67 | 67 | |
| 68 | -Report bugs and send pull requests on [the GitHub mirror](https://github.com/codician-team/diffinery) or [the Diffinery repository](https://diffinery.com/codician/diffinery). Report security problems privately with the [report form](https://diffinery.com/security/report); see [Vulnerability disclosure](/docs/security/disclosure). | |
| 68 | +Report bugs and send pull requests on [GitHub](https://github.com/codician-team/diffinery). Report security problems privately with the [report form](https://diffinery.com/security/report); see [Vulnerability disclosure](/docs/security/disclosure). |
modifiedapps/diffinery/docs/self-hosting/deploy.md+2−2View file
| @@ -15,7 +15,7 @@ | ||
| 15 | 15 | The short version, after [creating an API token](#step-2-create-a-cloudflare-api-token): |
| 16 | 16 | |
| 17 | 17 | ```sh |
| 18 | -git clone https://diffinery.com/codician/diffinery.git && cd diffinery | |
| 18 | +git clone https://github.com/codician-team/diffinery.git && cd diffinery | |
| 19 | 19 | CLOUDFLARE_API_TOKEN=... CLOUDFLARE_ACCOUNT_ID=... DIFFINERY_DOMAIN=git.example.com \ |
| 20 | 20 | [email protected] scripts/setup.sh |
| 21 | 21 | ``` |
| @@ -68,7 +68,7 @@ | ||
| 68 | 68 | - `DIFFINERY_ZONE`, if the Cloudflare zone that holds your hostname is not its last two labels. For `git.example.com` the default zone is `example.com`, which is right; for `git.example.co.uk` the default would be `co.uk`, so set `DIFFINERY_ZONE` to `example.co.uk`. |
| 69 | 69 | - `MAIL_DOMAIN`, if email should come from another domain than your hostname, for example `example.com` to send from `[email protected]`. |
| 70 | 70 | |
| 71 | -The Deploy job runs on every push to `main` once the CI workflow passes on that commit, on GitHub or on a Diffinery instance, and whenever you start it by hand (`workflow_dispatch`). A mirror of a repository that already deploys would deploy too, on GitHub or on Diffinery, so keep Actions or the Cloudflare secrets off on such a mirror. The upstream project's own Diffinery mirror, `codician/diffinery` on diffinery.com, is skipped by name. | |
| 71 | +The Deploy job runs on every push to `main` once the CI workflow passes on that commit, on GitHub or on a Diffinery instance, and whenever you start it by hand (`workflow_dispatch`). A mirror of a repository that already deploys would deploy too, on GitHub or on Diffinery, so keep Actions or the Cloudflare secrets off on such a mirror. The upstream project's older copy on diffinery.com, `codician/diffinery`, is skipped by name. | |
| 72 | 72 | |
| 73 | 73 | The workflow doesn't pass `BOOTSTRAP_ADMINS`. Set the list with a first deploy from your machine (`scripts/setup.sh`), or put it under `vars` in your copy's `wrangler.jsonc`; after that, workflow deploys keep it. |
| 74 | 74 |
deletedscripts/mirror-from-github.sh+0−54
| @@ -1,54 +1,0 @@ | ||
| 1 | -#!/usr/bin/env bash | |
| 2 | -# Mirror github.com/codician-team/diffinery to Diffinery's codician/diffinery. | |
| 3 | -# | |
| 4 | -# Development happens on GitHub. Its main and tags are copied to Diffinery as they are, so | |
| 5 | -# both have the same commits and Diffinery's main always ends up where GitHub's is: anything | |
| 6 | -# pushed to Diffinery's main by other means is overwritten. Diffinery's other branches, and | |
| 7 | -# its issues, pull requests and releases, are left alone. | |
| 8 | -# | |
| 9 | -# Pushes with DIFFINERY_TOKEN when set, otherwise with whatever credentials git already has | |
| 10 | -# for diffinery.com. It must be a person's token with the admin scope: only an admin's push | |
| 11 | -# goes past main's branch protection, agents can't push to main, and a workflow's own token | |
| 12 | -# can't push changes to workflow files. | |
| 13 | -# | |
| 14 | -# Usage: scripts/mirror-from-github.sh [--dry-run] | |
| 15 | -# | |
| 16 | -# MIRROR_WORKDIR=<empty dir> keeps the fetched repository for inspection. | |
| 17 | -set -euo pipefail | |
| 18 | - | |
| 19 | -SRC=${MIRROR_SRC:-https://github.com/codician-team/diffinery.git} | |
| 20 | -DST=${MIRROR_DST:-https://diffinery.com/codician/diffinery.git} | |
| 21 | -dry_run=${1:-} | |
| 22 | - | |
| 23 | -auth=() | |
| 24 | -if [ -n "${DIFFINERY_TOKEN:-}" ]; then | |
| 25 | - # The helper reads the token from the environment, so it never lands on a command line. | |
| 26 | - auth=(-c 'credential.https://diffinery.com.helper=!f() { [ "$1" = get ] && printf "username=x-token\npassword=%s\n" "$DIFFINERY_TOKEN"; }; f') | |
| 27 | -fi | |
| 28 | - | |
| 29 | -# main and the tags, one "<sha>\t<ref>" line each (peeled tag lines dropped), sorted for comm. | |
| 30 | -refs() { git ${auth[@]+"${auth[@]}"} ls-remote "$1" refs/heads/main 'refs/tags/*' | grep -v '\^{}$' | LC_ALL=C sort; } | |
| 31 | -want=$(refs "$SRC") | |
| 32 | -have=$(refs "$DST") | |
| 33 | -# Diffinery may have tags GitHub doesn't; only GitHub's refs have to match. | |
| 34 | -stale=$(LC_ALL=C comm -23 <(printf '%s\n' "$want") <(printf '%s\n' "$have")) | |
| 35 | -if [ -z "$stale" ]; then | |
| 36 | - echo "Diffinery is up to date with GitHub." | |
| 37 | - exit 0 | |
| 38 | -fi | |
| 39 | -echo "To copy from GitHub:" | |
| 40 | -printf '%s\n' "$stale" | |
| 41 | -if [ "$dry_run" = "--dry-run" ]; then | |
| 42 | - exit 0 | |
| 43 | -fi | |
| 44 | - | |
| 45 | -work=${MIRROR_WORKDIR:-} | |
| 46 | -if [ -z "$work" ]; then | |
| 47 | - work=$(mktemp -d) | |
| 48 | - trap 'rm -rf "$work"' EXIT | |
| 49 | -fi | |
| 50 | -git init --quiet --bare "$work/repo.git" | |
| 51 | -cd "$work/repo.git" | |
| 52 | -git fetch --quiet "$SRC" '+refs/heads/main:refs/heads/main' '+refs/tags/*:refs/tags/*' | |
| 53 | -# GitHub wins: main and the tags move to where GitHub has them, fast-forward or not. | |
| 54 | -git ${auth[@]+"${auth[@]}"} push --force "$DST" 'refs/heads/main:refs/heads/main' 'refs/tags/*:refs/tags/*' |