- Bunkrr accounts
- Parallel uploads
- Retries
- Progress bars
usage: bunkr_uploader [-h] [-t str] [-n {str,null}] [-c int] [--chunk-size ByteSize] [--use-max-chunk-size bool] [--public bool] [--config-file {Path,null}] [--upload-retries int] [--chunk-retries int]
[--upload-delay int] [--recurse bool]
PATH
positional arguments:
PATH File or directory to look for files in to upload
options:
-h, --help show this help message and exit
-t str, --token str API token for your account so that you can upload to a specific account/folder. You can also set the BUNKR_TOKEN environment variable for this (required)
-n {str,null}, --album-name {str,null}
(default: null)
-c int, --concurrent-uploads int
Maximum parallel uploads to do at once (default: 2)
--chunk-size ByteSize
(default: 0)
--use-max-chunk-size bool
Use the server's maximum chunk size instead of the default one (default: True)
--public bool Make all files uploaded public (default: True)
--config-file {Path,null}
(default: null)
--upload-retries int How many times to retry a failed upload (default: 1)
--chunk-retries int How many times to retry a failed chunk or chunk completion (default: 2)
--upload-delay int How many seconds to wait in between failed upload attempts (default: 1)
--recurse bool Read files in `path` recursely (default: False)
- Slit API and UploadClient
- Migrate to aiohttp
- Upload logging
- Replace tqdm with rich progress
- Skipping duplicate uploads
- Private and public directory uploads
- Update README
- Make it work
- Add file zipping and cleanup
- Add tests
- Add github runners for tests
- Recursive directory upload support
Original code by alexmi256