by Huey☆
This project runs a discord bot to download pictures from discord, and a website to display them.
First, clone the repo and install node.js packages.
git clone [email protected]:LilyKensa/IllustrationsManager.git
cd IllustrationManagerBot
npm install
Then, edit the environment variables
mv .env.dev .env
vim .env
Follow the instructions in .env
, and you're good to go!
./run.sh
The discord client should be online, and your website should be hosted on localhost:5470/illustrations/
(Or other port if you changed it)
Admin are those who can manage the images.
I made --loli
command to troll one of my friend, you can use this as a ping command though.
Don't ever use --worship
. Trust me.
Reply to a message and type --add
will add all the images (including URLs and attachments) of that image. You will see a ☑️ appear to the message.
Use --delete <id>
to delete an image.
Using --clearmessages <begin> <end>
, you can delete a range of message at once, be careful when using this.
Commands | Aliases |
---|---|
--delete |
--del |
--clearmessages |
--cmsg |
Click on the login logo and enter the password you set in .env
to log yourself in.
And now you can drag and drop images onto the website to upload it!
※ For large image you might need to configure size limits of your proxy server (Nginx / Apache)
※ Remember to --import
.
--delete
command- Better image hashing
- Pixiv download support (including ppixiv plugin page specification)
- Error pages
- Page footer
- Fixed pixiv download twice
- Add options
- Image sort method
- Force compact / full display mode
- Filter aspect ratio
- Really fixed pixiv download twice
- Added drag and drop feature to website
- Added
--clearmessage
permissions check
- Added paste directly (
Ctrl
+V
) feature to website - Fixed saved file name