Skip to content

bluefound/Async-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async Chatbot

Project Overview

Async Chatbot is a serverless, event-driven chatbot supporting Telegram and Slack, built with aiohttp and asyncio. It integrates with weather, Google Calendar, and OpenAI APIs, and is deployable to AWS Lambda via the Serverless Framework.

Prerequisites

  • Python 3.9+
  • Docker (for local testing)
  • Serverless Framework (npm install -g serverless)
  • AWS account & credentials

Setup & Local Testing

  1. Clone the repo and install dependencies:
    pip install -r requirements.txt
  2. Set environment variables for API keys (see serverless.yml).
  3. Run locally:
    python bot.py
    Or with Docker:
    docker build -t async-chatbot .
    docker run -p 3000:3000 --env-file .env async-chatbot

Deploy

  1. Configure AWS credentials and environment variables.
  2. Deploy with Serverless:
    serverless deploy
  3. Set your Telegram/Slack webhook to the deployed /webhook endpoint.

About

Build an asynchronous Telegram or Slack bot (using aiohttp, asyncio, and a Python SDK) that integrates with third-party APIs (weather, calendars, or AI endpoints). Demonstrate concurrency, webhook handling, and deploy it to a serverless platform (AWS Lambda or Google Cloud Functions).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages