Terminal-Friendly Websites via Curl
The author created a terminal-friendly version of their website using ANSI escape codes, accessible via curl commands. The idea was inspired by others, but the implementation differed, involving hand-writing ANSI-marked-up files. The site’s entire blog is available in this format due to the author’s custom markup language and static site generator, which already supported multiple output formats. The setup required minimal changes to the Nginx configuration to serve the curl version statically while retaining the ability to request unmodified HTTP responses. The author notes that while their approach was convenient due to their custom tools, a few hand-written pages would suffice for others looking to create a similar gimmick.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.