Skip to main content

ATProto based pastebin

Project description

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

Upload and exec() with deno via POST

asciicast-backend

Upload basic

asciicast-basic

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atprotobin-1.1.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atprotobin-1.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file atprotobin-1.1.2.tar.gz.

File metadata

  • Download URL: atprotobin-1.1.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for atprotobin-1.1.2.tar.gz
Algorithm Hash digest
SHA256 2244e5aae09d250f9b80b33c6881c2900c0ae7b600b7b9121cdaa970fdd73449
MD5 3c4eee8268622d67a42a967880dae4db
BLAKE2b-256 465e7f9ee92ec04bb8c46986ba4c760f46bd2051964aef8b4ac098201c3d5c4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for atprotobin-1.1.2.tar.gz:

Publisher: release.yml on publicdomainrelay/atprotobin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atprotobin-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: atprotobin-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for atprotobin-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 298e93350b5c9c698c1c218896c35ea31476cc5b4496a32bf2b5d735d8bfc8ed
MD5 12e51f93f3aff6080349087259b11ad3
BLAKE2b-256 1828ff22a062944fc01ed753d7760d6715344b728a9bd9fdc5c1a7e560781ef1

See more details on using hashes here.

Provenance

The following attestation bundles were made for atprotobin-1.1.2-py3-none-any.whl:

Publisher: release.yml on publicdomainrelay/atprotobin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page