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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Rate my webapp: commandlinefu.com

51 点作者 codeinthehole超过 16 年前
http://www.commandlinefu.com (and related http://twitter.com/commandlinefu)<p>In short - it's a repository for unix/bash commands that you want to save for future use, featuring autocomplete search, voting and commenting (very much inspired by daily reading: HN, Programming Reddit, Stack Overflow ...). Kept as clean and simple as possible.<p>More: I really wrote this for myself as my own collection of command-line snippets was getting too unwieldy and hard to parse. I just wanted autocomplete really so I could jump straight to that command I can vaguely remember in a few characters.<p>We're quite hot on using Twitter at work for project communication (all SVN commits tweet) and commandlinefu lends itself nicely to tweet-sized nuggets. It turns out that it's quite a good way of staying in touch with the latest commands. All command lists are available as RSS feeds also.<p>It's still pretty raw at the moment - I've got a few features in the pipeline that should make it better such as tagging and requesting a needed command (see the uservoice link). However, it's gone onto reddit today so I thought now's as good a time as any to ask for HN feedback.<p>All feedback appreciated via this forum, or uservoice.

20 条评论

yan超过 16 年前
Idea and implementation look good.<p>A similar site exists for all dot files (configuration files under unix,) which might be helpful: <a href="http://www.dotfiles.org" rel="nofollow">http://www.dotfiles.org</a><p>Regarding the actual site, there are a few design comments:<p>* Yeah, we get that it's supposed to look like a terminal, but the novelty of harsh fonts/colors wears off very quickly. Either having the ability to change it to something else or making a more pleasant default would be nice.<p>* Make it possible to increase the number of command lines per page. I doubt it is very tolling to generate and submit the pages, but I find it more convenient to just scroll rather than keep clicking 'next.' The way I use your site as of right now, is just keep going through commands, glazing over those I either know or don't find useful until I find the gems. Clicking next continuously is unproductive.<p>* The "minimize, maximize, close" buttons over the terminal are, as I see now, just a static image to simulate an actual terminal window. This is very unintuitive as I tried clicking them to, what I thought, will make the terminal either span the entire page or load more commands. Either add functionality to buttons or make it obvious that they aren't buttons.<p>* Finally, it'd be really nice if you don't have to sign up to vote or submit commands. Sometimes I just have one or two commands I'd like to contribute and would not want making an account in YetAnotherWebsite just to do so. You might be missing a lot of useful contributions by making sign-ups mandatory.<p>Otherwise, well done!
评论 #468284 未加载
评论 #468522 未加载
cubicle67超过 16 年前
Looks useful.<p>You might want to consider a means of flagging dangerous/mis-titled scripts. I see you've already got a destroy everything ("best line eva") and a fork bomb.
评论 #467775 未加载
axod超过 16 年前
"This site has temporarily exceeded its connection limit. Please try again in a few minutes."<p>I'd move it from nearlyfreespeech.net to linode/slicehost/etc to start with. The bandwidth pricing on nearlyfreespeech is tons ($1/GB) compared to linode ($0.10/GB).<p>Once I got in, very cool, bookmarked :)
评论 #468487 未加载
评论 #467883 未加载
yan超过 16 年前
I just realized what'd make a great feature, in my opinion: Add a "recommend alternate" option. For instance, if I see a command I know is suboptimal or there exist other tools that do the job better, I can submit an alternate way to perform the same action.<p>For instance, I see something like:<p><pre><code> find $PWD -type f -exec grep pattern {} \; </code></pre> I can suggest an alternate to be:<p><pre><code> grep -r . pattern</code></pre>
评论 #469000 未加载
leftnode超过 16 年前
Definitely love the usefulness of this so far. I've already implemented the grep for stuff script ignored .svn directories. Been looking for how to do that for months.<p>I would make it totally non-registration necessary. For example, I'd like to upvote some scripts but I don't like that I have to be signed in to do so. Its a great idea for a site, but I don't see it becoming a huge community where people trade scripts, rather a place where someone posts a small script they find. Thus, I'd like to be able to post scripts and vote on them without being a member. Or, make it only possible to downvote scripts by being a member.<p>I'll definitely be using this to learn some new command line stuff. Great idea!
mk超过 16 年前
The idea is great, and I actually don't mind the terminal look. I could see where some people might be annoyed by it though, so making it optional would probably be a good idea. What I do not like is the min/max/close icons in the top right of the terminal window that have no functionality.<p>Another little thing is search. Before I submitted my command which was<p>svn st | grep "^\?" | awk "{print \$2}" | xargs svn add $1<p>I searched for it and came up with no results. After browsing the popular page though I found<p>svn status |grep '\?' |awk '{print $2}'| xargs svn add<p>Also I noticed that commands that have no whitespace after the | are not being picked up and added to the tags. For example, that last command only xargs would be listed but not grep and awk.<p>Here are links to the examples:<p><a href="http://www.commandlinefu.com/commands/view/153/add-all-unversioned-files-to-svn" rel="nofollow">http://www.commandlinefu.com/commands/view/153/add-all-unver...</a><p><a href="http://www.commandlinefu.com/commands/view/36/add-all-files-not-under-version-control-to-repository" rel="nofollow">http://www.commandlinefu.com/commands/view/36/add-all-files-...</a>
TrevorJ超过 16 年前
Good idea. From a design standpoint I have seen successful designs use the black/green pallet, but the white border on your site makes it too difficult to pay attention to the text.<p>Green and black is bold, white and black is bolder so it is pulling the eye to an element that should be a background element.<p>Other than that, nice idea. How about providing a bookmarklet people can drag to their browser bars?
ph0rque超过 16 年前
Minor nitpick... the color scheme hurts my eyes.
评论 #468103 未加载
评论 #467815 未加载
pclark超过 16 年前
Sort the UI out :<p>Green and Black? argh :) Black on white will suffice, thanks<p>Either make the widgets [maximize, minimize, close] do something, or remove them.<p>The block on the right is too large, there is barely enough room to read <i>the actual content</i> -- consider moving all that sidebar into a nice JQuery slider at the top.<p>Do we need to know who submitted it and when on the front page? Can't we see those details when we click a command?<p>"You must be signed in to comment." ++ "or register"<p>I think you could order these nicer. Consider having tabs along the top: UNIX | WINDOWS | ALL<p>Clicking a tab shows you the relevant snippets. Allow me to sort each category by popularity or recentness.
jsmanger超过 16 年前
I'm viewing it in Firefox, and the content area at the top is blank, while the sidebars ("What's this" etc.) appear. The content area (Command-line-fu alpha) appears all the way at the bottom, once all the sidebars finish.
评论 #467842 未加载
timf超过 16 年前
Cool, added to RSS.<p>I wanted to say: the uservoice feedback thing on the left makes it slow to scroll and maybe even more annoyingly gives unsmooth/unpredictable scroll time which means I can't ignore it.<p>I've noticed this in many sites recently that have persistent buttons/sidebars off to the sides. Don't know if it's a problem specific to Firefox or what... makes CPUs jump into the ~20%s which is more than youtube videos etc.<p>Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2009010220 Gentoo Firefox/3.0.5
评论 #469582 未加载
jkmcf超过 16 年前
Green and black take me back to my standalone terminal days...<p>Two comments on presentation in addition to the aforementioned wrapping of the columns in a div:<p>1) More space between entries. The list looks very cramped. 2) Less items per page.<p>Hardest part about Unix is learning the command line. I luckily had an unwilling, but unavoidable, roommate back in 1989 to answer my "read the man page" questions :) Which leads me to my next comment:<p>C) Classify the entries as n00b, ..., guru.
thorax超过 16 年前
Nice work!<p>This goes very well with some of our company's long-term goals of making things easier for techies (e.g. <a href="http://bug.gd" rel="nofollow">http://bug.gd</a> and <a href="http://featurelist.org" rel="nofollow">http://featurelist.org</a> )<p>If you're interested in talking about partnership opportunities (at a minimum we can help with hosting), drop me a line at matthew at bug.gd.<p>Nice work again!
dhimes超过 16 年前
"This site has temporarily exceeded its connection limit. Please try again in a few minutes."<p>Dang.
评论 #467877 未加载
sam_in_nyc超过 16 年前
Isn't this type of site an ideal usage for a SlinkSet or a Sub-Reddit?<p>Regardless, I like it... and it looks like you have a hit! I'd suggest a "flag as dangerous" link... and I think "example output" should be required upon submission.<p>Great work!
thesethings超过 16 年前
Good job. I like the idea, but I think what might be special is the execution, the design and karma system, making useful/common stuff a bit more high-profile than jokey aliases :D The site's slow, but that's a good thing, congrats! Nice work.
gregstoll超过 16 年前
Very neat - I like the "Commands using &#60;whatever&#62;" feature.<p>The "Popular functions" box on the right has some command names running together ("perl" and "ping", "uname" and "uniq") for me on Firefox 3.1b2 on Windows.
ratsbane超过 16 年前
Nice idea and execution. I've bookmarked and twitter-followed. The autocomplete search is excellent. I'm not too keen on the black background. I'd like to read about the server-side design.
评论 #468488 未加载
jhancock超过 16 年前
nice. I am working on a website redesign for my startup, ShellShadow <a href="http://shellshadow.com" rel="nofollow">http://shellshadow.com</a>. Its a collaborative terminal client...there is a linux client to be published in the next week.<p>I decided a while back _not_ to provide a "Knowledge Base" section of the site and instead to partner with others that are organizing content such as what you have done. Please get in touch if you have ideas for me or want to link up somehow.
fizx超过 16 年前
As a potential user, I'd love to subscribe to a human-edited "fu of the day" RSS feed. Don't really want the firehose.
评论 #468438 未加载