Commit Graph

10 Commits

Author SHA1 Message Date
45248b28ba Install truthbrush from git main branch
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m51s
PyPI version (0.2.4) is outdated. Recent commits (Jan 21, 2026)
updated the API URL which may fix Cloudflare issues.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 02:50:59 -05:00
ecab6086fc Fix user agent to match Chrome 136 TLS fingerprint
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m54s
truthbrush uses curl_cffi with impersonate="chrome136", so the user
agent must match Chrome to avoid Cloudflare fingerprint mismatch detection.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 02:44:53 -05:00
5857d3e972 Use custom Firefox user agent to avoid Cloudflare blocking
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m58s
Monkey-patch truthbrush.api.USER_AGENT with Firefox 147 UA string.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 02:37:25 -05:00
fdf1180722 Add better error handling for Cloudflare rate limiting
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
- Handle None returns from pull_statuses gracefully
- Add specific error messages for rate limiting scenarios
- Skip None posts in iteration to avoid TypeErrors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 02:36:41 -05:00
01d4ddc422 Document Truth Social authentication requirement
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m55s
truthbrush requires TRUTHSOCIAL_USERNAME and TRUTHSOCIAL_PASSWORD
environment variables for API access.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 02:27:40 -05:00
cf234b0beb Fix one-off mode to use pull_statuses
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m57s
truthbrush doesn't have pull_status method, so fetch user's
statuses and search for the matching post ID instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 01:41:06 -05:00
b1502e65d0 Fix PyNaCl exception name
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m4s
Use BadSignatureError instead of BadSignature

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 01:15:39 -05:00
26e14880a8 Fix truthbrush version constraint
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m19s
Use available version 0.2.4 instead of non-existent 0.5.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 01:11:59 -05:00
c75856ff44 Implement Pravda: Truth Social to Discord relay service
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m59s
- Add core modules: database (SQLite), media (ffmpeg), discord (webhook), poller (truthbrush), server (FastAPI)
- Support video transcoding to H.264/AAC with automatic size management
- Handle message splitting for Discord limits (2000 chars, 10 attachments)
- Include interactive buttons (Delete, View Raw, Original Post)
- Add Dockerfile with ffmpeg and entrypoint script
- Add Gitea Actions workflow for CI/CD
- Configure code style tools (black, ruff, mypy)
- Include basic unit tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 01:01:59 -05:00
af530372f3 initial commit 2026-01-23 00:53:46 -05:00