Skip to content

GianniGM/goSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Google searcher using Google custom search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages