EUS is my public screenshot server
Go to file
Holly Stubbs 8f6e7c3438
Add code of conduct
2020-07-20 23:43:00 +01:00
CODE_OF_CONDUCT.md Add code of conduct 2020-07-20 23:43:00 +01:00
EUS.js I have no idea how this didn't break 2020-07-13 06:58:40 +01:00
LICENSE Create LICENSE 2020-06-20 02:12:09 +01:00
README.md Update README.md to reflect new dependencies 2020-07-09 00:22:22 +01:00
quick-setup.sh Update quick-setup.sh so that it will now work with these changes 2020-07-09 00:41:54 +01:00

README.md

CodeFactor Discord

EUS is my public screenshot server built using Revolution

Setup

EUS has extra dependencies other than those of Revolution, the server EUS is made on, of which include:

Install the dependencies and then simply drop the EUS.js into a Revolution instance's modules folder (If you still have example_request_handler.js be sure to delete it!)

Config

On first startup EUS will create a new config file in the modules/EUS/ folder, some of these values may need to be changed depending on your use case.

The value of baseURL will need to be changed to what you access the server from, for example if the server's ip is 192.168.1.100 and you are not planning to use EUS at a url you would change the value to http://192.168.1.100/. baseURL is used to construct the response url for file uploads, for example the value of baseURL on my instance of EUS is https://ethanus.ml/.

If you want to expand the files that the server allows to be sent to it this can be done in the allowedTypes array. By default the array contains png, jpg and gif.

The value of uploadKey is used to restrict who can upload to your server, set this to something and the server will restrict who can upload depending on if they provided the key or not. If this field is left blank EUS will asume you don't want an upload key and uploads to it will be unrestricted

API

EUS has 3 apis, they are located at /api/get-stats, /api/get-info and /api/get-server-status

These are better documented on EUS Docs

Websites that use EUS

EUS