Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
yawaramin
· 4mo ago · 0 comments
Ok, for the sake of completeness–why do you want to add a JSON API to the program? Quite a lot depends on the reason.
Comments
[–]
wasting_time
4mo ago
It's a service, and I want to add a CLI for humans and agents. Aeolos' reply makes a lot of sense, I can refactor the backend into a library and add thin UI and API routes on top of it.