「勾勾」是一个搜索工具,搜索结果基于谷歌搜索,致力于「安全、简洁」的搜索体验。
强烈感谢webbillion同学的域名服务🤗🎉
本程序通过
网页
、命令行
和Web API
三种方式提供服务。
首页截图:
搜索页面截图:
请到Release页面下载可执行程序,并重命名为
gogo-cli
,放置到PATH
路径下
$ gogo-cli github 1
截图如下:
$ curl -X GET -k "https://176.122.157.231:5000/api/search?q=github&p=1"
{
"key": "github",
"page": 1,
"amount": 223000000,
"elapsed": 0.43,
"entries": [
{
"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
}
$ curl -X GET -k "https://176.122.157.231:5000/api/lint?q=github"
{
"key": "github",
"lints": [
"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
}
# 拉取镜像
$ docker pull zenuo/gogo
# 创建容器
$ docker create -p 4999:4999 --name gogo zenuo/gogo
# 复制配置文件到容器(可选)
$ docker cp application.yml gogo:/opt/gogo/application.yml
# 运行镜像
$ docker start gogo
# 查看日志(可选)
$ docker logs -f gogo
$ git clone https://github.com/zenuo/gogo.git
$ cd gogo/gogo-server
$ mvn -DskipTests=true clean package
$ mv target/gogo.jar .
$ sh ./gogo-server.sh