Skip to main content

CLI tool to upload file to litterbox/catbox

Project description

litter

A simple CLI tool to upload temporary files to Litterbox with an upload link.

Made for those who are too lazy to open SCP/SFTP.

Installation

pip install pylitter

Usage

You can use either Litterbox or Catbox (for permanent) for hosting. By default, it uses Litterbox.

litter <filename> --host=<host|default=litterbox> -t <time|1h/12h/24h/72h>

Example

litter test.jpg -t 12h   

[71097/71097] bytes |====================>|
Your link : https://litter.catbox.moe/zmr6i6.jpg

Running Tests

python3 upload_test.py

Issues? Changes?

Just open an issue/pull request

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

pylitter-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

pylitter-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylitter-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.7

File hashes

Hashes for pylitter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6f161a6d04a2312e294dfcb9077b08c5fb583c8e35e280c677c0ec7e24f7ea8e
MD5 17a7d38b238456ab52cf3a6a9126ad18
BLAKE2b-256 7f2630bb9986679813ac1440ed3d28e3d36be9272148f958659f16e6f61e7dc2

See more details on using hashes here.

File details

Details for the file pylitter-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pylitter-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.7

File hashes

Hashes for pylitter-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47fa8b52519f4a82c0329baf70cf3b6af9b0d73716c72df3f53c5dc4623ab985
MD5 f450af4513d25f6acc4f7dee126773e4
BLAKE2b-256 a99b769e96e6a3fd66f713e84d85b07957b74e38d6799e8dc75f62bf3115878b

See more details on using hashes here.

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