reddit by resciencelab/opc-skills
npx skills add https://github.com/resciencelab/opc-skills --skill reddit通过 Reddit 公共 JSON API 获取帖子、评论、子版块信息和用户资料。
无需 API 密钥! Reddit 的公共 JSON API 无需身份验证即可使用。
快速检查:
cd <skill_directory>
python3 scripts/get_posts.py python --limit 3
所有命令均在技能目录下运行。
python3 scripts/get_posts.py python --limit 20 # 热门帖子(默认)
python3 scripts/get_posts.py python --sort new --limit 20
python3 scripts/get_posts.py python --sort top --time week
python3 scripts/get_posts.py python --sort top --time all --limit 10
python3 scripts/search_posts.py "AI agent" --limit 20
python3 scripts/search_posts.py "MCP server" --subreddit ClaudeAI --limit 10
python3 scripts/search_posts.py "async python" --sort top --time year
python3 scripts/get_subreddit.py python
python3 scripts/get_subreddit.py ClaudeAI
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
python3 scripts/get_post.py abc123 # 通过 ID 获取帖子
python3 scripts/get_post.py abc123 --comments 50 # 包含更多评论
python3 scripts/get_user.py spez
python3 scripts/get_user.py spez --posts 10 # 包含近期帖子
| 排序 | 描述 | 时间选项 |
|---|---|---|
hot | 热门帖子(默认) | - |
new | 最新帖子 | - |
top | 最高投票 | hour, day, week, month, year, all |
rising | 热度上升 | - |
controversial | 争议性帖子 | hour, day, week, month, year, all |
.json每周安装量
1.4K
仓库
GitHub 星标数
628
首次出现
2026年1月21日
安全审计
安装于
opencode1.1K
gemini-cli1.1K
codex1.1K
github-copilot1.1K
cursor1.0K
amp991
Get posts, comments, subreddit info, and user profiles from Reddit via the public JSON API.
No API key required! Reddit's public JSON API works without authentication.
Quick Check :
cd <skill_directory>
python3 scripts/get_posts.py python --limit 3
All commands run from the skill directory.
python3 scripts/get_posts.py python --limit 20 # Hot posts (default)
python3 scripts/get_posts.py python --sort new --limit 20
python3 scripts/get_posts.py python --sort top --time week
python3 scripts/get_posts.py python --sort top --time all --limit 10
python3 scripts/search_posts.py "AI agent" --limit 20
python3 scripts/search_posts.py "MCP server" --subreddit ClaudeAI --limit 10
python3 scripts/search_posts.py "async python" --sort top --time year
python3 scripts/get_subreddit.py python
python3 scripts/get_subreddit.py ClaudeAI
python3 scripts/get_post.py abc123 # Get post by ID
python3 scripts/get_post.py abc123 --comments 50 # With more comments
python3 scripts/get_user.py spez
python3 scripts/get_user.py spez --posts 10 # Include recent posts
| Sort | Description | Time Options |
|---|---|---|
hot | Trending posts (default) | - |
new | Latest posts | - |
top | Highest voted | hour, day, week, month, year, all |
rising | Gaining traction | - |
controversial | Mixed votes | hour, day, week, month, year, all |
.json to any Reddit URLWeekly Installs
1.4K
Repository
GitHub Stars
628
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode1.1K
gemini-cli1.1K
codex1.1K
github-copilot1.1K
cursor1.0K
amp991
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装