Emacs, Google this
github.com
github.com
It's configurable, but results can be displayed in eww, Emacs' built-in text-based web browser.
Is it time to update Zawinski's Law to "Every program attempts to expand until it can browse the web."
Not that Emacs isn't already one of the best (if not the number one) examples of "kitchen sink" programs...
Acme's plumber lets the user customize behavior on a piece of text based on its context or a program that takes it as an argument.
A previous discussion about Acme on HN: https://news.ycombinator.com/item?id=4533156
I explained more or less how to use the plumber and endpoints, and gave a sample shell script and a reddit browser written in python you could plug into acme
It doesn't seem to work for words selected in the terminal, though, like in vim, or a scrollback buffer in tmux or less (you can click-and-drag to highlight things, but I mean highlighting in the apps themselves, like `viw` in vim to select the word under the cursor). That would be very nice.
[0] http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Actions-...
If you use OS X, something is broken in browse-url (I think) which causes anchors to not get opened correctly (annoying), so I added this[0] snippet to allow it. Not robust at all, but you get the idea. The "open -a" gives window focus to Chrome, mimicking the built in behavior.
[0] https://gist.github.com/asummers/8b8dfabf0e25a86ce0c320b39ba...
I was thinking it would do a curl/wget on the url then show the results on emacs