Johannes Kaindl Uplink Deutsch

AnySource Sideloader

An Obsidian plugin that installs and updates plugins from any Git forge — GitHub, Forgejo, Gitea or simply checked-in files. On top of that, subscribable catalogs: a single JSON file turns any forge into a small plugin store, with a browse view, release notes before every update and checksum verification before every write.

The occasion was involuntary: a GitHub account was flagged without warning — and overnight twenty plugins listed in the Community Store became uninstallable for everyone, even though not a single byte of code had changed. The store itself was never the problem; its exclusive dependency on a single platform was.

Why this one

The most interesting decision is a refusal: the plugin never silently installs an update. It checks on startup, reports, shows the release notes — and waits. Anyone who writes executable code from third-party sources into a vault owes the person in front of it the last click. For the same reason, a plugin's identity comes from the downloaded manifest, never from the name of the source — a source that suddenly delivers a different plugin is stopped instead of written.

Tokens for private sources live in the operating system's keychain, one per forge host — so a single entry covers both the private repo and the private catalog of an organisation that wants to distribute its plugins only internally.

Under the hood

The core is pure and network-free: forge adapters are functions that build URLs and parse responses; the actual network access is injected as a port. That makes the entire logic testable against recorded API responses, and the same tests run unchanged, live, against real forges. The technical reference stays in the repository.

Beyond the browser

Repository

git.jkaindl.de/jkaindl/anysource-sideloader — Releases carry main.js, manifest.json, styles.css and checksums.sha256. The catalog: git.jkaindl.de/jkaindl/obsidian-plugin-catalog.