rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.13k stars 334 forks source link

Ability to view logs on Analytics webpage #332

Closed joebyjo closed 8 months ago

joebyjo commented 11 months ago

Is your feature request related to a problem?

Nope, this would make it easier to view logs when running the program on a local server

Proposed solution

A button or a page on the site that enables you to look at the live logs from your server so you wouldn't have to login to the server to view logs. Preferably the logs would be streamed to a page that functionally resembles heroku log viewer.

Alternatives you've considered

I currently use a hacky ssh + screen to view the logs

Additional context

No response

NoxRare commented 9 months ago

I like the idea of this, however I'm not sure how to go about implementing it. I'll play around with the idea but for now I recommend setting your bot up on a dashboard such as pterodactyl, portainer or even pufferpanel. There are multiple panels for managing docker containers. I personally use pterodactyl for all instances I host for me and my friends.

Feel free to reach out on discord: majjoduran - if you like any help setting these dashboards up.

rdavydov commented 9 months ago

Working on it in https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/tree/analytics-log

joebyjo commented 8 months ago

Is this the best way to implement this? Reading the log file can be very computationally expensive. I feel the better way to achieve this would be to send everything being printed on the console to the analytics page via an event stream.I'm not sure how i would go on to implement this otherwise i would've tried.