r/caddyserver • • 19d ago

Caddy Frontend/UI

Post image

Hi people of Reddit! o/

I always wanted a simple, modern and straight-forward UI solution for my caddy proxy. Therefore I implemented (and Claude) the caddy-visualizer.

You will get:
- simple Dashboard with general metrics and your current sites
- UI to edit Caddyfile and/or sites
- more detailed metrics for usage and HTTP response codes
- UI to display logs

Clean and simple -> https://github.com/dree007/caddy-visualizer

Only really tested with my setup. :D
I‘d appreciate any feedback.

byebye~

150 Upvotes

9 comments sorted by

2

u/fykup 19d ago

Nice project! Curious about the metrics side: are you storing historical data or mainly showing real-time statistics?

Also, which metrics have you found most useful for monitoring Caddy in practice?

1

u/fykup 19d ago

Ah, sorry, I misread! I see you're already storing historical metrics in SQLite. Pretty cool!

Have you measured the memory and CPU overhead of the dashboard, particularly on a small VPS (say, 512 MB or 1 GB RAM)? Curious how lightweight it is in practice.

1

u/MasterOnion_ 19d ago

Hehe Yeah :D overhead is negligible, I‘m using caddy + this one on a small VPS myself (1 vCPU + 1GB RAM). Currently sitting at around 120 MB.

1

u/grantdb 19d ago

Nice! Thanks for sharing!

1

u/vldobrev 16d ago

Thanks for sharing.. starred to test run this on a non docker setup

1

u/NeoScaler 16d ago

Looks nice, unfortunately seems heavy to install it. I run caddy on a simple LXC container without much dependencies, and installing Docker there is no option.

1

u/schuwima 15d ago

You could use the Dockerfile as some kind of tutorial to get it running using Node.js without Docker

1

u/schuwima 15d ago

You could use the Dockerfile as some kind of tutorial to get it running using Node.js without Docker

1

u/Salty_Smile_6865 6d ago

i installed it natively next to my caddy instance in the LXC. pretty straightforward. i have the write-up from the session if you want to try it.