View Code? Open in Web Editor
NEW
๐ Media server for storing, tagging and viewing doujinshi, manga, art collections and other galleries with API and user control. Written in Go.
License: GNU General Public License v3.0
Dockerfile 0.44%
Go 99.56%
server's People
Contributors
server's Issues
Sources to pull metadata from for galleries like manga and doujinshi.
Create separate issues for individual sources.
What else?
Either
Save the raw user agent as the session name and let client handle the parsing
OR
Parse the UserAgent and save the result
token , err := newJWT (* userUUID , "" , credentials .ExpiresIn , credentials .SessionName , role )
Mangatsu/server and Mangatsu/web as single (or one for each OS: Windows, Linux, MacOS if needed) all-in-one binary which could be run as-is.
Currently only SQLite3 is supported. Support for more databases would be nice.
Supported databases
Tasks
Initialize database and database user on first launch if needed. Also an environmental to disable this should be present.
For example for MySQL/MariaDB it'd be:
CREATE USER ' <USERNAME>' @' <ADDRESS>' IDENTIFIED BY ' <PASSWORD>' ;
CREATE DATABASE IF NOT EXISTS < DATABASE_NAME> CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL PRIVILEGES on < DATABASE_NAME> .* to ' <USERNAME>' @' <ADDRESS>' ;
FLUSH privileges;
The utf8mb4 COLLATE utf8mb4_unicode_ci
helps with support for Japanese, Chinese etc. characters.
Video support (at least mp4, webm) in galleries for both the backend and frontend.
Many cosplay and art collections include them.
Support for periodical scanning. Allow users to specifify the interval. Maybe library specific (as multiple library locations is supported)?
This one might be the most challenging part of the goqu rework.
GetGalleries
function is very elaborate and prone to bugs if not converted carefully.
UpdateGallery
can probably be refactored to be much shorter and better written overall. The Jet library made it hard to do partial updates.
NeedsUpdate
isn't used anywhere currently and can be pretty much ignored
Allow admins to edit gallery metadata through the web app.