Commit Graph
13 Commits
Author SHA1 Message Date
biggy f86b0411d5 refactor: move bakeStyles from view-level to per-URL setting 2026-05-13 10:54:59 +02:00
biggy 807ce639a7 chore: remove obsolete database file 2026-05-13 10:31:48 +02:00
biggy c294c8c85e feat: add dark mode and style baking support for Samsung TV compatibility 2026-05-13 10:31:46 +02:00
biggy b69d830fc8 build: update Docker configuration with chromium and compose setup 2026-05-13 10:31:43 +02:00
biggy 7c07454e7a chore: ignore views.db database file 2026-05-13 08:53:01 +02:00
biggy aadb241986 ops: add Docker deployment configuration 2026-05-13 08:52:25 +02:00
biggy 53944c44d3 fix(server): resolve localStorage SecurityError, request timeout, and navigation timeout issues
- Replace localStorage.clear() with CDP Storage.clearDataForOrigin to avoid SecurityError on about:blank (opaque origin)
- Add idleTimeout to Bun.serve config to prevent 10s timeout during queued renders
- Add timeout fallback for networkidle0 in renderSSR and renderScreenshotFrame to handle sites that never reach idle state
- Add recursive CSS @import resolver with font service filtering
- Preserve media attribute when inlining CSS
2026-05-13 08:52:24 +02:00
biggy 1aca866459 feat(debug): replace HTTP polling with WebSocket for real-time debug updates 2026-05-13 08:42:50 +02:00
biggy 94141e928c feat(api, ui): add debug panel and device tracking
Add real-time debug panel with server metrics, view status, cache
visualization, and device tracking. Add viewport/cache TTL config
to views. Simplify cache management and remove rate limiting.
2026-05-13 08:04:59 +02:00
biggy a1a1446ed1 build: add linting and formatting tooling 2026-05-13 08:04:55 +02:00
biggy 86b75598fd feat: add multi-browser page pooling, render caching, and rate limiting
- Implement browser pool with 2 browsers × 8 pages each
- Add page pool with acquire/release lifecycle and page reset between uses
- Add render cache with TTL-based expiry and pre-warming before rotation boundaries
- Add in-memory view cache to avoid repeated DB reads
- Add per-IP rate limiting (2s cooldown)
- Add concurrent render limit (16 max)
- Refactor database functions with `db` prefix for clarity
- Add CONFIG object for all tunable parameters
- Add In
2026-05-13 07:07:34 +02:00
biggy 722a3143dc refactor: replace MJPEG streaming with screenshot + meta-refresh
- Remove multipart/x-mixed-replace streaming (broken on Chromium)
- Add per-view screenshot rendering with base64 HTML embedding
- Implement resource inlining for CSS, images, and favicons
- Add render locks to prevent overlapping Puppeteer operations
- Simplify UpdateViewBody type to extend Partial<CreateViewBody>
- Update browser args for better stability
- Standardize formatting (tabs to spaces)
2026-05-12 23:31:33 +02:00
biggy edbe3f9bf2 init 2026-05-12 23:10:10 +02:00