ATProto based pastebin
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
Upload and exec() with deno via POST
Upload basic
Metadata
Release files for atprotobin 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| atprotobin-1.1.2.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atprotobin-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / atprotobin-1.1.2.tar.gz
| Download URL | atprotobin-1.1.2.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2244e5aae09d250f9b80b33c6881c2900c0ae7b600b7b9121cdaa970fdd73449
|
|
BLAKE2b-256 checksum How to use checksums |
465e7f9ee92ec04bb8c46986ba4c760f46bd2051964aef8b4ac098201c3d5c4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 20, 2025.
Transparency logRelease files / atprotobin-1.1.2-py3-none-any.whl
| Download URL | atprotobin-1.1.2-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
298e93350b5c9c698c1c218896c35ea31476cc5b4496a32bf2b5d735d8bfc8ed
|
|
BLAKE2b-256 checksum How to use checksums |
1828ff22a062944fc01ed753d7760d6715344b728a9bd9fdc5c1a7e560781ef1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 20, 2025.
Transparency log