Skip to main content

ATProto based pastebin

Project description

ATProto based pastebin

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.2.0.tar.gz (4.8 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.2.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for atprotobin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 57e2c97b6232d4da50a96eb03558f996207d2212cc7cc9ba13604c3c761c8fb9
MD5 3bc74768ad6b307082cea5c7c987d7c1
BLAKE2b-256 d78dc9128bf44218be195757a9e47ce78b0c4dbbfed9610ec831818aa583d944

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: atprotobin-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d02ef53738988a1a24a2cfad28a8b549181939187f7d09cc7961522145194cb4
MD5 5809d2b23e2d529b1bd5096061021456
BLAKE2b-256 393c07a17c6738856700c3927f60b7c078324abb38d78c1254929a062fc6a0d5

See more details on using hashes here.

Provenance

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