Skip to content
🤖 Telegram chatbot frontend for Searx.
JavaScript Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Dockerfile
LICENSE
README.md
bot.js
lambda.js
package-lock.json
package.json
run.js
usage.png

README.md

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

You can’t perform that action at this time.