Rhymen / go-whatsapp

WhatsApp Web API
MIT License
2.05k stars 490 forks source link

Application FronEnd #515

Open jonatasjeff opened 3 years ago

jonatasjeff commented 3 years ago

Hello guys, first congratulations to the community that developed and contributed to the project. I have the following doubt: I needed to integrate the project with a frontend, instead of displaying the information in the terminal, I needed to project it on a web page. Could you help me on how I could do this? what content I need to study and the ways. Thank you very much in advance

beshoo commented 3 years ago

Hi, contact me.

Beshoo@gmail.com

Regard

On Wed, Jan 27, 2021, 12:32 AM jonatasjeff notifications@github.com wrote:

Hello guys, first congratulations to the community that developed and contributed to the project. I have the following doubt: I needed to integrate the project with a frontend, instead of displaying the information in the terminal, I needed to project it on a web page. Could you help me on how I could do this? what content I need to study and the ways. Thank you very much in advance

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Rhymen/go-whatsapp/issues/515, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDLT252TNEERXFLBAVT3PTS346Z5ANCNFSM4WUGYOPA .

DonovanDiamond commented 3 years ago

This should not be an issue on GitHub as this does not show any problems with go-whatsapp.

I have actually programmed a full working frontend for go-whatsapp (almost a total WhatsApp web replacement) although it is not open source as its used in my company and cannot be shared unfortunately.

You would need to learn:

Setting up a Database (I use PostgreSQL because of its performance) Making go-whatsapp save all received messages into a database (there is multiple libraries you can use and you will need to program the handlers for go-whatsapp) Setting up a front end (you could use golang to program it or any other language as it will get all its data from the database). I used NodeJS and the Express package for my front end as most of my web services are in Node although my backend services are in Go.

DonovanDiamond commented 3 years ago

@Rhymen P.S. there should be some community thread for go-whatsapp where we can share the different programs we make with this and also so questions like this can go there.

Valdenirmezadri commented 3 years ago

I Have a program for chats, valdenirmezadri@live.com

jonatasjeff commented 3 years ago

@DonovanDiamond thank you very much for the guidance. If it is not uncomfortable, which libraries did you use or recommend from Go to the database to receive the messages?