Code Monkey home page Code Monkey logo

boibox's Introduction

boibox ๐Ÿ๐Ÿ“ฆ

Boiga is a large genus of rear-fanged, mildly venomous snakes, known commonly as cat-eyed snakes or simply cat snakes

Python tool using asynchronous web requests to manage files on catbox.moe.

Installation

pip install boibox

Features

Upload

Upload a space-separated list of files from your computer to catbox. Optionally provide your userhash to associate uploads with your account and allow them to be deleted later. See more in the Delete documentation below.

Usage:

> boibox upload image.png video.mp4 readme.txt
image.png -> https://files.catbox.moe/us8ulr.png
video.mp4 -> https://files.catbox.moe/qoqoku.mp4
readme.txt -> https://files.catbox.moe/834wl6.txt

Download

Download a space-separated list of filenames or URLs from files.catbox.moe. Outputs to the current directory by default, but this can be overriden with the -destination flag.

Usage:

> boibox download -destination Downloads us8ulr.png https://files.catbox.moe/qoqoku.mp4 834wl6.txt
Downloads/us8ulr.png
Downloads/qoqoku.mp4
Downloads/834wl6.txt

Delete

Deletes a space-separated list of filenames or URLs from files.catbox.moe. Requires -userhash to be provided or the USERHASH environment variable to be set. Your userhash can be found on the Manage Account page at catbox. Your userhash must be specified on uploads to make them deletable.

Usage:

> boibox delete -userhash 2ab3bc08105ba7c171838f420 us8ulr.png https://files.catbox.moe/qoqoku.mp4 834wl6.txt
Files successfully deleted.

boibox's People

Contributors

astraea0 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.