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 requests

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-0.1.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-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pylitter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f41f07032e1db948a1cfd9d3099b33192a26c23bd84a181c598e9ac26d8cbbf
MD5 3f0809b743863851ed871586c5169b4f
BLAKE2b-256 7e145e01ee745b39c94778ad4fe53b1e87cf6a6874563c0b8a238f67f0938a77

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pylitter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6288fbec0b4f3ce60603287ef6849e49a171d8c3791fbfd0e328d0b70f7d6d2
MD5 f5c1379173e41e65d5781677ecba86ef
BLAKE2b-256 8ad7e49fb4523398393b2aa4c8e82eee2e9f8612f9a813d5df9187f88d6e2c57

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