# litter
A simple CLI tool to upload temporary files to [Litterbox](https://litterbox.catbox.moe/)/[Catbox](https://catbox.moe/). 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
- [@yukinotenshi](https://github.com/yukinotenshi) for creating [PyUpload](https://github.com/yukinotenshi/pyupload).
- [catbox.llc](https://catbox.llc/) for litterbox and catbox.
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.
<p align="center"><sup>Never forget, you are SUPER cool!</sup></p>
Raw data
{
"_id": null,
"home_page": "https://github.com/moiSentineL/litter",
"name": "pylitter",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "direct upload cli",
"author": "moisentinel, yukinotenshi",
"author_email": "nibir@nibirsan.org, gabriel.bentara@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c4/50/da61a671dba410c7c6537bb76aedea64612e74bd182e11eb51481cfb8d32/pylitter-1.1.1.tar.gz",
"platform": null,
"description": "# litter\n\nA simple CLI tool to upload temporary files to [Litterbox](https://litterbox.catbox.moe/)/[Catbox](https://catbox.moe/). You type a command, you get a link. As simple as that!\n\nMade for those who are too lazy to open SCP/SFTP.\n\n## Installation\n```\npip install pylitter\n```\n\nor use `pipx` if you're on Arch or equivalent.\n## Usage\nThe main command is \"throw\", because just \"**throw it into the litter, man**\". Geddit?\n\n```\nthrow file (for|forever) [1h/12h/24h/72h]\n```\n\n- Use `for <time>` if you want to upload to Litterbox, temporary.\n- Use `forever` if you want to upload to Catbox, permanent.\n\n>[!NOTE]\n>The old command `litter` and the new `throw` can still be used interchangeably, but it is recommended to use the superior `throw`.\n\n>[!IMPORTANT]\n>Remember that Catbox has a file size limit of 200mb.\n\n## Examples\n\n```\nthrow test.jpg for 12h \n\n[71097/71097] bytes |====================>|\nYour link : https://litter.catbox.moe/zmr6i6.jpg\n```\n\n```\nthrow test2.jpg forever\n\n[23039/23039] bytes |====================>|\nYour link : https://files.catbox.moe/nxulxl.jpg\n```\n\n## Acknowledgements\n- [@yukinotenshi](https://github.com/yukinotenshi) for creating [PyUpload](https://github.com/yukinotenshi/pyupload).\n- [catbox.llc](https://catbox.llc/) for litterbox and catbox. \n\nYou guys are amazing!\n## Contributing\nIf you wish to, you can contribute to the project by submitting a pull request.\n\nThe 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!\n### Sponsoring\nMoney 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.\n\n<p align=\"center\"><sup>Never forget, you are SUPER cool!</sup></p>\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CLI tool to upload file to litterbox/catbox",
"version": "1.1.1",
"project_urls": {
"Homepage": "https://github.com/moiSentineL/litter"
},
"split_keywords": [
"direct",
"upload",
"cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "101f9a9ac7d8cedc2fb3b57e292145beda2a4b1f96dc3055b28d0f4722416dc6",
"md5": "131df7a5941059837c5b8784f7a92723",
"sha256": "41cc8985e1d1f4288a1347f9226fd200ea9e6f227022f41c311ac6f6a65caff9"
},
"downloads": -1,
"filename": "pylitter-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "131df7a5941059837c5b8784f7a92723",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6806,
"upload_time": "2024-12-28T07:19:07",
"upload_time_iso_8601": "2024-12-28T07:19:07.309655Z",
"url": "https://files.pythonhosted.org/packages/10/1f/9a9ac7d8cedc2fb3b57e292145beda2a4b1f96dc3055b28d0f4722416dc6/pylitter-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c450da61a671dba410c7c6537bb76aedea64612e74bd182e11eb51481cfb8d32",
"md5": "8625dff3c953e88380d5f6c53b518f14",
"sha256": "8262698837ff18bdd3599f907593eee462d6f5b45dfcfbbd0165d60718af81bf"
},
"downloads": -1,
"filename": "pylitter-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "8625dff3c953e88380d5f6c53b518f14",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5369,
"upload_time": "2024-12-28T07:19:09",
"upload_time_iso_8601": "2024-12-28T07:19:09.864204Z",
"url": "https://files.pythonhosted.org/packages/c4/50/da61a671dba410c7c6537bb76aedea64612e74bd182e11eb51481cfb8d32/pylitter-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-28 07:19:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "moiSentineL",
"github_project": "litter",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "certifi",
"specs": [
[
"==",
"2024.8.30"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.4.0"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.7"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.10"
]
]
},
{
"name": "mypy-extensions",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"24.2"
]
]
},
{
"name": "pathspec",
"specs": [
[
"==",
"0.12.1"
]
]
},
{
"name": "platformdirs",
"specs": [
[
"==",
"4.3.6"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.32.3"
]
]
},
{
"name": "requests-toolbelt",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.2.3"
]
]
}
],
"lcname": "pylitter"
}