Manage Caddy Interactively

caddy has a built-in remote management api, and it’s using json, which is great. It’s easy to understand and fun to write automated tools to update website configuration dynamically. I used to use curl, but having to find out those handle path is too much for me, so I have written a tool to traverse and update configs. It has config path autocomplete, and support loading config from file or as an argument.

caddy api

Here is the gif showing caddy-api in action.


1 Like

Sounds neat! Can you fill out a readme with instructions and examples to show how it works? I’m sure others would be interested in using this too. :slight_smile:



Great job @WeidiDeng

This topic was automatically closed after 60 days. New replies are no longer allowed.