Giter Club home page Giter Club logo

gso's Introduction

gso

这是一个用NodeJs编写的Google搜索服务,原理是拿着用户的关键词去Google服务器搜索,然后将返回的结果响应给用户。

关于证书的说明: 文件列表中提供的证书仅为测试使用,在生产环境下需替换为你自己的证书

安装:

git clone https://github.com/lenbo-ma/gso.git

cd gso

npm install --production(注意是两个-)

Run:

node ./bin/runnpm start

或使用forever启动(推荐在生产环境中使用forever管理)

forever start -e err.log -o output.log ./bin/run

或使用pm2启动

pm2 start ./bin/run -i max

最近新增:

  1. 增加“相关搜索”功能;
  2. opensearch, 支持IE,Firefox,Chrome设置为默认搜索引擎;
  3. 简单的敏感词检测,否则连接会被qiang重置;
  4. html代码压缩,使用html-minifier模块进行压缩已渲染好的html代码;
  5. headroom功能(当页面向下滚动时,搜索区消失,当页面向上滚动时,搜索区又出现了。个人觉得这个体验对小屏幕笔记本及pad比较好,尤其是手机终端);
  6. 实现https功能(关键词加密);
  7. 优化手机端使用体验;

todo:

  1. 响应式设计(终端对象:桌面,平板),字体优化,并且为手机创建专门的页面(因交互方式和桌面端差别较大);
  2. 增加在线代理功能(代理搜索结果中出现的部分被屏蔽的网站);

可用服务列表

gso's People

Contributors

kevinma2010 avatar mboimeng avatar septs avatar

Watchers

James Cloos avatar inmyfree avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.