MainSilent / Discord-Screenshare

First ever discord video screenshare SELFBOT
297 stars 80 forks source link

Is it possible to dockerize this? #12

Closed Buronn closed 2 years ago

MainSilent commented 2 years ago

I haven't tried that, The challenging part is to properly install chrome and youtube-dl since they are dependent on some libraries. If you were able to create a Dockerfile I would be happy to add that to the repository.

Buronn commented 2 years ago

I have been trying, and I managed to make it run in docker, I can pass you the repository that I'm using in the meantime to do tests, I have not yet tested if it works 100%. (I had to modify part of your code and modify version issues) https://github.com/Buronn/screen-share-discord-bot-docker

Buronn commented 2 years ago

I tried to do it in Alpine, but it was too complicated for the incredible amount of dependencies (chrome & selenium fault)

MainSilent commented 2 years ago

I appreciate your time on this project, Let me know if there is any part of code that you need more info about.

Buronn commented 2 years ago

I realized that it is necessary to use a program like VcXsrv in the background, now I made a few last changes, and it finally works. The only annoyance is having to attach shell and then do npm i and npm start.

MainSilent commented 2 years ago

This issue has been closed due to inactivity, Feel free to reopen it If you have any questions.