diff --git a/.gitignore b/.gitignore
index ae38d5c..e09a20a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-src-tauri/Resources/history.json
+src-tauri/Resources/history.json
\ No newline at end of file
diff --git a/README.md b/README.md
index 8c15e67..424e3c4 100644
--- a/README.md
+++ b/README.md
@@ -5,14 +5,14 @@
This project lets you upload your files remotely to different hosting sites.
-
+
-
+### [The official website with documentation and code details](https://spel987.github.io/Automatic-File-Uploader/)
# Installation
-### - Use the application by compiling it by hand :
+### - Use the application by compiling it by hand:
-- Install the latest version of Rust : https://www.rust-lang.org/tools/install
+- Install the latest version of Rust: https://www.rust-lang.org/tools/install
- Install Tauri-CLI with this command:
@@ -23,17 +23,17 @@ cargo install tauri-cli
- Start compilation with this command:
```
-cargo tauri build
+tauri build
```
You'll find the installer in the `.\src-tauri\target\release\bundle` folder.
-### - Or simply download and run the [realease](https://github.com/spel987/Automatic-File-Uploader/releases/latest).
+### - Or simply download and run the [release](https://github.com/spel987/Automatic-File-Uploader/releases/latest).
Additional information: I'm not providing a portable version at the moment. In fact, Tauri creates a `C:\Users\\AppData\Local\Automatic-File-Uploader` folder containing the data required by the Webview.
# Use
-Currently, my application supports **43 hosting sites**.
+Currently, my application supports **45 hosting sites**.
So you can upload your files remotely and get the download link created. You can also upload your file to several hosts simultaneously and retrieve all the links created.
@@ -41,7 +41,7 @@ I've provided predefined profiles to simplify things, but if you like, you can c
You have access to a history of links created, showing its upload date and the time remaining before it expires. When your file has expired, this is indicated. You can easily clear the history.
-Every day, a check is made to see if the hosts are still online. If this is not the case, the script makes it unavailable.
+Every 12 hours, a check is made to see if the hosts are still online. If this is not the case, the script makes it unavailable.
You can manually delete the file uploaded to the host from the history, provided that the host is able to delete it and offers the ability to do so. You'll find a list below.
@@ -62,7 +62,7 @@ fn main() {
let CREATE_NO_WINDOW = 0x08000000;
let child = Command::new("cmd")
- .args(["/C", "cd", "Resources", "&&", "warp-cors.exe", "--port", "61337"])
+ .args(["/C", "cd", "Resources", "&", "warp-cors.exe", "--port", "61337"])
.creation_flags(CREATE_NO_WINDOW)
.spawn()
.expect("Error launching warp-cors server process");
@@ -100,7 +100,7 @@ const url_for_bypass_cors = "http://127.0.0.1:61337"
else if (current_host === "oshi.at") {
sent_data_form.append("f", file_to_upload);
sent_data_form.append("expire", "120");
- upload_to_host([url_for_bypass_cors + "https://oshi.at/", "POST", sent_data_form], "text", ["match", /(?<=DL: )\S+/], [], [["match", /(?<=MANAGE: )\S+/], "GET"]);
+ upload_to_host([url_for_bypass_cors + "https://oshi.at/", "POST", sent_data_form], "text", ["match", /(?<=DL: )\S+/, 0], [], [["match", /(?<=MANAGE: )\S+/], "GET", {}, ["", "?delete=1"]]);
}
```
@@ -109,97 +109,75 @@ else if (current_host === "oshi.at") {
Below is a table of the hosting providers currently supported by the application.
-| Name | Url | Max files size | Time to file expiration | Uses warp-cors to work |
-| ------------- | ------------- | ------------- | ------------- | ------------- |
-| Gofile | https://gofile.io | infinite | 10d | Yes |
-| Litterbox | https://litterbox.catbox.moe | 1GB | 24h | Yes |
-| File.io | https://file.io | 2GB | 14d | No |
-| TmpFiles.org | https://tmpfiles.org | 100MB | 1h | No |
-| 0x0.st | https://0x0.st/ | 512MB | depends on the size of your file | Yes |
-| c-v.sh | https://c-v.sh | 4GB | depends on the size of your file | Yes |
-| ki.tc | https://ki.tc | 400MB | depends on the size of your file | Yes |
-| Oshi.at | https://oshi.at/ | 5GB | 2h | Yes |
-| Filebin | https://filebin.net/ | infinite | 7d | Yes |
-| transfer.sh | https://transfer.sh | 10GB |14d | Yes |
-| bashupload | https://bashupload.com | 50GB | 3d | Yes |
-| Curl.by | https://curl.by | 32MB | 30d | Yes |
-| x0.at | https://x0.at | 50MB | depends on the size of your file | Yes |
-| Uplooad | https://uplooad.net | 1GB | 2d | Yes |
-| Tommo.team | https://tommo.team | 4GB | 30d | Yes |
-| AnonymFile | https://anonymfile.com | 7.17GB | 7d | No |
-| Anyfile | https://anyfile.co | 7.17GB | 7d | No |
-| Gofile.cc | https://gofile.cc | 7.17 | 7d | No |
-| tempfiles.ninja | https://tempfiles.ninja | 100MB | 24h | Yes |
-| Pixeldrain | https://pixeldrain.com | 20GB | 90d | Yes |
-| 1Cloudfile | https://1cloudfile.com | 5GB | 30d | Yes |
-| Bowfile | https://bowfile.com | 5GB | 30d | Yes |
-| Uploadify | https://uploadify.net | 2GB | infinite | Yes |
-| AnonFiles.me | https://anonfiles.me | 7.17GB | 7d | No |
-| AnonTransfer | https://anontransfer.com | 1GB | 30d | Yes |
-| AnonSharing | https://anonsharing.com | 1GB | 180d | Yes |
-| Temp.sh | https://temp.sh | 4GB | 3d | Yes |
-| Uguu.se | https://uguu.se | 32MB | 3h | Yes |
-| Nopaste | https://nopaste.net | 2GB | 21d | Yes |
-| udrop | https://udrop.com | 10GB | infinite | Yes |
-| Tempsend | https://tempsend.com | 2GB | 7d | Yes |
-| 1fichier | https://1fichier.com | infinite | infinite | Yes |
-| Turbobit | https://turbobit.net | 200MB | infinite | Yes |
-| Hitfile | https://hitfile.net | 100GB | 30d | Yes |
-| file-upload.org | https://file-upload.org | 200MB | 60d | Yes |
-| HexUpload | https://hexupload.net | 2GB | 60d | Yes |
-| Mexa.sh | https://mexa.sh | 500MB | 60d | Yes |
-| RapidFileShare | http://rapidfileshare.net | 512MB | 5d | Yes |
-| Send.cm | https://send.cm | 100GB | 15d | Yes |
-| up-load.io | https://up-load.io | 100MB | infinite | Yes |
-| Usercloud | https://usercloud.com | 5GB | infinite | Yes |
-| FileTmp | https://filetmp.com | 300MB | infinite | Yes |
-| Bayfiles.io | https://bayfiles.io | 7.17GB | 7d | No |
-
-In all, Automatic-File-Uploader lets you upload your files to **43 different hosts** !
+| Name | Url | Max files size | Time to file expiration | Uses warp-cors to work | Supports manual deletion |
+| ---- | ---- | ---- | ---- | ---- | ---- |
+| Gofile | https://gofile.io | infinite | 10 days | Yes | ✅ |
+| Litterbox | https://litterbox.catbox.moe | 1GB | 24 hours | Yes | ❌ |
+| File.io | https://file.io | 2GB | 14 days | No | ❌ |
+| TmpFiles.org | https://tmpfiles.org | 100MB | 1 hour | No | ❌ |
+| 0x0.st | https://0x0.st | 512MB | depends on the size of your file* | Yes | ❌ |
+| c-v.sh | https://c-v.sh | 4GB | depends on the size of your file* | Yes | ❌ |
+| ki.tc | https://ki.tc | 400MB | depends on the size of your file* | Yes | ❌ |
+| Oshi.at | https://oshi.at | 5GB | 2 hours | Yes | ✅ |
+| Filebin | https://filebin.net | infinite | 7 days | Yes | ✅ |
+| transfer.sh | https://transfer.sh | 10GB | 14 days | Yes | ❌ |
+| bashupload | https://bashupload.com | 50GB | 3 days | Yes | ❌ |
+| Curl.by | https://curl.by | 32MB | 30 days | Yes | ❌ |
+| x0.at | https://x0.at | 50MB | depends on the size of your file* | Yes | ❌ |
+| Uplooad | https://uplooad.net | 1GB | 2 days | Yes | ✅ |
+| Tommo.team | https://tommo.team | 4GB | 30 days | Yes | ❌ |
+| tempfiles.ninja | https://tempfiles.ninja | 100MB | 24 hours | Yes | ✅ |
+| Pixeldrain | https://pixeldrain.com | 20GB | 90 days | Yes | ❌ |
+| 1Cloudfile | https://1cloudfile.com | 5GB | 30 days | Yes | ✅ |
+| Bowfile | https://bowfile.com | 5GB | 30 days | Yes | ✅ |
+| Uploadify | https://uploadify.net | 2GB | infinite | Yes | ✅ |
+| AnonTransfer | https://anontransfer.com | 1GB | 30 days | Yes | ❌ |
+| AnonSharing | https://anonsharing.com | 1GB | 180 days | Yes | ✅ |
+| Temp.sh | https://temp.sh | 4GB | 3 days | Yes | ❌ |
+| Uguu.se | https://uguu.se | 32MB | 3 hours | Yes | ❌ |
+| Nopaste | https://nopaste.net | 2GB | 21 days | Yes | ❌ |
+| udrop | https://udrop.com | 10GB | infinite | Yes | ✅ |
+| Tempsend | https://tempsend.com | 2GB | 7 days | Yes | ❌ |
+| 1fichier | https://1fichier.com | infinite | infinite | Yes | ✅ |
+| Turbobit | https://turbobit.net | 200MB | infinite | Yes | ❌ |
+| Hitfile | https://hitfile.net | 100GB | 30 days | Yes | ❌ |
+| file-upload.org | https://file-upload.org | 200MB | 60 days | Yes | ✅ |
+| HexUpload | https://hexload.com | 2GB | 60 days | Yes | ✅ |
+| Mexa.sh | https://mexa.sh | 500MB | 60 days | Yes | ✅ |
+| RapidFileShare | http://rapidfileshare.net | 512MB | 5 days | Yes | ✅ |
+| Send.cm | https://send.cm | 100GB | 15 days | Yes | ❌ |
+| up-load.io | https://up-load.io | 100MB | infinite | Yes | ✅ |
+| Usercloud | https://usercloud.com | 5GB | infinite | Yes | ✅ |
+| FileTmp | https://filetmp.com | 300MB | infinite | Yes | ❌ |
+| UsersDrive | https://usersdrive.com | 2.25GB | 10 days | Yes | ✅ |
+| Download.gg | https://download.gg | 25GB | infinite | Yes | ✅ |
+| MegaUp | https://megaup.net | 5GB | 60 days | Yes | ✅ |
+| KrakenFiles | https://krakenfiles.com | 1GB | 30 days | Yes | ❌ |
+| Clicknupload | https://clicknupload.click | 2GB | 7 days | Yes | ✅ |
+| Daily Uploads | https://dailyuploads.net | 4GB | 10 days | Yes | ✅ |
+| Upload.ee | https://upload.ee | 100MB | 50 days | Yes | ✅ |
+
+In all, Automatic-File-Uploader lets you upload your files to **45 different hosts** !
If you know of a host that has an API or just a CLI interface (without token or authentication key), please open an [issue](https://github.com/spel987/Automatic-File-Uploader/issues).
-Video demonstration :
-
-[![Automatic-File-Upload 1.3.0 Video Demonstration](https://i.imgur.com/ZzNsacz.png)](https://www.youtube.com/watch?v=a-UuBO4uKXA)
-# Hosts that support manual deletion of uploaded files
-
-| Name | Url |
-| ------------- | ------------- |
-| Gofile | https://gofile.io |
-| Oshi.at | https://oshi.at |
-| Filebin | https://filebin.net/ |
-| Uploadify | https://uploadify.net |
-| udrop | https://udrop.com |
-| 1fichier | https://1fichier.com |
+ *\* : "depends on the size of your file" means that the host keeps your files according to their weight. They use different algorithms. For more information, please visit the chosen site.*
# Made by and with
-By :
+By:
- Spel
- Discord : `spel987`
- Email : `spel@skiff.com`
- GitHub : https://github.com/spel987
-
-With :
-- Rust : https://www.rust-lang.org
-- Tauri : https://tauri.app/
-- Tailwind CSS : https://tailwindcss.com/
-- Flaticon (and author [Ilham Fitrotul Hayat](https://www.flaticon.com/fr/auteurs/ilham-fitrotul-hayat)): https://www.flaticon.com/fr/icone-gratuite/telecharger_2763883
-- warp-cors : https://github.com/Bassetts/warp-cors
+ Email: `spel987@pm.me`
+ GitHub: https://github.com/spel987
+
+With:
+- Rust: https://www.rust-lang.org
+- Tauri: https://tauri.app/
+- Tailwind CSS: https://tailwindcss.com/
+- Flaticon (and author [Ilham Fitrotul Hayat](https://www.flaticon.com/authors/ilham-fitrotul-hayat)): https://www.flaticon.com/free-icon/upload_2763883
+- warp-cors: https://github.com/Bassetts/warp-cors
- All the sites listed in the table above
# Suggestions
-If you have any questions or suggestions, please open an [issue](https://github.com/spel987/Automatic-File-Uploader/issues).
-
-If you like this project or want to support it, you can make donations.
-
-Ethereum :
-```
-0x79024c8eA7Bfdef93cBa538eB6288a9bB40eFC97
-```
-Bitcoin :
-```
-bc1qua3qmrhlv3e53ydynwvfc2wq8q7wteqxwlewa4
-```
+If you have any questions or suggestions, please open an [issue](https://github.com/spel987/Automatic-File-Uploader/issues).
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 9ece351..20483a1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "Automatic-File-Uploader",
- "version": "1.3.0",
+ "version": "1.4.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "Automatic-File-Uploader",
- "version": "1.3.0",
+ "version": "1.4.0",
"dependencies": {
"cors": "^2.8.5",
"tauri": "^0.15.0",
diff --git a/package.json b/package.json
index 58390f1..f1c98f4 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "Automatic-File-Uploader",
"private": true,
- "version": "1.3.0",
+ "version": "1.4.0",
"type": "module",
"devDependencies": {
"@tauri-apps/cli": "^1.5.0"
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 49866d0..8fca602 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -15,7 +15,7 @@ tauri-build = { version = "1.5", features = [] }
[dependencies]
serde = { version = "1.0.190", features = ["derive"] }
serde_json = { version = "1.0.108", features = ["preserve_order"] }
-tauri = { version = "1.5", features = [ "fs-read-file", "shell-open", "fs-read-dir", "protocol-asset", "path-all", "window-start-dragging", "window-close", "window-minimize"] }
+tauri = { version = "1.5", features = [ "window-unmaximize", "window-maximize", "fs-read-file", "shell-open", "fs-read-dir", "protocol-asset", "path-all", "window-start-dragging", "window-close", "window-minimize"] }
[features]
# this feature is used for production builds or when `devPath` points to the filesystem
diff --git a/src-tauri/Resources/profiles.json b/src-tauri/Resources/profiles.json
index 523e333..0554696 100644
--- a/src-tauri/Resources/profiles.json
+++ b/src-tauri/Resources/profiles.json
@@ -8,7 +8,8 @@
"www.udrop.com",
"1fichier.com",
"hitfile.net",
- "send.cm"
+ "send.cm",
+ "download.gg"
],
"No retention period": [
"uploadify.net",
@@ -17,7 +18,8 @@
"turbobit.net",
"up-load.io",
"userscloud.com",
- "filetmp.com"
+ "filetmp.com",
+ "download.gg"
],
"Retention period of less than one day": [
"litter.catbox.moe",
@@ -30,8 +32,25 @@
"gofile.io",
"oshi.at",
"filebin.net",
+ "uplooad.net",
+ "tempfiles.ninja",
+ "1cloudfile.com",
+ "bowfile.com",
"uploadify.net",
+ "anonsharing.com",
"www.udrop.com",
- "1fichier.com"
+ "1fichier.com",
+ "file-upload.org",
+ "hexload.com",
+ "mexa.sh",
+ "www.rapidfileshare.net",
+ "up-load.io",
+ "userscloud.com",
+ "usersdrive.com",
+ "download.gg",
+ "megaup.net",
+ "clicknupload.click",
+ "dailyuploads.net",
+ "www.upload.ee"
]
}
\ No newline at end of file
diff --git a/src-tauri/Resources/prohibited_format.json b/src-tauri/Resources/prohibited_format.json
index 2d1b6e6..5eebe75 100644
--- a/src-tauri/Resources/prohibited_format.json
+++ b/src-tauri/Resources/prohibited_format.json
@@ -6,6 +6,6 @@
"x0.at": ["exe", "rar", "jar", "apk", "scr", "dll"],
"a.uguu.se": ["exe"],
"www.udrop.com": ["exe", "dll", "apk", "html"],
- "hexupload.net": ["jpeg", "jpg", "png"],
+ "hexload.com": ["jpeg", "jpg", "png"],
"mexa.sh": ["exe"]
}
\ No newline at end of file
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 0e915a6..2041b77 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -8,7 +8,7 @@
},
"package": {
"productName": "Automatic-File-Uploader",
- "version": "1.3.0"
+ "version": "1.4.0"
},
"tauri": {
"allowlist": {
@@ -19,6 +19,8 @@
"window": {
"close": true,
"minimize": true,
+ "unmaximize": true,
+ "maximize": true,
"startDragging": true
},
"path": {
@@ -61,12 +63,15 @@
"windows": [
{
"fullscreen": false,
- "resizable": false,
+ "resizable": true,
"title": "Automatic-File-Uploader",
"width": 1100,
"height": 700,
+ "minWidth": 1100,
+ "minHeight": 700,
"decorations": false,
- "fileDropEnabled": false
+ "fileDropEnabled": false,
+ "transparent": true
}
]
}
diff --git a/src/images/clicknupload.png b/src/images/clicknupload.png
new file mode 100644
index 0000000..0b8563e
Binary files /dev/null and b/src/images/clicknupload.png differ
diff --git a/src/images/downloadgg.png b/src/images/downloadgg.png
new file mode 100644
index 0000000..3543014
Binary files /dev/null and b/src/images/downloadgg.png differ
diff --git a/src/images/krakenfiles.png b/src/images/krakenfiles.png
new file mode 100644
index 0000000..8922d69
Binary files /dev/null and b/src/images/krakenfiles.png differ
diff --git a/src/images/megaup.png b/src/images/megaup.png
new file mode 100644
index 0000000..f27afc4
Binary files /dev/null and b/src/images/megaup.png differ
diff --git a/src/images/uploadee.png b/src/images/uploadee.png
new file mode 100644
index 0000000..fd2a7ff
Binary files /dev/null and b/src/images/uploadee.png differ
diff --git a/src/images/usersdrive.png b/src/images/usersdrive.png
new file mode 100644
index 0000000..5e876e3
Binary files /dev/null and b/src/images/usersdrive.png differ
diff --git a/src/index.html b/src/index.html
index 43fa260..f5be7a0 100644
--- a/src/index.html
+++ b/src/index.html
@@ -55,11 +55,12 @@