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'."

25 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 Jerf · · Score: 3, Funny

      Duh... it orders pepperjack to the batcave!

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

    3. 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
  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."

  3. 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
  4. 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 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.
    2. 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?
  5. 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.

  6. 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. ;)

  7. Speaking of Which by MankyD · · Score: 3, Informative
    --
    -dave
    http://millionnumbers.com/ - own the number of your dreams
  8. 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
  9. 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.

  10. 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.

  11. 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.
  12. 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.

  13. 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?

  14. 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

  15. 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.
  16. 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.
  17. 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!!

  18. 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