Slashdot Mirror


Command Line for the Web

flood6 writes "SearchEngineWatch offers a look at a new method of interacting with the Internet, YubNub. This 'social command line for the web' lets users create commands that interact with websites. Currently, most of the commands apply to search, but new commands could work with any site that accepts variables passed with HTML's GET command. For example, iap moon would search the Internet Archive for all media related to 'moon'."

50 of 243 comments (clear)

  1. Interesting Concept, but needs moderation by WebHostingGuy · · Score: 4, Insightful

    I like the concept, however the premise is the flaw. What I mean by this is that the social concept of letting people add their own commands is the biggest draw, but the biggest flaw. Doing a quick ls on the site reveals such choice commands on the first page:

    p Created 2005-06-20 16:21 - Description - Nominate - www.pogo.com --does nothing

    tiki Created 2005-06-20 15:10 - Description - Nominate - http://www.tehanitrading.com/ --takes you to somone's website only

    And then of course you have the sophisticated ones:

    fuckthefucker Created 2005-06-20 12:55 - Description - Nominate - http - does nothing

    And if you try to create a legitimate command and something like "p" is already taken you are out of luck. This is why you will need someone to moderate it from time to time (this is sort of on the to do list by flagging spam commands, but it looks like they also have a potential problem with bot submissions as well). But, once you do this then you get the problem of my command is better than your command. It would be nice to see an individual implementation whereby you could store your own commands and could "share" them with others.

    --
    Quality Hosting e3 Servers
    1. Re:Interesting Concept, but needs moderation by AKAImBatman · · Score: 4, Interesting
      What I mean by this is that the social concept of letting people add their own commands is the biggest draw, but the biggest flaw. Doing a quick ls on the site reveals such choice commands on the first page:

      The solution to this should be obvious: namespaces.

      i.e. Have a basic set of commands. These are available to all users. Then allow users to register accounts on the system. Each account comes with its own namespace. New commands can be created and shared with the world under your namespace, then can be promoted to the basic set when they become popular enough.

      For example, if I created a command that searched the web for the best pepperjack cheese, I could share it as:
      batman:pepperjack
      When it gets promoted to the basic set, then I can type:
      pepperjack
      See? Easy. :-)

      Now I just have to figure out what someone would do with this tool. :-/
    2. Re:Interesting Concept, but needs moderation by aberson · · Score: 2, Funny

      thank GOD I now have a command line shortcut for "vagsmell"!

    3. Re:Interesting Concept, but needs moderation by Jerf · · Score: 3, Funny

      Duh... it orders pepperjack to the batcave!

      Too bad it's 2005; dot-coms were built on less.

    4. Re:Interesting Concept, but needs moderation by The+Philosophers+Cat · · Score: 2, Funny

      I totally agree!!

      for example how is the following command useful?

      vagsmell
      Gives a healthy description of the smells of vaginas
      Created 2005-06-20 18:10 - Description - Nominate - http://myvag.net/smell/

      oh yeah i forgot, this is /.
      maybe that command does have some use *sigh*

    5. Re:Interesting Concept, but needs moderation by siriuskase · · Score: 4, Interesting

      The solution to this should be obvious: namespaces.

      There's no need for a formal "promotion" step. Commands could propogate the same was as del.icio.us bookmarks. Popular ones can collect in the "popular" namespace. If you know someone who creates good commands, you can list or subcribe to what's available in their namespace. If you really like somethiing, you can copy to your own which would bump up its popularity rating.

      Here's the documentation for their system if you aren't familiar already.

      --
      If you must moderate, please moderate as irrelevent, not something bad, because I'm sure someone will find this interest
    6. Re:Interesting Concept, but needs moderation by mattdm · · Score: 2, Insightful

      There's no need for a formal "promotion" step. Commands could propogate the same was as del.icio.us bookmarks. Popular ones can collect in the "popular" namespace. If you know someone who creates good commands, you can list or subcribe to what's available in their namespace. If you really like somethiing, you can copy to your own which would bump up its popularity rating.

      I'm not sure the same things all apply here. What if the Solaris killall was suddenly more popular than the Linux (psmisc) command with the same name ? The Linux version kills all processes matching the given name -- the Solaris version kills all processes flat out. Ooops.

      (Obviously, this isn't actual Unix commands, but the same concept applies -- it's nice for a command to do the same thing from day to day!)

    7. Re:Interesting Concept, but needs moderation by Jugalator · · Score: 2, Informative

      You've already used a simple command line search ( you're confusing "search" with "internet" by the way ;-) ) -- just look at Google. If you'd prefix your keywords there with "google", they'd instead look like commands, complete with special switches of the kind "filetype:", "site:", and - operators, etc. Search engines are already like generic and quite complex commands.

      --
      Beware: In C++, your friends can see your privates!
  2. Web apps and the command line by glinden · · Score: 4, Informative

    John Gruber wrote a great essay on this called "The Location Field is the New Command Line". As he put it, "Web apps are just so damned easy to use ... It's all about the fact that you just type the URL and there's your email."

    1. Re:Web apps and the command line by SparafucileMan · · Score: 2, Insightful

      cause otherwise you couldn't do everything?

  3. I call this "Firefox Quick Searches" by Tx · · Score: 2, Interesting

    I haven't RTFA, but the example in the summary sounds pretty much like quick searches anyway.

    --
    Oh no... it's the future.
    1. Re:I call this "Firefox Quick Searches" by Ezdaloth · · Score: 3, Funny

      But now it's a "social commandline", so it'll probably greet you on opening it, and say goodbye when you leave. ;)

  4. toolbar by MankyD · · Score: 4, Insightful

    This would seem to have more worth if it was done with a plugin/toolbar. Right now, it requires that I switch to my address bar, type in yubnub.org, wait for it to load, switch to the form input, and type in my command.

    Much better if one could skip straight to the command part.

    --
    -dave
    http://millionnumbers.com/ - own the number of your dreams
    1. Re:toolbar by thermostat42 · · Score: 3, Informative

      you mean like Konqueror's web shortcuts?

      --
      no comment
    2. Re:toolbar by MAdMaxOr · · Score: 2, Informative

      You can use YubNub directly!

      Add YubNub to your Firefox address bar by going to about:config and changing keyword.URL to http://yubnub.org/parser/parse?command=

      Plugin/toolbar info here:
      http://www.yubnub.org/documentation/describe_insta llation

  5. Ya think people will Gopher it? by StressGuy · · Score: 2, Insightful

    I know, bad geek humor, but it does kinda seem like a throwback to gopher.

    --
    A goal is a dream with a deadline
  6. AWESOME! by mister_llah · · Score: 5, Funny

    Now we can have old style Sierra adventures combined with the joy of Internet graphics...

    Whee!

    Command: GET SUBMIT BUTTON
    "Ok! You got it."

    Command: USE SUBMIT BUTTON ON POST
    "You die." ...

    blast, I was never very good at these games.

    --
    MoM++ - A Classic Expanded - [Master of Magic 1.5]
    http://mompp.sourceforge.net/
    1. Re:AWESOME! by AKAImBatman · · Score: 2, Funny
      > Get up

      You can't get up. It's dark.

      > Turn on light

      You turn on the light.

      > Get up

      While you were screwing around a big, yellow bulldozer came crashing through your house and killed you.

      Play Again? (Y/N)
      #$@$#$@ing Game! I hate these command line things!
    2. Re:AWESOME! by dstewart · · Score: 3, Insightful

      >use LAMP
      That does nothing. It appears you have IIS.

      It is pitch black. You are likely to be eaten by a Grue.

      --
      Not every argument requires reduction to absurdity.
    3. Re:AWESOME! by Hogwash+McFly · · Score: 4, Funny

      > press button
      I'm sorry, I do not know how to 'press'

      > push button
      I'm sorry, I do not know how to 'push'

      > click button
      I'm sorry, I do not know how to 'click'

      > touch button
      I'm sorry, I do not know how to 'touch'

      > activate button with long stick
      I'm sorry, you do not have a long stick in your inventory

      > exit this piece of shit command line
      I'm sorry, I can't let you do that.

      --
      Mother, do you think they'll like this sig?
  7. More... by flood6 · · Score: 3, Informative
    I didn't realize it when I submitted the story, but yubnub was created by Jon Aquino who recently appeared in /. for his K'nexis Keyboard. Also yubnub is developed in the /. darling Ruby on Rails and was Jon's entry into the 2004 Rails Day.

    You can see some more of Jon's gadgets here.

  8. Speaking of Which by MankyD · · Score: 3, Informative
    --
    -dave
    http://millionnumbers.com/ - own the number of your dreams
  9. Expand it! by caudron · · Score: 5, Funny

    Maybe we could expand it to all parts in the Internet. Then people could do cool stuff like check their mail at the prompt, read newsgroups at the prompt, maybe even read each others blogs at the prompt. Hey, we could call it "telnet" or something really catchy. This is just crazy enough to work, guys! Who's with me?

    I'm starting my CLI-accessable blog right away. I'm gonna call it the "Finger".

    Ain't progress grand?

    --
    -Tom
  10. someone's gotta try THIS! by MrNally · · Score: 2, Funny


    www.*> rm -rf /*

  11. XMLTerm by Doc+Ruby · · Score: 2, Informative

    The best version of this concept that I saw was XMLTerm. It's a graphical CLI, in a web page. It's ideally suited to be a CLI for websites, as well as a website implementing a CLI. It was ahead of its time, and went down the drain when the bubble popped. On purely "zeitgeist" problems - it appears to be technically sound. If there's interest, and effort, in this kind of app now, it will be much better to pick up this orphaned OSS project, than to reinvent it.

    --

    --
    make install -not war

  12. social by Quiet_Desperation · · Score: 2, Insightful

    Is "social" the new overused buzzword of the week?

  13. Seems kinda fadish, but I'll bite by aardwolf204 · · Score: 4, Interesting
    I for one welcome our new CLI web overlords...

    Now that that's been taken care of, I'd like to say that this is an interesting idea. As a sysadmin I spend a lot of time in a terminal and though this has not been integrated into the terminal yet, the idea of being able to run a web search through a command line interface makes me happy.

    I can just imagine:

    $ google -5 "firefox ftp download"

    1. Index of /pub/mozilla.org/firefox/releases
    ftp.mozilla.org/pub/mozilla.org/firefox/releases/

    2. Index of /pub/mozilla.org/firefox
    ftp.mozilla.org/pub/mozilla.org/firefox/

    3. mozdev.org - fireftp: index
    fireftp.mozdev.org/

    4. schestowitz.com : Firefox FTP Client
    schestowitz.com/Weblog/archives/ 2005/05/08/firefox-ftp-client/

    5. Neil's World - FTP Uploads in Firefox
    www.neilturner.me.uk/2004/ Sep/01/ftp_uploads_in_firefox.html

    $ ftp ftp.mozilla.org/pub/mozilla.org/firefox/releases/

    ...

    Now what would be even cooler: You know the console from all the first person shooter games like Quake and Half-Life. Really simple, just hit Tilda and it slides down the top third of the screen. The quake 3 one even has some nifty open GL moving background. Anyway, my point is, how come to get a console in Windows I have to hit WIN+R, "CMD", [Enter]. Not fair. I've searched near and far and havent found any such console for Windows or Linux.

    If a fellow slashdotter could point me in the right direction I would greatly apreciate it. I know this is a good idea, and I know I'm not the only one who would love such a program. It would be so nice to simply hit ~, run your ipconfig command, then ~ again and go back to what you were doing.

    Aardwolf
    --
    Im dreaming ofa big bndwdth, That can resist the /.crowd.May ur days b merry & bright & may al
    1. Re:Seems kinda fadish, but I'll bite by poot_rootbeer · · Score: 3, Informative

      how come to get a console in Windows I have to hit WIN+R, "CMD", [Enter].

      Well, you could always set up a keyboard shortcut that launched CMD.EXE -- I've got mine mapped to CTRL-ALT-S. I also keep shortcut icons to my Windows and Cygwin shells in the Quick Launch dock, for more easy access.

      The more important aspect of your feature request, though, is to make the shell itself dockable: the command line stays out of the way, you call it up only for as long as you need it, and then it hides itself again. I'd like to see someone implement such a feature, too.

    2. Re:Seems kinda fadish, but I'll bite by aardwolf204 · · Score: 2, Informative

      yeah, the win key is useful.

      Win +

      R, run
      M, minimize all windows
      D, show desktop (toggle)
      E, explorer

      There are some more but those are what I use. And its funny that you mention ctrl+esc because before I had a windows keyboard (Back in 1995), and even for some time after I got a winkeyboard, I would use CTRL+Esc alt the time. Weird how shortcut habbits can change.

      Thats my problem, I'm a keyboard shortcut whore because I started in DOS and am not a big fan of windows so whenever I can acomplish something in keystrokes instead of the kludgy mouse I will.

      PS. I just shift-tabbed back to add this PS, noting that i subcounciously knew it was three tabs to the submit button. there's my evidence.

      --
      Im dreaming ofa big bndwdth, That can resist the /.crowd.May ur days b merry & bright & may al
    3. Re:Seems kinda fadish, but I'll bite by UbuWu · · Score: 2, Informative

      It exists for linux: Tilda http://tilda.sourceforge.net/ And also you could setup eterm in almost anyway you want... Don't know about Windows...

  14. it's already being abused... by bnitsua · · Score: 3, Interesting

    if you do an ls of available commands, a lot of the commands are advertisements for blogs.

  15. personally i would by Anonymous Coward · · Score: 2, Funny

    $ php Blahsong.mp3

    i never p2p as root

    ps, shove the okmmrfj up your ass taco

  16. Do this in your own browser instead... by Otto · · Score: 3, Informative

    The only advantage of this is that it's collaborative... and as other users have pointed out, quite a lot of the commands on the site are crap and need moderation of some sort.

    But your browser has this built in already.

    -If you use IE, you can set up these type of search shortcuts using TweakUI.
    -If you use Firefox/Mozilla, you can create bookmarks that implement these sort of shortcuts. There's some examples in your bookmarks menu when you first install Firefox, just look at those for how to do it.

    In both cases, after creating them, you can just type "shortcut search terms" in the address to make it do that "search". Doesn't have to be a search of course, it can be any kind of HTTP GET that you want. I have several defined..
    -g for quick googling
    -imdb for movie lookups
    -imdbq for movie quote lookups
    -snpp to search the simpsons archives..
    -And so on. ;)

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  17. YubNub? by Anonymous Coward · · Score: 4, Funny

    Yub nub, eee chop yub nub,
    toe meet toe pee chee keene, g'noop dock fling oh ah.
    Yah wah, eee chop yah wah,
    toe meet toe pee chee keene, g'noop dock fling oh ah
    Coat ee chah tu yub nub,
    Coat ee chah tu yah wah,
    Coat ee chah tu glo wah.
    allay loo ta nuv
    Glo wah, eee chop glo wah, ya glo wah pee chu nee foam,
    ah toot dee awe goon daa.
    Coat ee cha tu goo (Yub nub!)
    coat ee cha tu doo (Yah wah!)
    coat ee cha tu too (ya chaa!)
    allay loo tu nuv (3 times)
    Glo wah, eee chop glo wah.
    Ya glow wah pee chu nee foam,
    ah toot dee awe goon daa
    allay loo tu nuv.

  18. we have all this, don't we? by prgrmr · · Score: 4, Insightful

    Lynx, archie, veronica, gopher, ping, traceroute, whois, nslookup... sound familiar to anyone else?

  19. easier with firefox | opera by ^Z · · Score: 5, Informative

    In FF, you can have bookmarks like this: http://livejournal.com/~%25s/ Give it a keyword (say, 'lj'), type in the URL line: lj someusername and someusername's livejournal opens. This is the simplest example. I have several more sophisticated; this mostly obviates the FF search box. And all this with a *very* simple syntax that only allows substitution of one string. Imagine something a bit more powerful in that place.

    --

    Computers make very fast, very accurate mistakes

  20. Konqueror has this by infolib · · Score: 3, Informative
    With support for Google, Wikipedia, Leo german dictionary, CPAN and many others. Just type wiki: whatever in the address bar to search Wikipedia for "whatever". I went from knowing jack about these "web shortcuts" to creating my own in five minutes. (Just copy and modify existing ones)

    Oh, and you can also use the address bar to ssh for your files (fish:) or get the images of your camera (digikam:). Bow to the power of the KIOslave framework!

    --
    Any sufficiently advanced libertarian utopia is indistinguishable from government.
  21. Re:YubNub - Ewok speak? by nmx · · Score: 2, Informative

    Yes, "yub nub" is Ewok for "freedom."

    --
    "Well kids, you tried your best, and you failed. The lesson is, never try."
  22. Rails by Tobias+Luetke · · Score: 2, Informative

    I think its worth mentioning that YubNub was created for the RailsDay. A one day Ruby on Rails coding contest which was featured in the developer section of slashdot a week or so ago.
    Its not the pinnacle of complexity but its still amazing what you can do in just a day. Hats off the the programmer.

  23. Built into Firefox by That's+Unpossible! · · Score: 4, Interesting

    Just bookmark any page that is from a GET query. E.g. an IMDB search for "Batman Begins" gives you this:

    http://www.imdb.com/Find?select=All&for=batman%20b egins

    Modify the properties of the bookmark, replacing "batman%20begins" with %s. This is a placeholder.

    Give the bookmark a keyword, such as "imdb."

    Now you can type "imdb X" in the url bar in firefox, hit enter, and it will do a search for whatever you enter for "X." Much easier than using yubnub.org.

    I have bookmark searches setup for all kinds of stuff. Whois, nslookup, tracert, imdb, dictionary, gg (google groups), gi (google image), gm (google maps), yyp (Yahoo Yellow Pages), the list goes on and on. Any URL that accepts query words will work for you.

    --
    Ironically, the word ironically is often used incorrectly.
    1. Re:Built into Firefox by SYRanger · · Score: 2, Informative

      It's actually even better than this manual %s-approach. Right-click on an input-field prior to search, and "bookmark this search" and add a keyword to it. This manual %s-process was integrated like this since 1.0 I think, but still works though.

  24. slashdot by bodester17 · · Score: 3, Funny

    they should add a command where you can slashdot a site at will. Let the melting of servers begin!!

  25. This is gonna make my life a LOT easier by $RANDOMLUSER · · Score: 2, Funny


    <BODY BGCOLOR="#000000" text="#FFFFFF">
    <FONT face="sans-serif">C:\><BLINK>_</BLINK></FONT>
    </BODY>
    </HTML>

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  26. Konqueror has done this for years by Urban+Garlic · · Score: 4, Informative

    The K desktop environment has things called "KIOslaves" which recognize certain pseudo-protocols on the Konqueror location bar (and other places).

    Internet examples include "deb:" for Debian package searches, "rf:" for rpmfind, "gg:" for Google, "ggl:" for Google-I-feel-lucky, and "rfc:" for getting RFC text from the IETF website, and "wp:" for Wikipedia. There are lots of these.

    Non-internet examples include "man:" for viewing man pages, and "info:" for viewing those otherwise horrible GNU info pages.

    --
    2*3*3*3*3*11*251
  27. Re:It's not social by Leeji · · Score: 2, Insightful

    Yes, there have been apps that have done this forever. But they've all been standalone, and don't travel with you between machines. I wrote a post about interfacting with YubNub via Monad here: http://www.leeholmes.com/blog/MSHAndYubNubACommuni tyCommandline.aspx

    --
    It all goes downhill from first post ...
  28. In Related News by Foolomon · · Score: 2, Funny
    VUE is building a command-line version of Counterstrike. Below are some of the transcripts from games played online.

    [Ding dang dong]
    [Psssssssssh]
    Player 1: I hate smoke grenades
    [Pow!]
    Player 2: pwnz0rd!
    Player 1 (Spectator): Wallhax!

    Elsewhere, Kazaa has developed a command-line version of its file download capabilities:

    "GET AmericanIdiot.mp3"
    [Duh duh-duh DUH duh-duh duh duh-duh duh duh]
    "Don't wanna be an American Idiot..."

  29. Been doing it for years by rduke15 · · Score: 2, Informative

    I have been using Perl for years to do simple command line scripts to extract information from web sites. From foreign exchange rates, to looking up owners/addresses of incoming phone numbers, or abreviated weather forecasts or train schedules.

    I began when my old laptop took too long to start a web browser. But even though I now always have a web browser window open, typing "xchange 1432 EUR" is still much faster and simpler than navigating to the appropriate web site and filling in forms.

    I'm actually surprised to see such an idea posted here as news. I thought that anybody who knows some scripting has always been doing this sort of thing.

    Of course, Perl is ideal for this sort of thing, with regular expressions and all the CPAN modules (LWP::Simple, and dozens of others more specialized).

  30. Re:It's not social by numatrix · · Score: 2, Informative

    Actually, my firefox bookmarks (and relevant keywords) travel with me just fine thanks to bookmarks synchronizer. Of course, now I just have to figure out where that japanese developer's website has gone so I can find new updates to the code if he posts them. Heaven forbid a new ff release break the current stuff. ;-)

  31. I don't understand! by rduke15 · · Score: 2, Insightful

    I had a look at the site. What is it that is new and/or interesting in this? I went to the "golden eggs" page, which is supposed to list the most interesting commands. What I see there falls into one of 2 categories:

    - a complicated way of executing a normal shell command (di ("Domain (WHOIS) Information using coolwhois.com") seems to do exactly the same as a modern whois, ipinfo-url looks like a a lame version of host, etc.),

    or

    - it does the same as adding a search engine to your Firefox search bar.

    Have I missed something?

  32. Re:HTML Get? I think not by interiot · · Score: 2, Insightful
    Oh you lame potty-mouth.

    Confusing HTTP and HTML is like confusing Samba and Microsoft Word, Kazaa and MP3, or BitTorrent and ISOs. Granted, they're slightly related, in that URL syntax is used by both, and HTML includes mechanisms for fairly directly affecting forms-POSTing and file-uploading, but other than that small overlap, they're clearly quite different.