TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

htty, the HTTP TTY

128 pointsby njonssonover 14 years ago
I just published a first release of a new console app called htty. I like to think it’s something of a cross between curl and the Lynx browser.<p>Some bullet points:<p>* Intuitive commands and command aliases * Support for familiar HTTP methods GET, POST, PUT, and DELETE, as well as HEAD, OPTIONS and TRACE * Automatic URL-encoding of query-string parameters and URL fragments * Transcripts, both verbose and summary * Dead-simple cookie handling and redirect following * Built-in help<p>Why do this when the admirable Node.js-based http-console exists? To begin with, not everybody is into Node yet, and so installing http-console is not as simple as 'gem install htty'. Furthermore, http-console's spare UI is not as full-featured as it might be.<p>I have some killer features in mind for the near future. Fork and contribute!

7 comments

njonssonover 14 years ago
Why do this when the admirable Node.js-based http-console exists?<p>To begin with, not everybody is into Node yet, and so installing http-console is not as simple as 'gem install htty'.<p>Furthermore, http-console's spare UI is not as full-featured as it might be.<p>I have some killer features in mind for the near future.<p>Fork and contribute!
评论 #1668084 未加载
评论 #1668277 未加载
评论 #1668024 未加载
评论 #1668308 未加载
pakover 14 years ago
This looks like the perfect companion for playing around with a REST API.. very cool. Certainly more fun than composing monstrous curl invocations.
steve19over 14 years ago
This app is crying out for readline support and command completion!
评论 #1668683 未加载
评论 #1668789 未加载
szover 14 years ago
This + REST = CLI for the Web
james2vegasover 14 years ago
So, basically <a href="http://search.cpan.org/dist/WWW-Mechanize-Shell" rel="nofollow">http://search.cpan.org/dist/WWW-Mechanize-Shell</a> then. Congratulations, your new wheel is round and shiny.
评论 #1668821 未加载
评论 #1677600 未加载
评论 #1668784 未加载
评论 #1668456 未加载
cloudheadover 14 years ago
Fantastic, I was hoping someone would implement the concept for all the ruby developers out there! I love the history feature too, I might have to steal it ;&#62;
评论 #1669935 未加载
datapimpover 14 years ago
This is really good work. Any plans to support ncurse or something along those lines, so that I can arrow up through my command history?
评论 #1669718 未加载