TinyGoogle
A search web app built by Flask and Google CSE
Install / Use
/learn @yrq110/TinyGoogleREADME
TinyGoogle
TinyGoogle built with Flask + Bootstrap + Google CSE
<h3 align="center">Live Demo: http://tinygoo.herokuapp.com</h3> <p align="center"> <a href="http://tinygoo.herokuapp.com/" target="\_blank"> <img src="https://github.com/yrq110/TinyGoogle/blob/master/static/images/readme/main_page_screenshot.png" width="700px"> </a> </p>Note: the demo may need some spin up time if nobody has accessed it for a certain period.
Features
- Search content by Google Custom Search API
- Ignore GFW to use google search
Search Times
There are 4 engines in this demo. Each engine can search 100 times/day.
If the demo run out of search times when you use, please try just another day.
Requirements
- python 3.5
- flask 0.11.1
- gunicorn 19.6.0
- requests 2.12.1
- flask-bootstrap 3.3.7.0
Build Setup
- install requirements
pip install -r requirements.txt
- run
gunicorn app:app
# server at http://127.0.0.1:8000
Config
- in
data/engine.json, you can change&add the engine'skeyandcxvalues:
{
"YOUR_ENGINE":{
"name":"YOUR_NAME",
"key":"YOUR_API_KEY",
"cx":"YOUR_ENGINE_ID"
}
},
- where to get CSE ID and Google API key :
Google CSE & Google API Console
Todo
- -[x] update to python3
- -[x] thumbnail switch
- -[ ] doodle
License
TinyGoogle is licensed under MIT
