diff --git a/README.md b/README.md index 87b3824..ec02fe1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Confetti-Box 🎉 -A super simple file host. Inspired by [Catbox](https://catbox.moe) and [Uguu](https://uguu.se). +A super simple file host. Inspired by [Catbox](https://catbox.moe) and +[Uguu](https://uguu.se). ## Features ### Current @@ -7,6 +8,7 @@ A super simple file host. Inspired by [Catbox](https://catbox.moe) and [Uguu](ht - Customizable using a simple config file - Only stores one copy of a given hash on the backend - Chunked uploads of configurable size +- Websocket uploads - Fast (enough), runs just fine on a Raspberry Pi - Simple API for interfacing with it programmatically - No database setup required, uses self-contained in memory database @@ -18,10 +20,10 @@ A super simple file host. Inspired by [Catbox](https://catbox.moe) and [Uguu](ht ## Screenshot
-
+
An example of a running instance
## License -Confetti-Box is licensed under the terms of the GNU AGPL-3.0 license. Do what you want -with it within the terms of that license. +Confetti-Box is licensed under the terms of the GNU AGPL-3.0 license. Do what +you want with it within the terms of that license. diff --git a/confetti-box/Cargo.toml b/confetti-box/Cargo.toml index 420166f..2c1ad32 100644 --- a/confetti-box/Cargo.toml +++ b/confetti-box/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "confetti_box" -version = "0.2.1" +version = "0.2.2" repository = "https://github.com/Dangoware/confetti-box" license = "AGPL-3.0-or-later" authors.workspace = true diff --git a/confetti-cli/Cargo.toml b/confetti-cli/Cargo.toml index d872f10..092c9be 100644 --- a/confetti-cli/Cargo.toml +++ b/confetti-cli/Cargo.toml @@ -7,7 +7,7 @@ keywords = ["selfhost", "upload", "command_line"] categories = ["command-line-utilities"] authors.workspace = true license = "AGPL-3.0-or-later" -edition = "2021" +edition = "2024" [[bin]] name = "imu" @@ -17,17 +17,17 @@ path = "src/main.rs" workspace = true [dependencies] -anyhow = "1.0.92" -chrono = { version = "0.4.38", features = ["serde"] } -clap = { version = "4.5.20", features = ["derive", "unicode"] } -directories = "5.0.1" -indicatif = { version = "0.17.8", features = ["improved_unicode"] } -owo-colors = { version = "4.1.0", features = ["supports-colors"] } -reqwest = { version = "0.12.8", features = ["json", "stream"] } -serde = { version = "1.0.213", features = ["derive"] } -serde_json = "1.0.132" -thiserror = "1.0.68" -tokio = { version = "1.41.0", features = ["fs", "macros", "rt-multi-thread"] } -tokio-util = { version = "0.7.12", features = ["codec"] } -toml = "0.8.19" -uuid = { version = "1.11.0", features = ["serde", "v4"] } +anyhow = "1.0" +chrono = { version = "0.4", features = ["serde"] } +clap = { version = "4.5", features = ["derive", "unicode"] } +directories = "6.0" +indicatif = { version = "0.17", features = ["improved_unicode"] } +owo-colors = { version = "4.1", features = ["supports-colors"] } +reqwest = { version = "0.12", features = ["json", "stream"] } +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" +thiserror = "1.0" +tokio = { version = "1.41", features = ["fs", "macros", "rt-multi-thread"] } +tokio-util = { version = "0.7", features = ["codec"] } +toml = "0.8" +uuid = { version = "1.11", features = ["serde", "v4"] } diff --git a/confetti-cli/src/main.rs b/confetti-cli/src/main.rs index 588503f..4471c71 100644 --- a/confetti-cli/src/main.rs +++ b/confetti-cli/src/main.rs @@ -7,7 +7,7 @@ use owo_colors::OwoColorize; use reqwest::Client; use serde::{Deserialize, Serialize}; use thiserror::Error; -use tokio::{fs::{create_dir, File}, io::{AsyncReadExt, AsyncWriteExt}, task::JoinSet}; +use tokio::{fs::File, io::{AsyncReadExt, AsyncWriteExt}, task::JoinSet}; use uuid::Uuid; use clap::{arg, builder::{styling::RgbColor, Styles}, Parser, Subcommand}; use anyhow::{anyhow, bail, Context as _, Result}; diff --git a/images/Confetti-Box Screenshot.png b/images/Confetti-Box Screenshot.png new file mode 100644 index 0000000..02a9924 Binary files /dev/null and b/images/Confetti-Box Screenshot.png differ