]> Magnet Package Index - magnet_index.git/commitdiff
update index config
authormagnet-server <magnet-server@localhost>
Wed, 4 Nov 2026 22:08:05 +0000 (22:08 +0000)
committermagnet-server <magnet-server@localhost>
Wed, 4 Nov 2026 22:08:05 +0000 (22:08 +0000)
README.md [new file with mode: 0644]
config.json [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
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
+- `<first char>/<normalized package name>.jsonl`: one line per version of a package
diff --git a/config.json b/config.json
new file mode 100644 (file)
index 0000000..7620484
--- /dev/null
@@ -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/"}