Skip to content
    ↑↓ select↵ openesc close
    English中文
    superagents-lab

    Search1api

    v0.1.1Other
    opencode-search1api

    Search1API web search, news, page retrieval, sitemap, and trending tools for OpenCode

    GitHub stars

    0

    Monthly installs

    304

    10 in 7 days

    Composite scoreSCORE

    34.8

    Multi-signal model

    Last commit

    16 days ago

    2026-08-04

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-search1api@0.1.1"]
    }

    opencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    Native OpenCode tools for live web search, news, page retrieval, sitemap discovery, and trending topics.

    Install

    Install for the current project:

    opencode plugin opencode-search1api
    

    Or install globally:

    opencode plugin opencode-search1api --global
    

    Authentication

    Use one of these methods:

    1. Set SEARCH1API_KEY in the OpenCode environment.
    2. Install search1api-cli and run s1 login once; the plugin reuses the same OAuth session.
    3. Configure the plugin with an apiKey option in opencode.json.
    {
      "plugin": [
        ["opencode-search1api", { "apiKey": "your-api-key" }]
      ]
    }
    

    Prefer an environment variable or secret manager over committing credentials to configuration files.

    Get an API key at search1api.com.

    Tools

    • search1api_search — search the live web
    • search1api_news — search current news
    • search1api_crawl — retrieve readable page content
    • search1api_sitemap — discover site links
    • search1api_trending — explore GitHub or Hacker News trends

    Development

    npm install
    npm test
    

    License

    MIT