Skip to content

Sharex flask server with image embeds and preventing embeding without authorisation while allowing discord embeds

Notifications You must be signed in to change notification settings

HYP3RDRIVES/SHAREX-FLASK-SERVER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShareX Flask Server

Custom Flask webserver designed for sharex

Upload files using SFTP or whatever you use into /files from the project root

Also supports HTTP(S) uploading image at the /upload endpoint using multipart/form-data (simply pass file as form data under 'upload' and add Authorization header, it will save as the file's original name)

set necessary configuration in start.sh - rename start_example.sh to start.sh and input desired config

to deploy w/ default config:

apt install gunicorn
<python_cmd> -m pip install -r requirements.txt

configure reverse proxy to point to the port in start.sh

About

Sharex flask server with image embeds and preventing embeding without authorisation while allowing discord embeds

Resources

Stars

Watchers

Forks