if you want a working image host with discord embed support and can host node.js projects, check out https://github.com/SomeBoringNerd/SomeBoringImageHost
- Based in PHP! Run it on your cPanel!
- Made by the one and only
memex#3981
on Discord - forked by SomeBoringNerd for Discord embed support (and sharenix config)
- edit $real_url, $json_url, $desc, and $site_name in upload.php
- edit author_name and author_url in user.json
- Upload
upload.php
,upload.css
anduser.json
to your web server and chmod to777
. - Create a folder named
img
and chmod to777
. - Change the tokens to something random! (This is extremely important for security)!
- Add example.sxcu to ShareX and configure to your server and token!
- Profit.
- Open upload.sxcu / sharenix.json
- Find this line
$tokens = array("token1");
- Simply change token1 to a token of your choosing!
- If you need more, simply add a comma and quotes.
- Open
example.sxcu
with a text editor. - Change
YOUR_KEY_HERE
to to your key. - Change
http://yourdomain.com/upload.php
andhttp://yourdomain.com/img/$json:url$
to your domain.
- Open
sharenix.json
with a text editor. - Change
token
to to your key. - Change
http://url.domain/upload.php
to your domain (exemple : https://someboringnerd.xyz/upload.php). - replace your current sharenix.json by that one
Create an issue if my fork don't work. Ask me nicely for help with this and be patient. Please don't spam the original author, they can't provide support for someone else's code.