Hello everyone,
I’ve been a big fan of Caddy for a bit. I don’t claim to know all of its syntax intricacies, nor am a go programmer. But, given that few of my domains are now hosted with Caddy v2.0, I figured I would give back to the community if I’d be able to.
In that spirit, I had a requirement of being able to stream (think pm2’s online log streaming) log files for frontend/backend apps I had created. In that project, I had tinkered with SSE for the first time. I could have implemented the (app) log streaming in the app itself. But, I wanted to de-couple log streaming from the app itself. So, I created a caddy plugin called [`caddy-tailfiles`]( GitHub - morikplay/caddy-tailfiles: A Caddy v2 plugin that tails log files and streams them to a browser via Server-Sent Events (SSE) with a built-in console UI featuring color-coded log levels. ) to help do so. It is my first time contributing to caddy and go ecosystem (not my forte). I’ll happily accept critique / comments / guidance. I hope it serves some use to others.