/goSearch

Google searcher using Google custom search

Primary LanguageGoGNU General Public License v3.0GPL-3.0

GoSearch

A telegram bot written in go using Telebot skeleton. It does web Searches on Google for you.

Usage

When deployed on a server just type your terms to search on Telegram Client and bot will reply you a list of suggested links.

Custom Search configuration

  1. Create your Google Custom Search Engine here

  2. Get your Search Engine ID

  3. Activate your Custom Search API here

  4. Paste in search.go your search ID and your API

	
	SearchEngineID := "PASTE-YOUR-CUSTOM-SEARCH-ID"
	APIgSearchKey := "PASTE-YOUR-GOOGLECUSTOM-SEARCH-API"

Bot configuration

  1. download my telebot fork

  2. create new bot using botFather

  3. add your API key and botname

	conf := telebot.Configuration{
		BotName: "YourBotName_bot",
		ApiKey:  "162227600:!!!YOURAPIKEY!!!!BBBBCCCCCCCCCDDDDD"
	}
  1. build, deploy and have fun!

Licence

The following software is released under the GPL3 License