Skip to content

Instantly share code, notes, and snippets.

View JiehoonKwak's full-sized avatar

JiehoonKwak JiehoonKwak

View GitHub Profile
@marckohlbrugge
marckohlbrugge / x.sh
Created January 3, 2026 08:43
Requires jq. Simple command to work around X blocking bots. Returns LLM-friendly summary of a user account or post. Put in bin/ and optionally instruct Claude or your favorite LLM to use it when trying to fetch X links.
#!/bin/bash
# Fetch tweet or user profile in an LLM-friendly format using fxtwitter API
set -e
if [ -z "$1" ]; then
echo "Usage: x <twitter-url-or-username>"
echo "Examples:"
echo " x https://x.com/marckohlbrugge/status/2005972157445333371"
echo " x https://x.com/marckohlbrugge"