Commit Graph
22 Commits
Author SHA1 Message Date
forust df644219de k8s + image 2026-06-11 18:19:17 +02:00
forust 7af597b800 sidebar toggle + css 2026-06-11 18:19:09 +02:00
forust c5361f2271 Redesign message viewer as Telegram-style chat with bubbles, replies, infinite scroll, and orientation
- Chat bubbles with 1px border-radius, angular tail arrows
- Own messages right (blue), others left (dark) via sender_id vs user_id
- Reply preview with left border accent, clickable scroll to original
- Infinite scroll up via IntersectionObserver on scroll-sentinel
- Date separators (Today/Yesterday/date) between messages
- Full-height messages panel with sidebar (channels) + header
- Backend: reply_to_message data in load_messages(), user_id exposed in auth snapshot
- Auto-scroll to bottom on channel load (triple scrollTop fallback)
- history.scrollRestoration = manual to prevent mid-page jumps
2026-05-27 01:01:18 +02:00
forust 1dfe41950e Add graceful shutdown, logging, streaming with Range Requests, and state.json cache
- Graceful shutdown: SIGTERM/SIGINT handlers stop continuous scraper,
  disconnect Telegram client, drain running jobs with timeout
- Logging: replace print() with logging module throughout web server,
  basicConfig in main.py with structured log format
- Streaming: chunked file reads (64KB) instead of loading entire files
  into memory; full HTTP Range Request support (206 Partial Content)
  for video seeking in the browser
- Cache: TTL-based in-memory cache (1s) for state.json reads in
  StateStore, thread-safe with existing RLock
- Bugfix: send_error_json now converts HTTPStatus to int for JSON
2026-05-27 00:14:26 +02:00
forust 856d04bd16 Fixed on-hover button style 2026-05-24 22:29:25 +02:00
forust d49fe28f08 Refactor server state and add health checks 2026-05-24 22:24:13 +02:00
forust a78a708757 Improve webui style and add api docs 2026-05-24 22:18:41 +02:00
forust 6851922a9e Merge branch 'dev' 2026-05-24 21:56:24 +02:00
forust ff000e88d4 Enchance weblog 2026-04-26 23:21:26 +02:00
forust cc99f752b3 Change exposed port to 7887 2026-04-26 21:45:12 +02:00
forustandCopilot be02eed378 Add export button for channel data and update API integration
Co-authored-by: Copilot <copilot@github.com>
2026-04-25 22:12:14 +02:00
forust 5b8a95d73d Revert "Remove tty and stdin_open options"
This reverts commit 612fa28ec6.
2026-04-25 03:00:00 +02:00
forust cf674b4943 Update port for webui to 7887 2026-04-25 02:56:21 +02:00
forust 612fa28ec6 Remove tty and stdin_open options 2026-04-25 02:55:01 +02:00
forust 47ef106ee1 Add .dockerignore file to exclude unnecessary files and directories 2026-04-25 02:51:11 +02:00
forust 46922a887f Add tabbed navigation and update styles for content panels 2026-04-25 02:43:16 +02:00
forust 3565e31885 Remove funding config 2026-04-25 02:35:02 +02:00
forust 9094a52ccb Restore funding config 2026-04-25 02:34:45 +02:00
forust db3641ddf9 Add web auth and continuous scraping logs 2026-04-25 02:34:35 +02:00
forust 19e173212c Update README for web UI workflow 2026-04-25 02:19:58 +02:00
forust f57e1d63eb Add lightweight web control panel 2026-04-25 02:19:52 +02:00
forust 535b8195ef Prepare scraper for shared data and server mode 2026-04-25 02:19:43 +02:00