FKLC / WhatsAppToDiscord

WhatsAppToDiscord is a Discord bot that uses WhatsApp Web as a bridge between Discord and WhatsApp.
https://fklc.github.io/WhatsAppToDiscord/
MIT License
268 stars 81 forks source link

raspberry pi #119

Closed lokzz closed 1 year ago

lokzz commented 2 years ago

Is your feature request related to a problem? Please describe. no

Describe the solution you'd like a version of this for the raspberry pi

Describe alternatives you've considered not using this (not worked)

Additional context no

rodrigopar99 commented 2 years ago

This is working just fine, idk what you are talking about lol

lokzz commented 2 years ago

im getting -bash: ./WA2DC-Linux: cannot execute binary file: Exec format error

Heath123 commented 2 years ago

Try running it from source? A binary ARM build would be nice though, for me I want it to run this on an Oracle Free Tier VM

lokzz commented 1 year ago

having issues running it

TukangM commented 1 year ago

for now arm deviec or other arch can use box64 https://github.com/ptitSeb/box64 to run x64 amd on other arch

Heath123 commented 1 year ago

for now arm deviec or other arch can use box64 https://github.com/ptitSeb/box64 to run x64 amd on other arch

That seems like a very inefficient and complicated way to do it when you can just run it from the source code directly (I’m doing that and it works fine)

TukangM commented 1 year ago

yeah sure, from an source code can run the bot... i use box64 for run minecarft bedrock server vanilla on raspberry pi run verry well.

FKLC commented 1 year ago

Please note that "compiling" for JS doesn't really exist. sure we can minify code and etc. but with current "compilation" method, pkg, it is probably slower to run the binary. if you want you can use Docker, but that uses node as well, so doesn't really matter. Since I can't compile for raspberry, I'm closing the issue.

Heath123 commented 1 year ago

Since I can't compile for raspberry

You can probably cross compile but that might be a bit of a pain

FKLC commented 1 year ago

I can't cross compile because of sqlite. it is a native module and requires to run on the platform itself.

TukangM commented 1 year ago

just run index.js from ./src/index.js

or

cd to repo cd WhatsAppToDiscord and sudo apt install nodejs and npm install at the repo folder to install requirement and run the bot with node .

FKLC commented 1 year ago

Can someone here try the latest arm builds?

MalurixGaming commented 3 months ago

work :D yeah