/ .github / ISSUE_TEMPLATE / new_site_adapter.yml
new_site_adapter.yml
 1  name: "🌐 New Site Adapter Request"
 2  description: Request support for a new website
 3  title: "[Site]: "
 4  labels: ["new-adapter"]
 5  body:
 6    - type: markdown
 7      attributes:
 8        value: |
 9          Want OpenCLI to support a new site? Tell us about it!
10  
11    - type: input
12      id: site-name
13      attributes:
14        label: Site Name
15        description: The name of the website.
16        placeholder: "e.g. Product Hunt"
17      validations:
18        required: true
19  
20    - type: input
21      id: site-url
22      attributes:
23        label: Site URL
24        description: The main URL of the website.
25        placeholder: "https://www.producthunt.com"
26      validations:
27        required: true
28  
29    - type: textarea
30      id: commands
31      attributes:
32        label: Desired Commands
33        description: What commands would you like? List them with a brief description.
34        value: |
35          - `hot` — trending / popular items
36          - `search` — search the site
37      validations:
38        required: true
39  
40    - type: textarea
41      id: api-examples
42      attributes:
43        label: Example Links or API Endpoints
44        description: Share any example page URLs or API endpoints if you have them (optional).
45        placeholder: |
46          Example page: https://www.producthunt.com/posts/example
47          GET https://api.producthunt.com/v2/posts?order=votes
48          Response: { "posts": [{ "name": "...", "tagline": "..." }] }
49      validations:
50        required: false
51  
52    - type: checkboxes
53      id: contribution
54      attributes:
55        label: Willing to Contribute?
56        options:
57          - label: I'm willing to submit a PR for this adapter