All Projects → mayukh18 → Blindchat

mayukh18 / Blindchat

Licence: mit
a facebook messenger bot that allows users to chat with other people on facebook anonymously

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Blindchat

Chatbot
A Deep-Learning multi-purpose chatbot made using Python3
Stars: ✭ 36 (-53.85%)
Mutual labels:  flask-application, chatbots
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+3571.79%)
Mutual labels:  chatbots, messenger-bot
intelligo-generator
🛠️ Chatbot generator for Intelligo Framework.
Stars: ✭ 31 (-60.26%)
Mutual labels:  messenger-bot, chatbots
pycroft
The new AG DSN management system
Stars: ✭ 16 (-79.49%)
Mutual labels:  postgres, flask-application
rasa-site-bot
A chatbot that fetches events details from a conference's website
Stars: ✭ 81 (+3.85%)
Mutual labels:  flask-application, chatbots
Messenger Bot Rails
Ruby on Rails Gem for the Facebook Messenger Bot Platform
Stars: ✭ 64 (-17.95%)
Mutual labels:  messenger-bot
Flask Graphql
Adds GraphQL support to your Flask application.
Stars: ✭ 1,188 (+1423.08%)
Mutual labels:  flask-application
Skunk
A data access library for Scala + Postgres.
Stars: ✭ 1,107 (+1319.23%)
Mutual labels:  postgres
Squid
🦑 Provides SQL tagged template strings and schema definition functions.
Stars: ✭ 57 (-26.92%)
Mutual labels:  postgres
Repmgr
A lightweight replication manager for PostgreSQL (Postgres) - latest version 5.2.1 (2020-12-07)
Stars: ✭ 1,207 (+1447.44%)
Mutual labels:  postgres
Casr Demo
基于Flask Web的中文自动语音识别演示系统,包含语音识别、语音合成、声纹识别之说话人识别。
Stars: ✭ 76 (-2.56%)
Mutual labels:  flask-application
Target Postgres
A Singer.io Target for Postgres
Stars: ✭ 70 (-10.26%)
Mutual labels:  postgres
Convai Bot 1337
NIPS Conversational Intelligence Challenge 2017 Winner System: Skill-based Conversational Agent with Supervised Dialog Manager
Stars: ✭ 65 (-16.67%)
Mutual labels:  chatbots
Osmium
Online collaborative fitting tool.
Stars: ✭ 74 (-5.13%)
Mutual labels:  postgres
Rpg Boilerplate
Relay (React), Postgres, and Graphile (GraphQL): A Modern Frontend and API Boilerplate
Stars: ✭ 62 (-20.51%)
Mutual labels:  postgres
Bgworker
Background Worker Processes for PostgreSQL written in Go
Stars: ✭ 77 (-1.28%)
Mutual labels:  postgres
Stackexchange Dump To Postgres
Python scripts to import StackExchange data dump into Postgres DB.
Stars: ✭ 58 (-25.64%)
Mutual labels:  postgres
Iotshark
IotShark - Monitoring and Analyzing IoT Traffic
Stars: ✭ 69 (-11.54%)
Mutual labels:  flask-application
Plv8
V8 Engine Javascript Procedural Language add-on for PostgreSQL
Stars: ✭ 1,195 (+1432.05%)
Mutual labels:  postgres
Fb Botmill
A Java framework for building bots on Facebook's Messenger Platform.
Stars: ✭ 67 (-14.1%)
Mutual labels:  chatbots

BlindChat

A Facebook messenger bot that allows users to chat with other people on Facebook anonymously. It's more like Omegle for messenger, with some differences and improvements.

You can find it live here.

A bit of a background

I started out building BlindChat just to try out the messenger platform of Facebook and to try to build something usable out of it while learning in the process. It is more of an app rather than an AI chatbot. The outcome got a bit of traction and hence I improved certain parts of it, however, most of the code may be in an unorganized condition since those are built for quick prototyping.

Local development / Setup your version of the app

BlindChat is currently hosted on Heroku and uses their offered database. Thus, the code and setup are written for it. If you don't want to use Heroku, you'll have to modify the code in a few places but if you are okay with Heroku, then you are just fine. It helps to have a bit of knowledge setting up a messenger bot.

  1. Clone the repository by opening up your terminal/cmd and running the following command to set up your local repository:

    git clone https://github.com/mayukh18/BlindChat.git/
    
  2. Create a messenger app on Facebook. Add and configure the webhook and be certain to note down both the Access Token and Verify Token.

  3. Install the Heroku CLI toolbelt if you don't already have it. Then create an app on Heroku by opening up your terminal/cmd and running the following command:

    heroku create yourappname
    
  4. Run the following command to install the required libraries to your local environment:

    pip install -r requirements.txt
    
  5. Run the following command to set up a Postgres database with Heroku:

    heroku addons:add heroku-postgresql:hobby-dev
    
  1. Next run the following lines:
    heroku run python
    >> import os
    >> os.environ.get('DATABASE_URL')
    
  • The URL returned from running the above commands is your SQLALCHEMY_DATABASE_URI.
  1. Open the config.py file and replace 'YOUR_FACEBOOK_APP_ACCESS_TOKEN' and 'FACEBOOK_APP_VERIFY_TOKEN' with the respective tokens from Step 2, replace 'APP_URL' with your Heroku app URL https://yourappname.herokuapp.com/ and finally, replace 'YOUR_DATABASE_URI' with your database URI from step 6..

  2. Next, to set up and migrate the models into your database, run

    python manage.py db init
    python manage.py db migrate
    python manage.py db upgrade
    
  3. Lastly, deploy to Heroku with the following command, and Voila!

    git push heroku master
    

Note:

  • You may find this memo helpful if you run into problems while setting this up.
  • You may need to install PostgreSQL on your system if you run into some issues in the above step. Check this on the official guide.

Directory structure

  • DB_Wrappers: Contains the wrapper classes for the models in the database.
  • modules: Contains all the functionalities from starting a chat session to sending a message.
  • templates: Contains different message templates and webviews.

Contributing

All contributions are welcome. Please discuss your ideas on the community first to avoid clash of others working on the same thing. A few issues are marked as "beginner friendly" which are suitable for beginners to try out.

Ask in Issues if you are not sure on something. Cheers!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].