TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Domainr Command Line Script makes picking a new one easier than ever

39 点作者 henryaym将近 14 年前

4 条评论

ebcase将近 14 年前
(I'm one of Domainr's creators)<p>Nice work! We've been meaning to build out a Domainr CLI but haven't been able to make time for it -- we were hoping that somebody might put one together via the API.
评论 #2803200 未加载
dave1010uk将近 14 年前
Simple shell script version:<p><pre><code> domainr() { curl -s domai.nr/api/json/search?q=$1 | tr '{' '\n' | grep register | awk ' { print $2 "-" $12 } ' | sed 's/[^0-9a-z\.\-]/ /g'; }</code></pre>
benjaminasmith将近 14 年前
Domainr has been a fantastic tool for a long time, and this will certainly be handy for those furious coding moments when you need a name and don't want to mess around.<p>My only enhancement request (for Domainr really, though it could be implemented in the script) is to flag those TLDs which require local citizenship or other hoop-jumping in order to make a purchase.
评论 #2802893 未加载
评论 #2802538 未加载
评论 #2802852 未加载
c_t_montgomery将近 14 年前
This is pretty awesome - nice job with it!<p>Just a shameless plug, I released a Domai.nr Chrome Extension just over a week ago that I think would go well with this, if you're a Chrome user. You can find it here: <a href="http://goo.gl/O8rtK" rel="nofollow">http://goo.gl/O8rtK</a>