mirror of
https://github.com/Myxelium/RandomMemerBot.git
synced 2026-04-13 10:30:36 +00:00
15 lines
877 B
Markdown
15 lines
877 B
Markdown
### Webserver
|
|
A simple webserver for managing sounds played by the bot.
|
|
|
|
``I havent paid much attention to this and it can be refactored, rewritten and just more structured. I didn't feel like i bothered too much so i gave it minimal attention and left it at "I just works" stage.``
|
|
|
|
|
|
//Feels weird to write basic js in the browser since it was so long ago..
|
|
|
|
|
|
## How it works,
|
|
the bot should give you an address on startup, but if you miss it, it should be http://localhost:8080 if you host it somewhere its the ip-address of the server instead of localhost.
|
|
|
|
you can manage uploaded files from the page. Upload a file and it will get stored in the sounds folder. There is no authentication so if you decide to open it up for others anyone can upload and delete.
|
|
|
|
i tested ``foundation`` because the sake of it for the design, i dont think i will use it again on a project. |