Django Chatbot Save

Django Chatbot with Celery, Channels (WebSocket)

Project README

Django Chatbot

The Django Chatbot is a chatbot application that utilizes background tasks processing and communication via WebSockets.

For more detailed information, please refer to my article titled Heroku Chatbot with Celery, WebSockets, and Redis.

Deployment

Docker

To deploy the application using Docker, follow these steps:

  1. Clone the repository: git clone https://github.com/slyapustin/django-chatbot
  2. Build and run the project: docker-compose up
  3. Visit http://localhost:8000/ in your web browser.

Heroku

Alternatively, you can host the chatbot on Heroku. Please note that an account verification is required.

Click the button below to deploy the chatbot on Heroku:

Deploy

Technology Stack

The chatbot utilizes the following technologies:

  • Django: The main web framework.
  • Django Channels: The WebSocket framework.
  • Celery: An asynchronous task queue.
  • Redis: A message broker and cache backend.
  • Daphne: An HTTP and WebSocket protocol server.
  • Heroku: The hosting platform.

Supported commands

The chatbot supports the following commands:

  • sum <x> <y>: Calculates the sum of two integers.
  • status <url>: Checks the status of a website.

Need some help?

Join the Slack channel #django-chatbot for assistance.

Open Source Agenda is not affiliated with "Django Chatbot" Project. README Source: slyapustin/django-chatbot
Stars
108
Open Issues
1
Last Commit
4 months ago

Open Source Agenda Badge

Open Source Agenda Rating