Skip to content

Moebytes/Moepictures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moepictures

Moepictures is an image board site for cute anime art, organized by tags.

Searching With Spaces

Moepictures's tags use the dash ("-") as the delimeter, but the search can guess what tags you are looking for even if you use spaces.

Multiple Images Per Post

Moepictures supports multiple images per post, which is great for comics and posts with lots of variations. We also have parent/child relationships and groups.

Image Filters

You can apply image filters such as brightness, contrast, and hue in realtime. There is also a very fun pixelate filter that can make everything look like a pixel game. When playing audio, the pixelate filter will work as a bitcrusher.

Custom Players

Moepictures uses custom gif/video/music/3d/live2d players, so you can do many things that aren't normally possible like pausing/seeking gifs, reverse playback, and modification of playback speed.

Notes

As often images might contain japanese text, adding and viewing notes for translations is also supported!

Self-hosting

Make sure that you install the correct major version of our dependencies. Using newer major versions is likely to have breaking changes.

Clone the project:

git clone https://github.com/Moebytes/Moepictures.git

Rename the file .env.example to .env and put in your credentials. At minimum the pg database credentials are required, which are the keys PG_HOST, PG_USER, PG_DATABASE, PG_PASSWORD, PG_PORT, and the COOKIE_SECRET which should be set to a string of random characters.

EMAIL_ADDRESS and EMAIL_PASSWORD is the email address used to send people email verification emails, password resets, etc. Set EMAIL_VERIFICATION to yes to enable it. For it to work with gmail, you need to create an app password: https://myaccount.google.com/apppasswords

In order for source lookup from Pixiv, Twitter, and other sites to work, you need to seek out the credentials for their respective API's. You can find info on how to obtain them simply by googling, it would take me a long time to detail every site.

To add files locally create folders "moepictures" and "moepictures-unverified" and add the path to MOEPICTURES_LOCAL and MOEPICTURES_LOCAL_UNVERIFIED.

Rename the files structures/Decryption.example.ts to structures/Decryption.ts and structures/Encryption.example.ts to structures/Encryption.ts. They do nothing unless you implement them apart from making the project compile.

Compiling Node.js

Install all of the dependencies for this project by running npm install.
Start the project by running the server npm start.

The site runs on http://localhost:8082 by default, but the port can be configured by changing PORT.

Python Scripts

Some features like the auto tagger are done by a python script. The scripts try to install the dependencies if they aren't found, but if you have issues running them you can try installing the dependencies manually.

pip3 install pandas torch torchvision numpy Pillow timm opencv-python manga-ocr text-detector translate pyclipper shapely pytorch_lightning einops transformers safetensors --compile --force-reinstall

Live2D Support

To enable live2d support, you need to download the Cubism Core web sdk and place it in assets/live2d. https://www.live2d.com/en/sdk/download/web/

That's pretty much it. Following our license (CC BY-NC 4.0) you may not commercialize self-hosted instances.

About

Moepictures is a cute anime art image board organized with tags.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published