{"id":48146799,"url":"https://github.com/bimross/twitter-client","last_synced_at":"2026-04-04T17:01:17.292Z","repository":{"id":347394694,"uuid":"1192984705","full_name":"BimRoss/twitter-client","owner":"BimRoss","description":"twitter client to interface with twitter indexer","archived":false,"fork":false,"pushed_at":"2026-03-27T19:15:19.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-28T02:19:47.532Z","etag":null,"topics":["api","client","go","indexer","kubernetes","twitter"],"latest_commit_sha":null,"homepage":"https://bimross.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BimRoss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-26T18:56:59.000Z","updated_at":"2026-03-27T19:14:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/BimRoss/twitter-client","commit_stats":null,"previous_names":["bimross/twitter-client"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/BimRoss/twitter-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BimRoss%2Ftwitter-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BimRoss%2Ftwitter-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BimRoss%2Ftwitter-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BimRoss%2Ftwitter-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BimRoss","download_url":"https://codeload.github.com/BimRoss/twitter-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BimRoss%2Ftwitter-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","go","indexer","kubernetes","twitter"],"created_at":"2026-04-04T17:00:58.980Z","updated_at":"2026-04-04T17:01:17.251Z","avatar_url":"https://github.com/BimRoss.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twitter-client\n\n[![GitHub stars](https://img.shields.io/github/stars/BimRoss/twitter-client?style=social)](https://github.com/BimRoss/twitter-client/stargazers)\n\nQuery composition toolkit for production Twitter/X search workflows.\n\n`twitter-client` helps builders move from noisy keyword searches to deterministic, repeatable query pipelines.\n\n## Why This Exists\n\nMost teams do not lose because they lack data.  \nThey lose because their queries are noisy.\n\n## Advanced Search Operator Cheat Sheet\n\nUse these building blocks to compose complex searches.\n\n### Core text operators\n\n- `bitcoin` - term match\n- `\"exact phrase\"` - exact phrase match\n- `(foo OR bar)` - any of the terms\n- `foo bar` - both terms (AND)\n- `-foo` - exclude a term\n- `#bitcoin` - hashtag match\n- `$TAO` - cashtag match\n\n### Account and relationship operators\n\n- `from:account` - posts authored by account\n- `to:account` - replies directed to account\n- `@account` - mentions account anywhere\n\n### Content-type operators\n\n- `has:links` - includes links\n- `-has:links` - excludes links\n- `has:images` - includes images\n- `has:videos` - includes videos\n- `has:media` - includes any media\n- `is:reply` - replies only\n- `-is:reply` - exclude replies\n- `is:retweet` - retweets only\n- `-is:retweet` - exclude retweets\n- `is:quote` - quote posts only\n\n### Engagement operators\n\n- `min_faves:50` - at least 50 likes\n- `min_retweets:10` - at least 10 reposts\n- `min_replies:5` - at least 5 replies\n\n### Time and ID boundary operators\n\n- `since:2026-01-01` - from date forward\n- `until:2026-01-31` - up to (not including) date\n- `since_time:1710000000` - from unix timestamp\n- `until_time:1710086400` - until unix timestamp\n- `since_id:1891234567890123456` - newer than tweet ID\n- `max_id:1892234567890123456` - older than/equal tweet ID\n\n### Language and geo operators\n\n- `lang:en` - English\n- `lang:es` - Spanish\n- `place_country:US` - country code\n- `geocode:37.7749,-122.4194,25km` - radius search\n\n## Notes On Compatibility\n\n- Operator support can vary by backend implementation and API mode.\n- This client passes query text through; it does not validate operators.\n- If your backend ignores an operator, simplify to core operators first and add filters incrementally.\n\n## Query Composition Patterns\n\n- **Start broad, then narrow**: begin with topic terms, then add `from:`, date bounds, and engagement thresholds.\n- **Prefer parentheses for OR logic**: `(ai OR \"machine learning\")`.\n- **De-noise early**: add `-is:retweet -is:reply -has:links` when you want cleaner primary posts.\n- **Use ID boundaries for pagination**: carry forward the oldest tweet ID as `max_id` in subsequent pulls.\n- **Stabilize recurring jobs**: pin date or ID windows so repeated crawls are deterministic.\n\n## Large Query Example Library\n\nCopy/paste these directly and adapt account names, dates, and thresholds.\n\n### 1) Account-focused examples\n\n1. `from:jack`\n2. `from:opentensor_`\n3. `from:opentensor_ -is:retweet`\n4. `from:opentensor_ -is:retweet -is:reply`\n5. `from:opentensor_ has:links`\n6. `from:opentensor_ has:media`\n7. `from:opentensor_ has:videos`\n8. `from:opentensor_ min_faves:100`\n9. `from:opentensor_ min_retweets:25`\n10. `from:opentensor_ min_replies:10`\n11. `from:opentensor_ (bittensor OR subnet OR tao)`\n12. `from:opentensor_ (\"subnet 42\" OR \"subnet 19\")`\n13. `from:opentensor_ lang:en`\n14. `from:opentensor_ since:2026-01-01`\n15. `from:opentensor_ since:2026-01-01 until:2026-02-01`\n16. `from:opentensor_ since_id:1891234567890123456`\n17. `from:opentensor_ max_id:1892234567890123456`\n18. `from:opentensor_ since_id:1891234567890123456 max_id:1892234567890123456`\n19. `from:opentensor_ -has:links -has:media`\n20. `from:opentensor_ (\"release\" OR \"announcement\") -is:retweet`\n\n### 2) Mention and reply tracking\n\n21. `to:opentensor_`\n22. `to:opentensor_ -is:retweet`\n23. `to:opentensor_ min_replies:2`\n24. `@opentensor_`\n25. `@opentensor_ -is:retweet`\n26. `@opentensor_ (\"bug\" OR \"issue\" OR \"help\")`\n27. `@opentensor_ (\"thank you\" OR \"great work\")`\n28. `(@opentensor_ OR to:opentensor_) -is:retweet`\n29. `(@opentensor_ OR to:opentensor_) since:2026-02-01`\n30. `(@opentensor_ OR to:opentensor_) since_id:1893234567890123456`\n\n### 3) Topic discovery\n\n31. `bittensor`\n32. `\"bittensor subnet\"`\n33. `(bittensor OR tao OR \"subnet 42\")`\n34. `(bittensor OR tao) -airdrop -giveaway`\n35. `#bittensor`\n36. `#bittensor #ai`\n37. `($TAO OR #TAO) lang:en`\n38. `(\"open source ai\" OR \"decentralized ai\")`\n39. `(\"subnet 42\" OR \"SN42\")`\n40. `(\"model serving\" OR \"inference\") bittensor`\n\n### 4) Engagement harvesting\n\n41. `bittensor min_faves:100`\n42. `bittensor min_retweets:20`\n43. `bittensor min_replies:10`\n44. `bittensor min_faves:100 min_retweets:20`\n45. `(\"subnet 42\" OR bittensor) min_faves:50 -is:retweet`\n46. `from:opentensor_ min_faves:200 -is:reply`\n47. `from:opentensor_ min_retweets:50 has:media`\n48. `lang:en ai min_faves:500 -is:retweet`\n49. `(\"launch\" OR \"released\") min_faves:100 has:links`\n50. `(\"thread\" OR \"guide\") min_retweets:30 -has:videos`\n\n### 5) Media and link intelligence\n\n51. `bittensor has:links`\n52. `bittensor -has:links`\n53. `bittensor has:images`\n54. `bittensor has:videos`\n55. `bittensor has:media -is:retweet`\n56. `from:opentensor_ has:media since:2026-01-01`\n57. `(\"tutorial\" OR \"how to\") has:videos`\n58. `(\"dashboard\" OR \"metrics\") has:images`\n59. `(\"research paper\" OR \"preprint\") has:links`\n60. `(\"demo\" OR \"walkthrough\") has:media min_faves:25`\n\n### 6) Time-window filters\n\n61. `bittensor since:2026-01-01`\n62. `bittensor until:2026-01-15`\n63. `bittensor since:2026-01-01 until:2026-01-31`\n64. `from:opentensor_ since:2026-02-01 until:2026-02-08`\n65. `(\"network update\" OR \"incident\") since:2026-03-01`\n66. `(\"validator\" OR \"miner\") since:2026-03-01 until:2026-03-07`\n67. `ai since_time:1710000000 until_time:1710086400`\n68. `from:opentensor_ since_time:1710000000`\n69. `@opentensor_ until_time:1710086400`\n70. `(\"weekly recap\" OR \"week in review\") since:2026-03-20 until:2026-03-27`\n\n### 7) ID-based pagination and continuity\n\n71. `bittensor since_id:1891234567890123456`\n72. `bittensor max_id:1892234567890123456`\n73. `bittensor since_id:1891234567890123456 max_id:1892234567890123456`\n74. `from:opentensor_ since_id:1891234567890123456`\n75. `from:opentensor_ max_id:1892234567890123456`\n76. `from:opentensor_ since_id:1891234567890123456 max_id:1892234567890123456`\n77. `(@opentensor_ OR to:opentensor_) since_id:1891234567890123456`\n78. `(\"subnet 42\" OR SN42) max_id:1892234567890123456`\n79. `(\"tao\" OR \"$TAO\") since_id:1891234567890123456 -is:retweet`\n80. `(\"release\" OR \"announcement\") from:opentensor_ since_id:1891234567890123456`\n\n### 8) Reply, retweet, and quote controls\n\n81. `bittensor is:reply`\n82. `bittensor -is:reply`\n83. `bittensor is:retweet`\n84. `bittensor -is:retweet`\n85. `bittensor is:quote`\n86. `bittensor -is:quote`\n87. `from:opentensor_ -is:retweet -is:reply`\n88. `from:opentensor_ is:quote`\n89. `@opentensor_ is:reply min_replies:1`\n90. `(\"hot take\" OR opinion) -is:retweet -is:reply`\n\n### 9) Language and region examples\n\n91. `bittensor lang:en`\n92. `bittensor lang:es`\n93. `bittensor lang:ja`\n94. `(\"subnet\" OR \"validator\") lang:fr`\n95. `(\"ai agents\" OR \"autonomous agents\") lang:de`\n96. `bittensor place_country:US`\n97. `bittensor place_country:GB`\n98. `ai geocode:37.7749,-122.4194,25km`\n99. `ai geocode:40.7128,-74.0060,50km`\n100. `from:opentensor_ lang:en place_country:US`\n\n### 10) Noise reduction patterns\n\n101. `bittensor -airdrop -giveaway -promo`\n102. `bittensor -is:retweet -is:reply`\n103. `bittensor -has:links -is:retweet`\n104. `(\"subnet 42\" OR SN42) -airdrop -giveaway -is:retweet`\n105. `(\"price prediction\" OR \"$TAO\") -giveaway -contest`\n106. `@opentensor_ -(\"gm\" OR \"gn\") -is:retweet`\n107. `(\"validator rewards\" OR emissions) -meme -joke`\n108. `(\"incident\" OR outage) -filter:replies`\n109. `(\"research update\" OR benchmark) -is:retweet -has:links`\n110. `(\"launch\" OR release) -giveaway min_faves:10`\n\n### 11) Research and monitoring templates\n\n111. `(\"bittensor\" AND \"emissions\") since:2026-01-01`\n112. `(\"subnet 42\" OR SN42) (\"latency\" OR \"throughput\")`\n113. `(\"validator\" OR \"miner\") (\"guide\" OR \"tutorial\") has:links`\n114. `(\"security\" OR exploit OR attack) bittensor -is:retweet`\n115. `(\"downtime\" OR outage OR degraded) from:opentensor_ OR @opentensor_`\n116. `(\"roadmap\" OR \"release notes\") from:opentensor_ has:links`\n117. `(\"benchmark\" OR \"results\") (\"subnet 42\" OR bittensor) has:images`\n118. `(\"hiring\" OR \"we're hiring\") (bittensor OR ai) has:links`\n119. `(\"partnership\" OR collaboration) (bittensor OR subnet) -is:retweet`\n120. `(\"breaking\" OR \"just in\") (bittensor OR \"$TAO\") min_retweets:5`\n\n### 12) Ready-made production queries\n\n121. `from:opentensor_ (\"release\" OR \"announcement\" OR \"update\") -is:retweet`\n122. `(@opentensor_ OR to:opentensor_) (\"bug\" OR \"issue\" OR \"help\") -is:retweet`\n123. `(\"subnet 42\" OR SN42) min_faves:10 -is:retweet lang:en`\n124. `bittensor has:links -is:retweet since:2026-03-01`\n125. `(\"validator\" OR \"miner\") bittensor min_replies:2 since:2026-03-01`\n126. `(\"security\" OR exploit OR \"incident\") (bittensor OR subnet) -is:retweet`\n127. `from:opentensor_ since_id:1891234567890123456 -is:reply`\n128. `(\"emissions\" OR rewards) (\"subnet 42\" OR bittensor) has:images`\n129. `(\"guide\" OR tutorial OR walkthrough) bittensor has:videos`\n130. `(\"partnership\" OR integration) (bittensor OR ai) since:2026-01-01`\n\n## Practical Workflow\n\n1. Start with one of the production queries above.\n2. Tune one dimension at a time (`from:`, then date/ID, then engagement).\n3. Save known-good queries in code constants for repeatability.\n4. For paginated crawls, use `since_id` and `max_id` windows.\n5. Keep a \"strict\" and \"broad\" variant for each monitoring use case.\n\n## Troubleshooting\n\n- **Too few results**: remove one restrictive filter at a time (`min_*`, `-is:*`, date bounds).\n- **Too noisy**: add `-is:retweet -is:reply`, plus anti-spam exclusions (`-airdrop -giveaway`).\n- **Inconsistent windows**: prefer ID boundaries (`since_id`/`max_id`) over free-form date windows when possible.\n- **Backend mismatch**: fallback to core operators (`from:`, phrase, exclusions, date range) and reintroduce advanced operators incrementally.\n\n## Related BimRoss Projects\n\n- [twitter-scraper](https://github.com/BimRoss/twitter-scraper)\n- [twitter-worker](https://github.com/BimRoss/twitter-worker)\n- [twitter-indexer](https://github.com/BimRoss/twitter-indexer)\n- [subnet-signal](https://github.com/BimRoss/subnet-signal)\n\n## Keywords\n\nTwitter search operators, X query syntax, social media monitoring queries, keyword intelligence, production search filtering.\n\n## Support\n\nIf this query system improves your signal quality, star the repo.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbimross%2Ftwitter-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbimross%2Ftwitter-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbimross%2Ftwitter-client/lists"}