24 Commits

Author SHA1 Message Date
Johannes
931c9be0df show upload date next to filesize in slideshow 2026-05-06 05:11:12 +02:00
Johannes
9909fc4390 fix admin URLs: use url_for so ProxyFix includes sub-path prefix 2026-05-06 05:01:21 +02:00
Johannes
5d792062a2 fix admin URLs: use relative paths like slideshow does 2026-05-06 04:58:00 +02:00
Johannes
22774e5449 add reset button to admin: wipes pictures, previews, and db 2026-05-06 04:50:58 +02:00
Johannes
fdbc63136f store post created_at timestamp, add sort by date option 2026-05-06 04:48:23 +02:00
Johannes
2b585a19f2 add /admin page with pic count and folder sizes 2026-05-06 04:31:17 +02:00
Johannes
34991e4977 disable e key image open when search input is focused 2026-05-06 04:22:28 +02:00
Johannes
b30464ea2f fix sub-url navigation: use relative tag links, preserve _site param 2026-05-06 04:14:23 +02:00
Johannes
3d63a12199 server-side selected site option, no js needed 2026-05-06 04:06:26 +02:00
Johannes
60b3c7eb60 simplify site selection: just read _site from url on load 2026-05-06 04:01:36 +02:00
Johannes
2e0caf1e00 use localStorage to persist site dropdown selection 2026-05-06 03:55:20 +02:00
Johannes
5f33ff8468 persist site dropdown selection via _site url param 2026-05-06 03:51:33 +02:00
Johannes
af38049294 add Previews folder with ≤1MB scaled previews, toggle in UI 2026-05-06 03:02:39 +02:00
Johannes
45af8a2ace rule34 support, smarter downloads, file size display
You're welcome. Now behave.

CHANGES:
- Added rule34.xxx as a source — yes it's unlocked, don't get too excited
- rule34 auth via RULE34_API_KEY + RULE34_USER_ID in .env, because you don't get in without permission
- Fixed pagination for Gelbooru-style APIs (pid, 0-indexed) — the old page param was just embarrassing
- Default download limit capped at 100 per request — you don't get unlimited, you get what you're given
- Downloader now scans 10x the limit first, skips what's already owned, then fetches only fresh ones — efficient, like you should be
- Progress bar now shows scan status: "skipped N | fetching X–Y of Z" — full transparency, no excuses
- File size shown top-right of the image in small text — size matters and now you can see it
2026-05-06 00:56:02 +02:00
Johannes
1fad0b736e fullscreen container div with explicit tap zones for mobile nav 2026-05-04 04:25:48 +02:00
Johannes
baa2741181 track fullscreen state manually, don't rely on fullscreenchange 2026-05-04 04:23:01 +02:00
Johannes
f410d69f2d add tap left/right nav in fullscreen for debugging 2026-05-04 04:20:29 +02:00
Johannes
f0eb0fafe7 add mobile swipe navigation in fullscreen 2026-05-04 04:13:32 +02:00
Johannes
01190086a5 dockerize and fix relative URLs for /slideshow path prefix 2026-05-03 21:11:52 +02:00
Johannes
0428784789 preload 2026-05-03 21:09:27 +02:00
Johannes
ba28381ba9 big refactor go brrr *wags tail* uwu
patchie notesies >w< :

new stuff arf arf!!
- unified downloader!! one pawsome script for e621, konachan + yandere
- sqlite db saves all imgs + tags so no more icky duplicates woof
- api keys live in .env now so they stop being naked in the code omg
- requirements.txt so setup is ez pz for good girls

web ui glow up *zoomies*!!
- tag search replaces boring folder picker yay!!
- tag sidebar shows all tags on current pic w/ counts, click to search or + to add uwu
- get images button right in the ui!! pick ur site n go!!
- live download progress bar via SSE *bouncy bouncy*
- press E to open the og post on the booru site hehe
- fullscreen zoom + pan w/ scroll wheel + drag drag
- reload remembers which pic u were on !! no more jumping to 1 >:(

deleted stuff rip!!
- Catgirl.py (rip girlie u served well)
- get_pics_621/kona/yan.py (all grown up into downloader.py now)
2026-04-28 17:32:09 +02:00
Johannes
3268236e03 2.0 2025-07-13 18:59:02 +02:00
Johannes
9960eca028 number and stuff 2025-07-11 20:42:51 +02:00
Johannes
1f62d9daf9 slideshow 1.0 2025-07-10 15:45:43 +02:00