Skip to content
/ gogo Public

「勾勾」是一个搜索工具,搜索结果基于谷歌,致力于「安全和简洁」的搜索体验。

Notifications You must be signed in to change notification settings

zenuo/gogo

Repository files navigation

「勾勾」是一个搜索工具,搜索结果基于谷歌搜索,致力于「安全、简洁」的搜索体验。

“Gogo” is a search tool, search results based on Google Search, dedicated to ‘safe and concise’ search experience.

实例列表 Demo List

强烈感谢webbillion同学的域名服务🤗🎉 Thanks to webbillion for the domain name service!

上手 Get started

docker pull ghcr.io/zenuo/gogo:lastest
docker run -p 4998:4998 --name gogo ghcr.io/zenuo/gogo

如何使用 How to use

1 Web

search.png

2 API

  1. 搜索 Search

    $ curl -X GET -k "http://localhost:4998/api/search?q=github&p=1"
    {
      "result": [
        {
          "name": "The world's leading software development platform · GitHub",
          "url": "https://github.com/",
          "desc": "GitHub brings together the world's largest community of developers to discover, share, and build better software. From open source projects to private team ..."
        }
      ],
      "error": null
    }
  2. 关键词提示 Lint

    $ curl -X GET -k "http://localhost:4998/api/lint?q=github"
    {
      "result": [
        "github",
        "github<b> desktop</b>",
        "github<b> stock</b>",
        "github<b> microsoft</b>",
        "github<b> pages</b>",
        "github<b> api</b>",
        "github<b> tutorial</b>",
        "github<b> login</b>",
        "github<b> markdown</b>",
        "github<b> gist</b>"
      ],
      "error": null
    }

从源代码构建 Build from source

$ git clone https://github.com/zenuo/gogo.git
$ cd gogo/gogo-server
$ cargo build -rv
$ ./target/release/gogo-server config.json

参考