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.1.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.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: atprotobin-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c2f69f3aeb46147aad58de22c1dedac8c9e1f337be45caeb6245ed06203e4711
MD5 465151f691a4709685e0c2804141d6ee
BLAKE2b-256 30940a656876e8aad14def9680ca3623e476d66c083bd7344f412cf44b878d66

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: atprotobin-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8cc38137ea306f5437591b5f36f944b4f61c49f79af7dc68eec136ba37e410b
MD5 c474f7a25ef09625dd4953f04b771ab2
BLAKE2b-256 d1f165f2f71be72f2dc62c6293c64c7794bd4a9961ccb15e8d7aec95b4cb5e0b

See more details on using hashes here.

Provenance

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