- TypeScript 97.5%
- Dockerfile 2.5%
| src | ||
| .gitignore | ||
| .woodpecker.yml | ||
| deno.json | ||
| deno.lock | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
soliditas
Vendored, Dockerized build of SableClient/soliditas (Apache-2.0) — a Matrix media proxy for GIFs (Giphy/Tenor/Klipy) and link previews, used by Sable.
Upstream only ships this as a Cloudflare Worker (no container image). The
src/ directory here is the upstream worker source vendored as-is (see
src/index.ts for the entry point); src/serve.ts is a small Deno adapter
that replaces wrangler's env injection with environment variables, since
the worker's fetch handler only uses standard Fetch API primitives and
needs no other changes to run under Deno.
Config
SERVERNAME: the Matrix server name GIF mxc URLs are addressed under (e.g.bvoy.dev).HOSTNAME: the public hostname this proxy is served from, used for the federation.well-knowndelegation (e.g.gifs.bvoy.dev).LISTEN_PORT: port to listen on (default8080).
Updating
To pull in upstream changes, re-copy src/*.ts/src/*.d.ts (except
serve.ts, which is local) from the upstream repo at the desired ref, and
record the ref here.
Vendored from upstream commit 05da083ca99f81d461bcbe01a7a9bf1df146c37a.