Commit Graph
22 Commits
Author SHA1 Message Date
Mak5er 681f9fa233 feat: add Threads downloads and inline support 2026-07-10 02:45:50 +03:00
Mak5er 3a42e39653 chore: ignore antigravitycli files and update filesystem permissions for cross-container access 2026-07-01 00:24:53 +03:00
Mak5er a0098a92e9 feat: add local PostgreSQL with automated backup/restore
Add postgres, db-init, and backup services to docker-compose.
Migrate database from Neon DB to self-hosted PostgreSQL 17.

- postgres:17-alpine with healthcheck and persistent volume
- db-init: auto-restore from local dump or Backblaze B2 on first start
- backup: scheduled pg_dump with B2 upload (daily at 3am)
- Host-side scripts: backup.sh, restore.sh, cron-backup.sh
- Fixed dynamic table ownership in restore (no hardcoded table names)
- Fixed pg_restore to use docker cp instead of stdin pipe
2026-06-20 20:04:45 +03:00
Mak5er bfe5193205 perf: batch analytics inserts with single SQL statement 2026-06-18 18:33:34 +03:00
Mak5er 37b694c276 fix: restore youtube access helpers and migration head 2026-05-25 17:38:31 +03:00
Mak5erandClaude Sonnet 4 86ee114c8d fix(tiktok): use Cobalt first, fix H.264 candidate order, close #49
- Add Cobalt as first download attempt in download_video; falls back to
  tikwm direct then yt-dlp when Cobalt is unavailable or fails
- Reorder _direct_video_candidates from hdplay→play→wmplay to
  play→wmplay→hdplay so H.264/AVC streams are preferred over H.265/HEVC,
  fixing gray-frame / audio-only playback on Telegram clients
- Update test to mock _download_via_cobalt and reflect new candidate order

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-05-13 00:11:39 +03:00
Mak5er 77c4cda0b8 Refactor logging paths and stabilize db tests 2026-04-10 00:42:21 +03:00
Mak5er 77839a8f62 chore: dedupe inline handlers and clean repo artifacts 2026-04-09 01:20:13 +03:00
Mak5er 8a1e3d6dff feat: persist transient workflow state across restarts 2026-04-07 00:17:12 +03:00
Mak5er a05c2aae34 refactor: switch database init to alembic migrations 2026-04-07 00:11:38 +03:00
Mak5er 416d7aad01 Add .claude and .ruff_cache to .gitignore 2026-04-06 13:36:38 +03:00
Mak5er 8adca9f43d Refactor inline delivery, cleanup dependencies, and overhaul logging
What changed:

- unified inline media delivery across TikTok, Instagram, Pinterest, SoundCloud, YouTube, and Twitter around a single editable-message flow with chosen-inline auto start and callback fallback

- added reusable inline request state/services, service icons, album deep links, and single-message inline progress/edit helpers

- enabled inline support for regular YouTube videos, Twitter inline media, and Twitter multi-photo album deep links; aligned Pinterest/Instagram/TikTok inline behaviors

- cleaned dead duplicated inline code, extracted shared inline request guards, and expanded tests around TikTok, Pinterest, SoundCloud, and YouTube handlers

- optimized project setup with trimmed runtime requirements, requirements-dev split, .dockerignore, Docker/compose improvements, and README updates

- rebuilt logging with structured context-aware adapters, request scoped flow decorators, JSONL event/perf logs, queue/download/cobalt timing events, and safer extra field sanitization to avoid LogRecord key collisions
2026-03-13 00:18:29 +02:00
Mak5er dda200cc0c Add full quality option to video info keyboard and include full_quality router 2025-12-15 23:58:07 +02:00
Mak5er 553792038b Create downloads directory for chart storage and update file path handling in create_and_save_chart function 2025-11-03 11:57:44 +02:00
Mak5er fb6c2c6074 Update .gitignore to include .vscode and remove db_auth from example .env file in README 2025-11-03 11:37:26 +02:00
Mak5er e4fe9776dd Update .gitignore and refactor database path handling in config and db modules 2025-11-02 22:48:45 +02:00
Mak5er 135ca31955 Refactor SQLAlchemy model definitions to use Column for field declarations and update env.py for batch rendering in migrations 2025-11-02 22:21:53 +02:00
Mak5er 67f591207f Add user settings management and logging enhancements 2025-11-02 21:38:51 +02:00
Mak5er a85d34f58f Refactor database configuration and add SQLite initialization 2025-09-10 22:25:45 +03:00
Mak5er 5b3124731c Refactor Instagram and TikTok handlers for improved error handling and logging; update API URLs and message responses 2025-02-22 12:39:20 +02:00
Mak5er a3680d8cb2 some improvements 2024-06-21 17:16:50 +03:00
Mak5er 1009e4894f some improvements 2024-06-21 17:05:15 +03:00