copilot-swe-agent[bot]
ae4ed4a154
Add comprehensive test suite: 209 tests covering unit, API, and integration tests
...
Test coverage includes:
- utils: settings, title_history, voice, id, cleanup, videos, check_token
- Threads API client: all 8 API areas + error handling + retry logic
- Uploaders: YouTube, TikTok, Facebook, UploadManager
- TTS: GTTS, TTSEngine
- Integration: Threads API flow, Google Trends, upload pipeline, scheduler
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/51e17be8-4f67-4153-a83b-fffef32969b3
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
3 days ago
Truc Phan Dang Thien
1a3cdd87c4
Merge pull request #7 from thaitien280401-stack/copilot/search-keyword-and-tag
...
feat: Threads Keyword Search API — search by keyword and topic tag
3 days ago
copilot-swe-agent[bot]
74dc1bd7ee
fix: address code review feedback on keyword_search
...
- Change limit validation from 0-100 to 1-100
- Fix negative slice index when search_query exceeds title length
- Use hashlib.md5 for deterministic fallback ID generation
- Simplify redundant None check for results
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/c6cae05a-91f1-4ab3-abd3-22dba1f74f6d
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
3 days ago
copilot-swe-agent[bot]
0d9d5f9f7b
feat: add Threads Keyword Search API (search by keyword and topic tag)
...
- Add keyword_search() method to ThreadsClient with full parameter support
(q, search_type, search_mode, media_type, since, until, limit, author_username)
- Add keyword_search constants (SEARCH_TYPE_*, SEARCH_MODE_*, SEARCH_MEDIA_*, KEYWORD_SEARCH_FIELDS)
- Add _get_keyword_search_content() helper for video pipeline integration
- Add 'keyword_search' as new content source option with fallback chain
- Add search config fields to .config.template.toml (search_query, search_type, search_mode, search_media_type)
- Update module and class docstrings
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/c6cae05a-91f1-4ab3-abd3-22dba1f74f6d
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
3 days ago
Truc Phan Dang Thien
fa65b3e783
Merge pull request #6 from thaitien280401-stack/copilot/task-271128961-1202814018-01bd4041-c000-4b8f-8c14-22924c672c7c
...
Change default content source from 'user' to 'trending'
3 days ago
copilot-swe-agent[bot]
7081fd310a
Change default content source from 'user' to 'trending' for public/community posts
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/95324e20-c917-455f-9c54-fde037e8005b
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
3 days ago
Truc Phan Dang Thien
fe0e54e9b9
Merge pull request #5 from thaitien280401-stack/copilot/update-facebook-threads-docs
...
feat: Rewrite ThreadsClient with full Threads API coverage
3 days ago
copilot-swe-agent[bot]
b06c788fea
refactor: Extract engagement scoring weights to named constants
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/c01dbc92-66f9-4a1f-bf83-7f0a75dd9968
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
3 days ago
copilot-swe-agent[bot]
7384043d78
feat: Rewrite ThreadsClient with full Threads API coverage
...
Major rewrite of threads/threads_client.py based on official Meta Threads API docs:
1. Threads Profiles API - get_user_profile() with full fields
2. Threads Media API - updated get_user_threads(), get_thread_by_id() with complete fields
3. Threads Reply Management - get_conversation() for full tree, manage_reply() for hide/unhide
4. Threads Publishing API - create_container(), publish_thread(), create_and_publish()
5. Threads Insights API - get_thread_insights(), get_user_insights(), get_thread_engagement()
6. Rate Limiting - get_publishing_limit(), can_publish()
7. Pagination - _get_paginated() helper with cursor-based pagination
8. POST support - _post() method for write operations
Also:
- Updated check_token.py to use full profile fields
- Added [threads.publishing] config section
- Added use_conversation and use_insights config options
- Optimized thread selection with engagement-based ranking
- Use conversation endpoint instead of just replies for better data
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/c01dbc92-66f9-4a1f-bf83-7f0a75dd9968
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
3 days ago
Truc Phan Dang Thien
1c5b309709
Merge pull request #4 from thaitien280401-stack/copilot/fetch-content-from-threads
...
feat: Google Trends fallback for Threads content sourcing
3 days ago
copilot-swe-agent[bot]
069e3d4e3d
fix: address code review - deduplicate title slice, improve thread ID uniqueness
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/b3d8248e-4f90-4f82-baef-11a251967a3b
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
copilot-swe-agent[bot]
33c09e5c0e
feat: add Google Trends fallback for Threads content source
...
Add threads/google_trends.py module that:
- Fetches trending keywords from Google Trends RSS feed (geo=VN)
- Searches Threads posts by keyword using Playwright
- Returns matched thread posts for video creation
Update threads/threads_client.py:
- Add _get_google_trends_content() as new content source
- Add Google Trends as fallback: trending → google_trends → user
- Add Google Trends fallback when user threads also fails
Update config template with "google_trends" source option.
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/b3d8248e-4f90-4f82-baef-11a251967a3b
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
Truc Phan Dang Thien
e696279ea5
Merge pull request #3 from thaitien280401-stack/copilot/fetch-trending-now-articles
...
feat: add Threads Trending Now as content source via Playwright scraping
4 days ago
copilot-swe-agent[bot]
dff664e80f
refactor: address code review - extract constants, deduplicate browser setup
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/01a85c1b-5157-4723-80f1-ca726e410a39
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
copilot-swe-agent[bot]
c7e6bae8cf
feat: add Threads Trending now support as content source
...
- Create threads/trending.py: Playwright-based scraper for Threads
trending topics and thread replies
- Modify threads/threads_client.py: add source config check, integrate
trending scraper with fallback to user threads
- Update .config.template.toml: add source option (user/trending)
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/01a85c1b-5157-4723-80f1-ca726e410a39
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
Truc Phan Dang Thien
36b702eceb
Merge pull request #2 from thaitien280401-stack/copilot/fix-no-threads-error
...
Preflight access token validation before pipeline execution
4 days ago
copilot-swe-agent[bot]
5975e659b5
Address review: rename timeout constant, fix incomplete docs URL
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/adc9d93e-b8a2-4b45-8f6c-50427edeee51
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
copilot-swe-agent[bot]
46ba3f3bb6
Add utils/check_token.py preflight checker and integrate into main.py and scheduler
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/adc9d93e-b8a2-4b45-8f6c-50427edeee51
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
copilot-swe-agent[bot]
b4c6c370b9
Address code review: fix concatenated f-string, remove dead code, narrow exception catch
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/0fff9f19-a7aa-44c2-a703-9e5a7ec6d880
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
copilot-swe-agent[bot]
c74e2ac171
Fix 'No threads found' error: add token validation, retry logic, better diagnostics
...
- Add ThreadsAPIError exception class for clear error typing
- Add validate_token() method to check token via /me endpoint before fetching
- Add automatic token refresh attempt when validation fails
- Add retry logic with backoff for transient connection/timeout failures
- Add API error body detection (Meta API can return 200 with error in body)
- Add request timeout (30s) to prevent hanging
- Fix keyword filtering to fall back to unfiltered list when all are filtered out
- Add detailed diagnostic messages with user_id, permission hints, and URLs
- Handle ThreadsAPIError separately in main.py for targeted troubleshooting guidance
- Remove unused Authorization header (Threads API uses access_token query param)
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/0fff9f19-a7aa-44c2-a703-9e5a7ec6d880
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
4 days ago
Truc Phan Dang Thien
c00db83c96
Merge pull request #1 from thaitien280401-stack/copilot/update-app-for-vietnam-market
...
Scheduler: 1 video per 3h with title deduplication
5 days ago
copilot-swe-agent[bot]
2a9ca5e6c0
Fix Black/isort formatting to pass lint CI checks
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/29d5b341-a15e-4235-bb26-8e2de812f684
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
5 days ago
copilot-swe-agent[bot]
bbcd520fbb
Security audit: remove eval() calls, fix hardcoded secret, add VPS guide
...
- Replace all unsafe eval() calls with safe _SAFE_TYPE_MAP in settings.py, console.py, gui_utils.py
- Replace hardcoded Flask secret key with os.urandom(24) in GUI.py
- Replace os.system() with subprocess.run() in TTS/engine_wrapper.py
- Fix install.sh Homebrew URL (was uninstall.sh instead of install.sh)
- Create HUONG_DAN_VPS.md - comprehensive VPS deployment guide in Vietnamese
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/75dc3e66-3e99-4406-af07-9de9be3200b6
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
5 days ago
copilot-swe-agent[bot]
cb0fddf072
Update scheduler to 1 video per 3h with title dedup to prevent duplicates
...
- Changed default cron from every 6h to every 3h (8 videos/day)
- Added utils/title_history.py: tracks used titles in JSON
- threads_client.py: skips threads with already-used titles
- scheduler/pipeline.py: saves title after successful video creation
- main.py: saves title in manual mode too
- Updated config template with new scheduler defaults
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/17c7c41c-cf86-4279-88b8-01cba23ee763
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
5 days ago
copilot-swe-agent[bot]
2c6fa251e6
Address code review feedback: exponential backoff, avatar colors constant, dynamic upload timeout
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/b2183a86-2887-4db0-82aa-07d9da5aa1be
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
5 days ago
copilot-swe-agent[bot]
00a37231b8
Implement Threads Vietnam Video Maker with auto-upload and scheduling
...
- Add threads/ module: Threads API client for fetching content from Meta Threads
- Add video_creation/threads_screenshot.py: Generate Threads-style images with PIL
- Add uploaders/ module: YouTube, TikTok, Facebook auto-upload support
- Add scheduler/ module: APScheduler-based automated pipeline
- Update main.py: New entry point with manual/auto/scheduled modes
- Update config template: Threads, uploaders, scheduler configuration
- Update dependencies: google-api-python-client, APScheduler
- Update references from Reddit to Threads across TTS and video modules
- Maintain backward compatibility with --reddit flag
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/b2183a86-2887-4db0-82aa-07d9da5aa1be
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
5 days ago
copilot-swe-agent[bot]
14a8f6425c
Add PLAN.md for Threads Vietnam Video Maker transformation
...
Agent-Logs-Url: https://github.com/thaitien280401-stack/RedditVideoMakerBot/sessions/b2183a86-2887-4db0-82aa-07d9da5aa1be
Co-authored-by: thaitien280401-stack <271128961+thaitien280401-stack@users.noreply.github.com>
5 days ago
Cyteon
569f25098a
Merge pull request #2473 from elebumm/blocked-words
...
Add blocking words
4 weeks ago
cyteon
1fe6aea667
lint
4 weeks ago
cyteon
d531c34b53
blocked words
4 weeks ago
Jason Cameron
902ff00cb0
chore: release 3.4.0 ( #2426 )
...
Co-authored-by: Jason Cameron <git@jasoncameron.dev>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: RequieMa <57754488+RequieMa@users.noreply.github.com>
Co-authored-by: prafful <praffulsharma1230@gmail.com>
Co-authored-by: M. Sanaullah <thebolly@gmail.com>
Co-authored-by: embee <emilien.bev.com@gmail.com>
Co-authored-by: Rodrigo <55567123+rodrigodasilv@users.noreply.github.com>
Co-authored-by: Emilien Bevierre <44171454+emilienbev@users.noreply.github.com>
Co-authored-by: tkhmielnitzky <tkhmielnitzky@gmail.com>
Co-authored-by: bnfone <89687390+bnfone@users.noreply.github.com>
Co-authored-by: Cyteon <129582290+Cyteon@users.noreply.github.com>
5 months ago
Jason Cameron
64bf647de9
Merge pull request #2295 from elebumm/JasonLovesDoggo-patch-1
12 months ago
Jason Cameron
e74655a552
chore: Update readme
...
Remove my discord due to too much DM spam
12 months ago
Jason Cameron
3d4c34d60c
Merge pull request #2146 from elebumm/JasonLovesDoggo-patch-1
...
FIX: Stop CI from closing valid issues
2 years ago
Jason Cameron
93165784ef
FIX: Stop CI from closing valid issues
2 years ago
Jason Cameron
c68c5808cb
Merge pull request #2060 from elebumm/develop
...
Update 3.3.0
2 years ago
Jason
6b474b4b50
CHORE: UPDATE VERSION
2 years ago
Jason
6318b398d1
Fix headless issues.
...
closes #2024
2 years ago
Jason
b4fadbcf21
fix isort profile
2 years ago
Jason
fd9b0a936a
change comment (last push)
2 years ago
github-actions
25e7979715
fixup: Format Python code with Black
2 years ago
Jason
79e1346a06
remove an invalid check-only flag
2 years ago
Jason
1bf0352e78
remove an invalid check-only flag
2 years ago
Jason
2113543ad9
intentially leave GUI.py unformatted to test GHA
2 years ago
Jason
a2b094eadc
fix black run cmd
2 years ago
Jason
6ade93390c
Fix actions + update dockerfile python v
2 years ago
Jason
260c05b0d6
Update actions
2 years ago
github-actions
53db79ab29
fixup: Format Python code with Black
2 years ago
Jason
c9e3fae93e
Merge remote-tracking branch 'origin/develop' into develop
2 years ago
Jason
9e60d83580
Fmt using black & isort
2 years ago