Flake - A user panel for Houdini
NOTE: Credit to jackie/@Pyrodash for writing the Avatar API.
written by ~ ro, feel free to fork or use whatever code/assets you want from this.
How to use?
- install node.js on your VPS or laptop.
- upload your manager somewhere (apart from the web-server of course!), use
cdto go to the directory wherever it is placed.
- Once you are in the directory, you can run
npm installand it will download all the dependencies you need for this manager to work.
- Now all you have to do is edit Config.js.
- Run the manager from terminal using the command
npm install to install the dependencies all at once.
The only file you have to edit is Config.js, what you need to edit in there is the secret session key in there, it has to be something random and secure so get any type of password/key from https://randomkeygen.com/
Edit these options: https://gyazo.com/be0f42f821140809928bc09c2d992de1 to allow normal users to add any item in-game or to allow moderators to verify usernames/approval. Just set the options to 1 if you wish.
Register your recaptcha keys from google recaptcha (v3). Add your site and secret key here: https://i.imgur.com/MBq4Oxm.png
When running this on your site, you need your sub-domain to be proxying off port 4444 (or whatever port you set in Config.js). So edit your nginx or apache configuration, add this line
The reset password feature uses a table to keep track of reset password links expiry and usability, please insert this new table into your database (assuming you use Houdini) https://pastebin.com/KhdRsDLE. Then setup your GMAIL account, configure the username and password in Config.js and make sure you set the sub_domain field to the sub domain you are running the manager off i.e. manager.cpps.com. This is so that it can send the correct reset password link leading to i.e. manager.cpps.com/reset/unique_id.
Any issues or suggestions, just email me: email@example.com