Skip to content

🤖 Telegram chatbot frontend for Searx.

License

Notifications You must be signed in to change notification settings

fuerbringer/searxbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Searxbot

A serverless Telegram chatbot to search the internet! Add it to your Telegram: @SearxBot

Example usage

SearxBot Usage Example

Setup

The serverless chatbot Searxbot works best while deployed on AWS Lambda.

Steps to deploy

AWS Lambda

  1. Clone this repository: git clone https://github.com/fuerbringer/searxbot.git && cd searxbot
  2. Install the necessary dependencies and claudia: npm install && npm install -g claudia
  3. Deploy the bot to AWS Lambda: claudia create --region eu-central-1 --api-module bot
  4. Re-deploy after you've made your changes: claudia update

Locally

You'll first want to put your Telegram Bot token into .env like so:

BOT_TOKEN=AAAAAAAAAA:123tokenfrombotfather321

Then run npm install and npm start. Done.

Docker

First set up your .env file as described above. Then you can build the Docker image (docker build -t searxbot .) and run it (docker run -d searxbot). Done.

Technologies used

  • Node (6.10)
  • AWS Lambda
  • Claudia.js
  • claudia-bot-builder
  • minimal-request-promise

Useful links and resources