Command Line for the Web 243
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'."
Interesting Concept, but needs moderation (Score:5, Insightful)
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/ [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.
Re:Interesting Concept, but needs moderation (Score:5, Interesting)
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: When it gets promoted to the basic set, then I can type: See? Easy.
Now I just have to figure out what someone would do with this tool.
Re:Interesting Concept, but needs moderation (Score:4, Funny)
Too bad it's 2005; dot-coms were built on less.
Re:Interesting Concept, but needs moderation (Score:5, Interesting)
There's no need for a formal "promotion" step. Commands could propogate the same was as del.icio.us [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 [del.icio.us] for their system if you aren't familiar already.
Re:Interesting Concept, but needs moderation (Score:3, Insightful)
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
Re:Interesting Concept, but needs moderation (Score:2)
And the nice thing about namespace separation is that the "mushroom" in the "food" namespace probably won't take you to a recipe for mushroom [wikipedia.org] tea. That would be in the "drug" namespace.
Re:Interesting Concept, but needs moderation (Score:3, Funny)
Re: (Score:2)
Re:Interesting Concept, but needs moderation (Score:2, Funny)
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/ [myvag.net]
oh yeah i forgot, this is
maybe that command does have some use *sigh*
Re:Interesting Concept, but needs moderation (Score:2)
Re:Interesting Concept, but needs moderation (Score:2)
Re:Interesting Concept, but needs moderation (Score:3, Informative)
Re:Interesting Concept, but needs moderation (Score:2)
Out of curiosity, I checked out the "slashdot" command. I then saw that it searched articles. Great, sort of what you could expect. It's "man page" says:
Search Slashdot for a given term.
But what happens when you actually use the command as e.g. "slashdot google"?
It only search Science topics, because the smart guy who made the command gave it this string:
http://slashdot.org/search.pl?tid=14&query=%s&aut h or=&sort=1&
Web apps and the command line (Score:5, Informative)
Re:Web apps and the command line (Score:2)
but then again, they're one and the same. i mean, it's just an input string for some turing-complete language. whether it's search or location or command line or...
Re:Web apps and the command line (Score:2)
Re:Web apps and the command line (Score:3, Insightful)
Command Line Interface (Score:2)
Re:Command Line Interface (Score:2)
Idiots!
Re:Command Line Interface (Score:2)
easier with firefox | opera (Score:5, Informative)
Re:It's not social (Score:3, Insightful)
Re:It's not social (Score:3, Informative)
iap moon? (Score:2)
I'm scared.
I call this "Firefox Quick Searches" (Score:3, Interesting)
Re:I call this "Firefox Quick Searches" (Score:3, Funny)
Re:I call this "Firefox Quick Searches" (Score:2)
Re:I call this "Firefox Quick Searches" (Score:2)
Just a matter of time (Score:2)
personally i would (Score:2, Funny)
i never p2p as root
ps, shove the okmmrfj up your ass taco
toolbar (Score:5, Insightful)
Much better if one could skip straight to the command part.
Speaking of Which (Score:4, Informative)
Re:toolbar (Score:4, Informative)
Re:toolbar (Score:3, Informative)
Add YubNub to your Firefox address bar by going to about:config and changing keyword.URL to http://yubnub.org/parser/parse?command= [yubnub.org]
Plugin/toolbar info here:
http://www.yubnub.org/documentation/describe_inst
Re:toolbar (Score:2)
Ya think people will Gopher it? (Score:3, Insightful)
AWESOME! (Score:5, Funny)
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.
Re:AWESOME! (Score:3, Funny)
Re:AWESOME! (Score:2)
Re:AWESOME! (Score:3, Insightful)
That does nothing. It appears you have IIS.
It is pitch black. You are likely to be eaten by a Grue.
Re:AWESOME! (Score:5, Funny)
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.
No, no, no (Score:2)
location field (Score:2)
Imagine the following, running as a cronjob:
"del.icio.us --check | gmail me@home.com 'Cool Lin
Re:location field (Score:2)
HTML Get? I think not (Score:2)
(Hyper Text Transport Protocol)
(Hyper Text Markup Language)
See the difference?
Re:HTML Get? I think not (Score:3, Insightful)
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.
Hackers paradise (Score:2)
Interesting Idea, but it's not going to work... (Score:2)
org.archive.search moon
To do the moon search in the example. This will solve the problem of people fighting over command names.
But it still isn't going to work because the number of possible commands is going to grow to such a point that no one will remember what command to use! When I use bash and tab complete on "x", I get 119 possible completions. With this command line, type "com." and you get thousands of possible completions. Maybe it will be sucess
More... (Score:4, Informative)
You can see some more of Jon's gadgets here [blogspot.com].
Expand it! (Score:5, Funny)
I'm starting my CLI-accessable blog right away. I'm gonna call it the "Finger".
Ain't progress grand?
Expand more (Score:2)
I will call it the "Middle Finger".
Pedantic (Score:2)
someone's gotta try THIS! (Score:2, Funny)
www.*> rm -rf
Re:someone's gotta try THIS! (Score:2)
assuming http is mounted as a writeable filesystem.
i had a sweater printed with this on it.. i don't like html much
REGEX search (Score:2)
XMLTerm (Score:3, Informative)
social (Score:2, Insightful)
Seems kinda fadish, but I'll bite (Score:5, Interesting)
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:
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
Re:Seems kinda fadish, but I'll bite (Score:4, Informative)
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.
Re:Seems kinda fadish, but I'll bite (Score:2)
Re:Seems kinda fadish, but I'll bite (Score:2)
As a sysadmin, you should know better. Back in the days we just used lynx ftpsearch.ntnu.no to search for files. Twas nice. Now the new generation despises the cli, then reinvetns the wheel by doing some bastardized mockup of a never-to-be cli which one uses thourhg browsers... hell of a day. I always welcome bright new ideas that enhance everyday people's computer and web experience. This, I find absolutely useless, a way of spreading
Re:Seems kinda fadish, but I'll bite (Score:2)
In quake 3 I would get shot dead, realize it was because of some lag problem, hit tilda and throw a command at it, hit tilda again, and get back to gaming like it never happened.
Thats what I use the console for, something up, I need to run a few commands, fix the problem, and get back to work.
And no, I'm not a big fan of this social keyword thingy either, it seems like a lame
Re:Seems kinda fadish, but I'll bite (Score:2)
François Revol coded up [haikunews.org] what he called "Google File System" (this was back in dec/2004) and hooked it into BeOS queries that return NetPositive bookmarks.
As for hitting the tilde key, that is also possible with Spicy Keys [bebits.com], which allows one to map any key combination to cli scripts, binaries, etc.
Just some of the neat things one can do with Haiku/BeOS these days.
Re:Seems kinda fadish, but I'll bite (Score:2, Informative)
Re:offtopic therefore AC (Score:2)
And the guy that said "weather 98715" totally got the idea. I'd probably just map weather %1 to "google weather" %1 as I like their weather service.
I'm still upset that I've searched sourceforge and never found anything similar I could even start to h
Re:Seems kinda fadish, but I'll bite (Score:2)
I've hacked together ctrl-alt-c to open CMD which is located at the top of the screen, then I close it with alt+space, c, but its not the same.
Anyone?
Re:Seems kinda fadish, but I'll bite (Score:2)
Re:Seems kinda fadish, but I'll bite (Score:3, Informative)
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
it's already being abused... (Score:4, Interesting)
Do this in your own browser instead... (Score:3, Informative)
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.
YubNub? (Score:4, Funny)
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.
YubNub - Ewok speak? (Score:2)
Re:YubNub - Ewok speak? (Score:2, Informative)
Exactly correct (Score:2)
we have all this, don't we? (Score:5, Insightful)
Filter (Score:2)
Does kinda make sense, I just saw a 'VC blog' with the question: 'is the bubble back'.
Dream on.
Buy tulips.
other then as a social experiment... (Score:2)
If you need me I'll be over at this sane website...
google.com
front end for web apps (Score:2)
It's nothing new. We've been running finger, whois, nslookup and so on from the CLI for ages; these are utilities that could
Konqueror has this (Score:4, Informative)
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!
Rails (Score:3, Informative)
Its not the pinnacle of complexity but its still amazing what you can do in just a day. Hats off the the programmer.
Similar site (Score:2)
Built into Firefox (Score:5, Interesting)
http://www.imdb.com/Find?select=All&for=batman%20
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.
Re:Built into Firefox (Score:2, Informative)
slashdot (Score:3, Funny)
This is gonna make my life a LOT easier (Score:2, Funny)
<BODY BGCOLOR="#000000" text="#FFFFFF">
<FONT face="sans-serif">C:\><BLINK>_</BLINK></FONT>
</BODY>
</HTML>
A shortcut for GETs? (Score:2)
Konqueror has done this for years (Score:5, Informative)
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.
ohhh (Score:2)
Just try the "recursive" command
Along these lines (Score:2)
Is this possible without full-on progamming?
Interface Design by Committee (Score:2)
I'll wait for the sequel.
Good idea! Only - too bad it's already functional (Score:2)
Take a look at operators: http://www.google.com/help/features.html [google.com]
Amazing advancement (Score:2)
"gg:String" and get the google search results on String.
Or:
"ggl:Blah" and go directly to the first match!
Or even add my own commands, all from my very own control center!
YubNub from the commandline with MSH (Score:2)
dang... (Score:2)
In Related News (Score:2, Funny)
[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..."
Been doing it for years (Score:3, Informative)
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).
Hack for Safari YubNub support (Score:2)
Close Safari. Open this file in a hex editor such as HexEdit, or open it in vi if you know how to use vi:
after creating backup of the file for just-in-case, replace the ASCII string:
http://.google.com/%25@?q=%25@&ie=UTF-8&oe=UTF-8 [google.com]
with this ASCII string:
http://yubnub.org/parser/parse?command=%25@ [yubnub.org]
For this hack I used this hint [macosxhints.com].
AntiSocial (Score:2)
XML-RPC (Score:2)
Why not simply build a command line tool that leverages what developers have already in place?
I don't understand! (Score:3, Insightful)
- 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 [rt.com], ipinfo-url looks like a a lame version of host [rt.com], etc.),
or
- it does the same as adding a search engine [mozdev.org] to your Firefox search bar.
Have I missed something?