GitHub: https://github.com/publicdomainrelay/atprotobin
Paste file
curl -X POST -F file=@README.md https://paste.chadig.com
Paste from clipboard (linux with xclip)
curl -X POST -F file=@<(xclip) https://paste.chadig.com
Retrive using id from paste reponse JSON (| jq -r .id
)
curl -sf https://paste.chadig.com/$id
Paste and retrive
curl -sf https://paste.chadig.com/$(curl -X POST -F file=@README.md https://paste.chadig.com | tee /dev/stderr | jq -r .id)
Paste and retrive (development)
curl -sf http://localhost:8000/$(curl -X POST -F file=@src/atprotobin/cli.py http://localhost:8000/ | tee /dev/stderr | jq -r .id)
Start server
python -m pip install -U pip setuptools wheel
python -m pip install -e .
ATPROTO_BASE_URL=https://atproto.chadig.com ATPROTO_HANDLE=publicdomainrelay.atproto.chadig.com ATPROTO_PASSWORD=$(python -m keyring get publicdomainrelay@protonmail.com password.publicdomainrelay.atproto.chadig.com) python -m atprotobin
- Features
- mimetype Content-Type blob resolution
- text/javascript backend exec sandboxed with
deno --allow-net
- TODO
- Receive webhook from VCS, get OIDC token, get secret using OIDC, trigger push and pull for federated repo.
- References