rebrand: MangaBM → BookmarkManager, add novel library support #15
Reference in New Issue
Block a user
Delete Branch "feat/rebrand-novelSupport"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two intertwined changes — the rebrand and the novel library were developed on
the same branch because the novel UI plumbing is part of the new "Bookmark
Manager" wordmark in the web shell.
What it does
env vars, Traefik hostnames, container/image names, userscript storage
prefixes (
mangabm:cache→bmgr:manga:cache,mangabm:queue→bmgr:manga:queue),and docs.
kindcolumn splitsbookmarks into
manga/novel; PUT validates it. Two userscripts:manga-bookmark.user.js— unchanged behaviour, just stamps its ownkind.novel-bookmark.user.js— separate Violentmonkey install with adaptersfor novelfull.com (polled via headless browser — Cloudflare JS
challenge) and lightnovelworld.net (polled via plain TLS).
novel-site colours from the Cinder design snapshot.
Plumbing
addedColumnsALTER forkindruns on first start after upgrade; everypre-existing row is backfilled to
'manga'. No manual SQL, no down-time.ALLOWED_ORIGINSgains the two novel sites.NOVEL_USERSCRIPT_PATHenv (default/userscript/novel-bookmark.user.js),bindmounted alongside the manga script.
mangabm*→bmapi*/bmweb*.Test status
go test ./...— greennode --test userscript/test/logic.test.js— 34 passnode --test userscript/test/novel-logic.test.js— 11 passnode --checkon both userscripts — cleanNotes for the redeploy
.env keys were renamed (
MANGA_API_HOST→BOOKMARK_API_HOST,MANGA_WEB_HOST→BOOKMARK_WEB_HOST). Update DNS / Traefik labels on theprod override before pulling, otherwise the public hostnames go dark.
See the redeploy instructions I'll post next to this PR.