Zero-dependency Node server + plain HTML/JS frontend. - Library is a folder tree (Manga/Book/Chapter/pages), indexed in place; page roles (cover, double, extra, rotation) are file name tags - Accounts with per-user progress, reading settings, follows and new-chapter notifications (in-app + optional webhook) - Reader with Flow, Page and Book modes, pointer-anchored page zoom, tap zones, auto-hiding controls, chapter picker, page preloading - Multiple versions per chapter with community votes - Docker image and compose file - Demo library generator (tools/make-dummy.js) - Docs: architecture, library format, import, scraper guide
13 lines
380 B
Docker
13 lines
380 B
Docker
FROM node:24-alpine
|
|
WORKDIR /app
|
|
COPY package.json server.js library.js ./
|
|
COPY public ./public
|
|
COPY tools ./tools
|
|
RUN mkdir -p /library /data && chown node:node /data
|
|
ENV PORT=8080 LIBRARY=/library DATA=/data
|
|
VOLUME ["/data"]
|
|
EXPOSE 8080
|
|
USER node
|
|
HEALTHCHECK --interval=1m --timeout=5s CMD wget -qO- http://127.0.0.1:8080/api/auth >/dev/null || exit 1
|
|
CMD ["node", "server.js"]
|