svrooij / teams-monitor

Send your Teams Status to any webhook in realtime
https://www.nuget.org/packages/SvRooij.TeamsMonitor/
GNU General Public License v3.0
64 stars 4 forks source link

logging into a logfile and starting teams-monitor as a servivce #5

Open binderth opened 9 months ago

binderth commented 9 months ago

First of all, thanks for all the work, that's a great tool.

I'd like to use it completely "silent", as I tend to close all open programs showing in the taskbar! 😀 Is there a way to

That would be really helpful! Thanks!

svrooij commented 9 months ago

No promises: https://twitter.com/svrooij/status/1725077020361572517?t=odgbtIpnc3kXVEOfWqGSSw&s=19

You can already configure the webhook through an environment variable and the storage is probably to be never changed.

Running as a Windows service is a pain in the *#! So I think running this app as a taskbar app, but it's either badly documented or only works from .net framework and not .net core

binderth commented 9 months ago

You can already configure the webhook through an environment variable

Ah, sorry. Didn't catch that... Thanks. I hope it'll run in taskbar! 😉

svrooij commented 9 months ago

@binderth still no promises.... 😉

image

svrooij commented 9 months ago

image 🕵️

image

image

I seem to be getting somewhere

binderth commented 5 months ago

not to put mor pressure on it, I know, you're doing this as a fun spare time project... but nevertheless: did you make any progress since? I'm happy to offer some testing for it! 😀

BWalti commented 4 months ago

I haven't tried it yet, but that documentation to create a Windows Service doesn't seem all to complex and weird? https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service

svrooij commented 4 months ago

I'm more than happy to accept a PR, not actively working on this feature since I would not use it myself.

Having this as a notification area app seems more logical, but packaging is super annoying to fix. There is a working version in the repo, but packaging it in GitHub actions is unsuccessful so far.

mvaneijken commented 2 weeks ago

I would love to see it be able to run it from the system tray. As a work-arround I have installed it as a Windows Service using NSSM - the Non-Sucking Service Manager:

image