Feedtrix topics

The Pipetrix (TheFeedtrix) organizes Grok-ingested posts into topic buckets for background refresh and canonical topicIdsJson.

Allow-listed slugs

Defined in server/feedtrixTopics.ts (FEEDTRIX_TOPIC_BY_SLUG):

Slug

Display title

politics

Politics

sports

Sports

business_finance

Business & Finance

science_technology

Science & Technology

entertainment

Entertainment & Arts

artificial_intelligence

Artificial Intelligence

gaming

Gaming

crypto

Crypto

videos

Videos

Invalid slugs return 400 on batch API.

API

GET /api/xai/the-feedtrix/batch?topic=<slug>&maxResults=<n>

  • Fetches Grok JSON for one topic

  • Server ingests into thefeedtrix_local (tf_canonical_posts, tf_topic_buckets)

  • Client subscribes via RxDB replication / polling (see src/feedtrix/)

Topic inference from tags

inferTopicIdsFromTweet() maps tweet tags[] through feedTopicSlugFromTag() (src/mixer/topicPrefs.ts). Tags that do not map to a slug still ingest under generic grok_mixer source when no topic match.

User preferences

feedtrix_topic_prefs in ifixedx_local stores enabled topics for background ticks (src/feedtrix/topicPrefs.ts).