Skip to content

feat: add optional Hermes Tweet read backend#28

Open
kriptoburak wants to merge 1 commit into
0xNyk:mainfrom
kriptoburak:codex/add-hermes-tweet-read-backend
Open

feat: add optional Hermes Tweet read backend#28
kriptoburak wants to merge 1 commit into
0xNyk:mainfrom
kriptoburak:codex/add-hermes-tweet-read-backend

Conversation

@kriptoburak

Copy link
Copy Markdown

Summary

  • Add an explicit Hermes Tweet / Xquik read backend for search, profile, thread, and single-tweet reads.
  • Normalize backend responses into the existing Tweet shape so current CLI, formatter, and MCP read flows keep working.
  • Document optional XINT_READ_BACKEND=hermes-tweet, API key, and base URL setup while keeping X API v2 as the default path.

Validation

  • bun test lib/hermes_tweet.test.ts
  • bun x tsc --ignoreConfig --noEmit --target ESNext --module ESNext --moduleResolution bundler --strict --esModuleInterop --skipLibCheck --types bun-types,node lib/hermes_tweet.ts lib/hermes_tweet.test.ts lib/api.ts
  • bun test
  • git diff --cached --check
  • curl -fsSIL https://xquik.com

Typecheck Note

  • bun run typecheck currently fails on the base repo before this change because lib/spinner and lib/news are missing imports from existing files.

@kriptoburak kriptoburak requested a review from 0xNyk as a code owner May 23, 2026 16:17
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.

1 participant