Hacker News new | ask | show | jobs
by olalonde 1467 days ago
Pretty cool, I noticed it works both in the browser and command line. I suppose you are using the User-Agent header to detect which version to serve? Which library did you use for the interface?
1 comments

It's all done by hand in go. Yes it uses the user agent to guess if the request comes from a terminal.