Skip to content

Eclipse is a web app for secure file uploads using Discord or Google login. Files are sent to a Discord channel via webhook, and users can view and download them.

License

Notifications You must be signed in to change notification settings

beeeegi/Eclipse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eclipse

Eclipse is a web application that allows users to securely log in using either their Discord or Google accounts and upload files. Uploaded files are sent to a Discord channel using a webhook, and users can view and download their uploaded files through the web interface.

Developer notes

I am not primarily a GUI developer, so the graphical user interface in this project sucks. The application has been tested locally, and its behavior on a live web server is unknown. Due to recent changes in Discord's CDN authentication mechanism, attachment URLs now include three new parameters: ex, is, and hm. These changes are intended to improve security but will affect how attachment URLs are managed in this application. So I can't really make a downloadable files with this project, the script is written BEFORE the changes were applied to the cdn links so it may not work.

Setup and Installation

1. Clone the repository

git clone https://github.com/beeeegi/Eclipse

2. Install requirements

cd eclipse
pip install -r requirements.txt

3. Create a .env File Put it in the root directory and paste this in the file:

SECRET_KEY=your_secret_key

DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DISCORD_REDIRECT_URI=http:https://localhost:5000/callback
DISCORD_CHANNEL_ID=your_discord_channel_id

GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_REDIRECT_URI=http:https://localhost:5000/google/callback

4. Run the application with:

python3 app.py

You can access the app with this link: http:https://localhost:5000

Usage

Authentication

You have two options here: Google or Discord

File Upload

After logging in, you will be presented with an option to upload a file or view the library. In the library section, you have option to download the file again or view file's name, size and the upload date.

Screenshots

image image

About

Eclipse is a web app for secure file uploads using Discord or Google login. Files are sent to a Discord channel via webhook, and users can view and download them.

Topics

Resources

License

Stars

Watchers

Forks