-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Additions: + Added ability to resize window. + Added a website to document the project in detail and clarify certain parts of the code: https://spel987.github.io/Automatic-File-Uploader/. + Added version indication to window title. + Added 7 new hosts: - UsersDrive (https://usersdrive.com) - Download.gg (https://download.gg) - MegaUp (https://megaup.net) - KrakenFiles (https://krakenfiles.com) - Clicknupload (https://clicknupload.click) - Daily Uploads (https://dailyuploads.net) - Upload.ee (https://upload.ee) + Added manual removal support to 16 hosts: - Uplooad (https://uplooad.net) - tempfiles.ninja (https://tempfiles.ninja) - 1cloudfile (https://1cloudfile.com) - Bowfile (https://bowfile.com) - AnonSharing (https://anonsharing.com) - file-upload.org (https://file-upload.org) - HexUpload (https://hexload.com) - Mexa.sh (https://mexa.sh) - RapidFileShare (http://rapidfileshare.net) - up-load.io (https://up-load.io) - Usercloud (https://usercloud.com) - UsersDrive (https://usersdrive.com) - Download.gg (https://download.gg) - MegaUp (https://megaup.net) - Clicknupload (https://clicknupload.click) - Daily Uploads (https://dailyuploads.net) - Upload.ee (https://upload.ee) ## Changes: * Fixed bug that made window not draggable when uploading file. * Simplified profile editing window. * Improved management and retrieval of items required for file deletion. * Improved interface for manual deletion. * Disabled upload button if the file is identical to the one just uploaded. * Specified retention times ("hours" instead of "h" and "days" instead of "d"). * Improved colorization of every other line. * Many miscellaneous improvements made to the code, the user experience, and the interface layout. ## Removals: - Removed no longer supported hosts: - AnonymFile (https://anonymfile.com): Added a cookies/token system to prevent remote uploads. - Anyfile (https://anyfile.co): The site is no longer online. - Gofile.cc (https://gofile.cc): The site is no longer online. - AnonFiles.me (https://anonfiles.me): The site is no longer online. - Bayfiles.io (https://bayfiles.io): The site is no longer online.
- Loading branch information
spel
committed
Jan 31, 2024
1 parent
915662d
commit 4e1392b
Showing
16 changed files
with
530 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
src-tauri/Resources/history.json | ||
src-tauri/Resources/history.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,14 @@ | |
This project lets you upload your files remotely to different hosting sites. | ||
|
||
<h1 align="center"> | ||
<a href="#"><img src="https://i.imgur.com/8oTYP4D.png"></a> | ||
<a href="#"><img src="https://i.imgur.com/KHRMPL8.png"></a> | ||
</h1> | ||
|
||
### [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,25 +23,25 @@ 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\<User>\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. | ||
|
||
I've provided predefined profiles to simplify things, but if you like, you can create your own profiles with your chosen hosts. Rename them, change hosts and, if necessary, delete them. | ||
|
||
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. | ||
<table></table> | ||
|
||
| 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<br> | ||
Discord : `spel987`<br> | ||
Email : `[email protected]`<br> | ||
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: `[email protected]`<br> | ||
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). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.