From f1e40db8803f8b4def323a41d6365bfb083fba10 Mon Sep 17 00:00:00 2001 From: magnet-server Date: Wed, 4 Nov 2026 22:08:05 +0000 Subject: [PATCH 1/1] update index config --- README.md | 8 ++++++++ config.json | 1 + 2 files changed, 9 insertions(+) create mode 100644 README.md create mode 100644 config.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..2387a62 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# magnet index + +The package index of [magnet](https://github.com/supercollider/magnet), the SuperCollider package manager. +It is written by the magnet server only, don't push to it. + +- `config.json`: index format, the download URL template of the artifacts, the URLs + of the static HTTP mirror of this index and of the server +- `/.jsonl`: one line per version of a package diff --git a/config.json b/config.json new file mode 100644 index 0000000..7620484 --- /dev/null +++ b/config.json @@ -0,0 +1 @@ +{"index-format": 1, "dl": "https://magnet.supercollider.online/dl/{name}/{version}/{name}-{version}-{kind}-{abi}-{platform}.tar.gz", "http": "https://magnet.supercollider.online/index/", "api": "https://magnet.supercollider.online/"} -- 2.39.5