Giter Club home page Giter Club logo

chatplug's Introduction

Chat Plug

GitHub GitHub issues LOVE

We're currently in the process of rewriting the whole project from scratch. See ChatPlug/ChatPlug-go for updates

TODO: update description with new services

ChatPlug is a simple and extensible bridge between Facebook (Messenger), Discord, Telegram and Slack.

❓ How does it work?

Everytime ChatPlug receives a message, it will be relayed to another chat on any configured platform. This way you don't have to install Facebook Messenger on your phone.



🔌 Quick start

You can grab the binaries here.

A configuration guide will run when you first start ChatPlug. (TODO: remove strikethrough when ready)

Custom build

ChatPlug now uses TypeScript on Node.js.


$ npm run build # production build (takes over a minute)
$ npm run start


$ npm run watch # development watch build (leave it in the background)
$ npm run start # run everytime you want to restart the app while developing

📱 Usage

TODO: update with details

👏 Contributing

If you want to help with the project, you can have a look at some issues or join our discord server discordapp.com/invite. All help is much appreciated 😄

⚠️ Disclaimer

We do not guarantee that this bridge will work correctly. We are not responsible for getting banned on any serivices integrated with ChatPlug. Use at your own discretion.

All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Facebook and the Facebook logo are trademarks or registered trademarks of Facebook, Inc., used under license agreement.

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

chatplug's People

Contributors

alufers avatar dependabot[bot] avatar feelfreelinux avatar serekkiri avatar xdk78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatplug's Issues

Move to snake_case

In order to comply with pep8 we should move function names to snake_case

no module named configparser

Hi!

I run python main.py and I'm presented with this:

Traceback (most recent call last):
  File "main.py", line 1, in <module>
    from facegram.facegrambridge import FacegramBridge
  File "/home/hammyhavoc/ChatPlug/facegram/facegrambridge.py", line 1, in <module>
    from .config import FacegramConfig
  File "/home/hammyhavoc/ChatPlug/facegram/config.py", line 1, in <module>
    import configparser
ImportError: No module named configparser

"Traceback (most recent call last):"

I'm not sure what's the problem as all the fields in confing.ini are ok. So I'll leave some of the output here (the remaining output it's related to my FB profile. groups, friends...).
xx = my e-mail
Output:

Logging in xx...
Login of xx successful.
Pyrogram v0.7.4, Copyright (C) 2017-2018 Dan Tès https://github.com/delivrance
Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)

Registered commands
Traceback (most recent call last):
File "main.py", line 4, in
bridge.startBridge()
File "/home/ubuntu/facegram/facegram/facegrambridge.py", line 16, in startBridge
CommandsHandler(self.networkClient, self.bridge, self.config)
File "/home/ubuntu/facegram/facegram/commands_handler.py", line 10, in init
self.threads = self.networkClient.fbClient.fetchThreadList()
File "/home/ubuntu/.local/lib/python3.6/site-packages/fbchat/client.py", line 808, in fetchThreadList
return [graphql_to_thread(node) for node in j['viewer']['message_threads']['nodes']]
File "/home/ubuntu/.local/lib/python3.6/site-packages/fbchat/client.py", line 808, in
return [graphql_to_thread(node) for node in j['viewer']['message_threads']['nodes']]
File "/home/ubuntu/.local/lib/python3.6/site-packages/fbchat/graphql.py", line 206, in graphql_to_thread
raise FBchatException('Unknown thread type: {}, with data: {}'.format(thread.get('thread_type'), thread))
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.