Skip to content

Socialv2#346

Merged
asim merged 4 commits intomainfrom
claude/track-api-usage-L6x8s
Mar 23, 2026
Merged

Socialv2#346
asim merged 4 commits intomainfrom
claude/track-api-usage-L6x8s

Conversation

@asim
Copy link
Member

@asim asim commented Mar 23, 2026

No description provided.

claude added 2 commits March 23, 2026 12:19
New social/ package that follows accounts on X (via Nitter RSS) and
Truth Social. Fetches posts every 15 minutes, indexes for search,
and provides a dashboard card and full page view.

Two-part design:
1. Active feed — follows configured accounts in accounts.json,
   grouped by category (Politics, Tech, Crypto)
2. News enrichment — callback wired in main.go detects social URLs
   in news articles and renders the referenced posts inline

Also adds:
- /social route with JSON API and HTML views
- social_feed and social_search MCP tools
- OpSocialSearch wallet operation (1 credit)
- Dashboard card between Blog and News
- Sidebar nav link and landing page grid entry
- social.svg icon

Data model includes Source field ("feed", "fetch", "self") to support
user-posted content in future.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
Previously only Politics, Tech, and Crypto had accounts.
Added Dev, Finance, Islam, UK, and World topics.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
@asim asim changed the title Claude/track api usage l6x8s Socialv2 Mar 23, 2026
claude added 2 commits March 23, 2026 13:32
Metadata is already map[string]interface{}, not an interface,
so a type assertion is invalid. Access the map directly instead.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
The function returns early since the loop is disabled. Removed the
dead code after the return to fix the unreachable code error.

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
@asim asim merged commit c494118 into main Mar 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants