reddit-fetch

Solid

Fetch content from Reddit using Gemini CLI or curl JSON API fallback. Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403/blocked errors.

AI & Automation 8,472 stars 639 forks Updated 2 weeks ago NOASSERTION

Install

View on GitHub

Quality Score: 81/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Reddit Fetch ## Method 1: Gemini CLI (Try First) Use Gemini CLI via tmux. It can browse, summarize, and answer complex questions about Reddit content. Pick a unique session name (e.g., `gemini_abc123`) and use it consistently throughout. ### Setup ```bash tmux new-session -d -s <session_name> -x 200 -y 50 tmux send-keys -t <session_name> 'gemini -m gemini-3-pro-preview' Enter sleep 3 # wait for Gemini CLI to load ``` ### Send query and capture output ```bash tmux send-keys -t <session_name> 'Your Reddit query here' Enter sleep 30 # wait for response (adjust as needed, up to 90s for complex searches) tmux capture-pane -t <session_name> -p -S -500 # capture output ``` If the captured output shows an API error (e.g., quota exceeded, model unavailable), kill the session and retry without the `-m` flag (just `gemini` with no model argument). This falls back to the default model. ### How to tell if Enter was sent Look for YOUR QUERY TEXT specifically. Is it inside or outside the bordered box? **Enter NOT sent** - your query is INSIDE the box: ``` ╭─────────────────────────────────────╮ │ > Your actual query text here │ ╰─────────────────────────────────────╯ ``` **Enter WAS sent** - your query is OUTSIDE the box, followed by activity: ``` > Your actual query text here ⠋ Our hamsters are working... (processing) ╭────────────────────────────────────────────╮ │ > Type your message or @path/to/file │ ╰────────────────────────────────────────────╯ ``` Not...

Details

Author
ykdojo
Repository
ykdojo/claude-code-tips
Created
5 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category