[WIP] Uploading images via python script? Yeah, why not
Hi, so, do you remember my gallery layout WIP? Ehh, no, you didn't. I doubt that I will work on that again.
Instead, I decided to make an additional script for a gallery engine by metemo, a VERY awesome one, actually. It gives you a search by tags, already makes writing out configs for images faster than just via HTML tags.
What exactly I did: I made a script that appends user input to the .txt file with an already correct formatting for the gallery's engine. Then, this .txt file gets edited and changed to become a proper .js file, making your art show in a descending order (from the newest). For executing this script you will need a python 3 installed and a terminal (or just enable one in VScode).
Before releasing the code, I want to add a fully functional NSFW filter; it will add a certain class to the image that will make it hidden by default unless toggled by the viewer. Possibly will add a support for IsYoutube, but that's a low priority at the moment