mirror of
https://github.com/niels-emmer/wall-cast.git
synced 2026-09-13 23:53:36 +02:00
[PR #8] [MERGED] feat(truthometer): add Trump's Truth-o-Meter widget #8
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/wall-cast#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/niels-emmer/wall-cast/pull/8
Author: @niels-emmer
Created: 4/17/2026
Status: ✅ Merged
Merged: 4/17/2026
Merged by: @niels-emmer
Base:
main← Head:feat/trump-truth-o-meter📝 Commits (1)
9e5bf51feat(truthometer): add Trump's Truth-o-Meter widget📊 Changes
12 files changed (+559 additions, -6 deletions)
View changed files
📝
.claude/launch.json(+4 -1)📝
backend/app/config.py(+6 -0)📝
backend/app/main.py(+2 -1)➕
backend/app/routers/truthometer.py(+211 -0)📝
docker-compose.yml(+1 -0)📝
docs/config-reference.md(+34 -0)📝
frontend/src/admin/AdminPanel.tsx(+3 -2)➕
frontend/src/hooks/use-truthometer.ts(+13 -0)📝
frontend/src/i18n/translations.ts(+40 -0)📝
frontend/src/types/api.ts(+24 -0)📝
frontend/src/widgets/base-registry.ts(+4 -2)➕
frontend/src/widgets/truthometer/TruthometerWidget.tsx(+217 -0)📄 Description
Summary
gpt-4o-mini(uses existingOPENAI_API_KEYin.env); falls back to first 280 chars if key is absentOPENAI_API_KEYforwarded explicitly into the backend container environmentFiles changed
backend/app/routers/truthometer.pybackend/app/main.pyinclude_routerbackend/app/config.pytruthometer_cache_ttl,openai_api_keysettingsdocker-compose.ymlOPENAI_API_KEYinto backend environmentfrontend/src/widgets/truthometer/TruthometerWidget.tsxfrontend/src/hooks/use-truthometer.tsfrontend/src/types/api.tsTruthometerPost,TruthometerStats,TruthometerDatatypesfrontend/src/i18n/translations.tsfrontend/src/widgets/base-registry.tsfrontend/src/admin/AdminPanel.tsxROTATOR_SLOT_TYPESdocs/config-reference.mdtruthometerwidget typeTest plan
GET /api/truthometerreturns posts + stats (verify withcurl)OPENAI_API_KEYset: TLDRs are AI-generated summaries🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.