后端与数据库

producthunt

resciencelab/opc-skills

Search and retrieve content from Product Hunt. Get posts, topics, users, and collections via the GraphQL API. Use when user mentions Product Hunt, PH, or product launches.

  • 2746 次安装
  • 1900 星标
  • 收录于

安装命令

npx skills add https://github.com/resciencelab/opc-skills --skill producthunt

SKILL.md

ProductHunt Skill

Get posts, topics, users, and collections from Product Hunt via the official GraphQL API.

Prerequisites

Set access token in ~/.zshrc:

export PRODUCTHUNT_ACCESS_TOKEN="your_developer_token"

Get your token from: https://www.producthunt.com/v2/oauth/applications

Quick Check:

cd <skill_directory>
python3 scripts/get_posts.py --limit 3