Play-Google可以快速地搭建一台Google搜索服务器。
Branch: master
Clone or download
joymufeng
joymufeng clean
Latest commit 5abe14d Dec 21, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app clean Dec 21, 2017
conf clean Dec 21, 2017
doc Clean Sep 28, 2017
project clean Dec 21, 2017
public feat: add robots.txt and favicon.ico Apr 28, 2016
test init Apr 15, 2016
.gitignore init Apr 15, 2016
LICENSE init Apr 15, 2016
README.md fix the host in set-cookie header. Jul 11, 2016
build.sbt Clean Sep 28, 2017

README.md

Play-Google介绍

Play-Google是一款基于PlayFramework开发的服务器端软件,利用Play-Google可以很容易的搭建一台属于自己的Google搜索服务器。

开始使用

单击Play-Google下载编译后的分发包,将分发包上传至服务器并解压。请确认您安装了Java8运行环境, 进入play-google/bin目录执行以下命令启动服务:

nohup ./play-google -J-Xmx300m -Dhttp.port=8080 > ../log.txt&

访问http://server_ip:8080测试启动是否成功。

设置Http代理

打开conf/application.conf,默认禁用Http代理,配置如下:

httpProxy {
  enable: false
  list = ["127.0.0.1:8080"]
}

若要启用Http代理,修改配置如下:

httpProxy {
  enable: true
  list = ["127.0.0.1:8080"]
}