Skip to main content

ATProto based pastebin

Project description

ATProto based pastebin

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

Paste

curl -X POST -F file=@README.md 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

asciicast

  • TODO
    • Receive webhook from VCS, get OIDC token, get secret using OIDC, trigger push and pull for federated repo.

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.0.0.tar.gz (5.5 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.0.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for atprotobin-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4072b7c8e6537cdd03c8807019c35d8696d53f2dfbed374c6f6b4493354cec3e
MD5 c981749c544f562a3498a295b702be39
BLAKE2b-256 b7257c88c9da79264b0e79db8e9a9d7ea9aeb8b525cefe32cd77add597d1d313

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for atprotobin-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed86419a8ead9938df4723521524078f25a42ccfb5758a6a3777585bda62805
MD5 0a5446dbbf9fd5f1f7c8b3b00e8b3d25
BLAKE2b-256 eb18f243a7e2655778cb993ce887a0e2da051d34d9a0eb5d49feec8f4c6eb37f

See more details on using hashes here.

Provenance

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