Skip to main content

ATProto based pastebin

Project description

ATProto based pastebin

GitHub: https://github.com/publicdomainrelay/atprotobin

Paste

curl -X POST --data-binary @README.md -H "Content-Type: text/plain" 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 --data-binary @README.md -H "Content-Type: text/plain" https://paste.chadig.com | tee /dev/stderr | jq -r .id)

Paste and retrive (development)

curl -sf http://localhost:8000/$(curl -X POST --data-binary @src/atprotobin/cli.py -H "Content-Type: text/plain" 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

asciicast

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-0.3.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

atprotobin-0.3.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: atprotobin-0.3.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for atprotobin-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9970184a03e2a3e77eb765f3173b392b2f2f23edea9336cfb1c5531cfd1bf155
MD5 20bebfe5f55a34e74fc62c84937e589c
BLAKE2b-256 c1154f71e82013362e6b67eb0d350871b03c042b2a3ea511d84fc181dc98a565

See more details on using hashes here.

Provenance

The following attestation bundles were made for atprotobin-0.3.0.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-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: atprotobin-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for atprotobin-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22a9c838207565e27dd2bfa8a1cc195ed09f634307bc4f2cdb57f857db66bc19
MD5 15b29c8f871f085d71aae094c2c8a103
BLAKE2b-256 580c785eee1bd41fdfaff3a01b70d64a0116a9482fdd867804aab8d7aee15624

See more details on using hashes here.

Provenance

The following attestation bundles were made for atprotobin-0.3.0-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