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/Catbox. You type a command, you get a link. As simple as that!

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

Installation

pip install pylitter

or use pipx if you're on Arch or equivalent.

Usage

The main command is "throw", because just "throw it into the litter, man". Geddit?

throw file (for|forever) [1h/12h/24h/72h]
  • Use for <time> if you want to upload to Litterbox, temporary.
  • Use forever if you want to upload to Catbox, permanent.

[!NOTE] The old command litter and the new throw can still be used interchangeably, but it is recommended to use the superior throw.

[!IMPORTANT] Remember that Catbox has a file size limit of 200mb.

Examples

throw test.jpg for 12h   

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

[23039/23039] bytes |====================>|
Your link : https://files.catbox.moe/nxulxl.jpg

Acknowledgements

You guys are amazing!

Contributing

If you wish to, you can contribute to the project by submitting a pull request.

The best way to contribute would be to suggest the developer a provider or a feature, more better if you can show a logic of how that can be done, you'll be mentioned and thanked!

Sponsoring

Money is appreciated, but stars even more! Feel free to star the project if you think it is worthy of one. Moreover, you can just talk, banter and argue with the developer as that way you'll be paying with your time.

Never forget, you are SUPER cool!

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.1.0.tar.gz (5.4 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.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylitter-1.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pylitter-1.1.0.tar.gz
Algorithm Hash digest
SHA256 6e590d169893d577209008fb5b8b6a76eefe4e1e8afc18982b60baa28b61d758
MD5 d3becc7f1359d3fafd602e6878f84fb1
BLAKE2b-256 acd03f9c8992aedc6cf0939296571f1c4295836d3e0fdb674fc730e4cf21a67e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylitter-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pylitter-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d9d5298e3bbc2f4a7dd741e84b59a63724564e36e08576f9e2a1f0df39befa5
MD5 8866aabec1577604322c758aa710ea45
BLAKE2b-256 f4970e0056e56ced1a881a97dbc158a2f77c95b10fd31158d28e9dfa117a51a8

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