Made this whole thing somewhat publicly presentable.

Now that's not to say I cleaned up the source code, who knows what the
heck is in there...
This commit is contained in:
ForeverPyrite
2025-09-19 23:31:53 -04:00
parent 844c9eea6e
commit f92026698c
12 changed files with 2355 additions and 87 deletions

View File

@@ -2,12 +2,19 @@
name = "r2cli"
version = "0.1.0"
edition = "2024"
authors = ["foreverpyrite <foreverpyrite+cratesio@gmail.com"]
authors = ["foreverpyrite <r2client@foreverpyrite.com"]
description = "CLI for Cloudflare R2's S3-compatible storage using r2client"
[dependencies]
# Command Line Argument Parsing :exploding_head:
clap = { version = "4", features = ["derive"] }
# That way this can be used for some basic troubleshooting
# ~~not rn though, the error handling is non-existent~~
dotenv = "0.15"
# The R2Client for the R2 Command Line, crazy
# Since I'm not doing anything asyncronus for now, it's easier (lazier) to just use the blocking client
r2client = { path = "../r2client", default-features = false, features = [
"sync",
] }

View File

@@ -28,8 +28,10 @@ r2cli list-folders
```
## Requirements
- Rust
- Rust (WOAH (I'm too lazy to build the binary and put it elsewhere))
- Valid Cloudflare R2 credentials
## Todo
- [ ] If you REALLY feel goofy, a TUI would be pretty sick
- [ ] Allow multiple, parallel, file uploads under a specific key/folder
- [ ] Just more stuff like the above, download all the objects in a key/folder, ect
- [ ] If you REALLY feel goofy, a TUI would be pretty sick, however the r2client APIs would need extended quite a bit

View File

@@ -1,5 +0,0 @@
howdy
my name is
WHAT
my name is
HUH