Skip to content

Sharex Custom Uploader with HTML Preview, Emoji Links, Discord Embed

License

Notifications You must be signed in to change notification settings

notscar/sharex-custom-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShareX Custom Uploader

This is a project that took less than 2 hours to make with zero knowledge about sharex, and i will not be providing support as the installation process is really easy and problems only take place in the configuration of Apache2 or engine that's used to execute the php file.

Additional Notes:

To edit the discord embed preview that currently is in the PHP file, you mmust follow documentation of OpenGraph which has been used to create the embed, the tag <meta name='twitter:card' content='summary_large_image'> is used to have a bigger image preview on discord.

Installation Process

  1. Clone this repository
  2. Extract the index.php file in an envoirment that can run PHP
  3. Generate a Secret Key
  4. Insert the Key in the array ( index.php:5 )
  5. Run buildSharexTemplate.bat and follow the prompted instructions
  6. Double click the file that has been generated in the same folder of the bat file
  7. Enjoy

Important Notice

The /var/www/html folder or the VirtualHost folder must have 777 permissions, and with it the index.php file.

The Secret Key must not be shared to un-trusted people, as it can lead to code execution as uploaded files are unchecked.

FAQ

  • How do i change the length of the URI ?

    The length of the generated URI can be changed on line 4 of index.php

  • Will it overwrite existent screenshots ?

    Yes, there might be a chance that one screenshot may be overwritten

Credits

  • nlp.js has been used to get the array of emojis
  • SvgWave has been used to create the waves in the HTML Screenshot preview

About

Sharex Custom Uploader with HTML Preview, Emoji Links, Discord Embed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published