emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dave Taht <d@teklibre.org>
To: emacs-orgmode@gnu.org
Subject: Introducing gnugol - an org-mode-output web search client
Date: Sun, 02 Jan 2011 15:28:00 -0800	[thread overview]
Message-ID: <4D210A00.9070901@teklibre.org> (raw)

I have been an avid user of org-mode for over 2 years now.

It has grown increasingly painful to exit emacs to use anything else!
Recently I found that making the jump to web-search-space was bothering
me...

So over the holiday I wrote a command line web search client with an
emacs interface and called it "gnugol". It uses the google json and bing
json APIs to search the web, and outputs the results in plain text, in
whatever format you're working in, notably, org, so you can navigate the
results in the mind-set you're in.

Gnugol is small, fast, simple, and growing more useful by the day. (I
wrote the doc (http://gnugol.taht.net) for it in org-mode, too)

It's not fully baked yet, but it's usable/reliable enough to have
plausible promise for other org-mode users, so I'm announcing it today,
here, in the hope I'll get comments, criticism, and patches.(especially,
patches! I'm not much of an elisp hacker, and a full on in-org interface
is thus far beyond me)

Installation instructions:

gnugol compiles on various linuxen (tested on debian/ubuntu x86, arm,
x86_64) and OSX

If you are using debian, you should be able to obtain almost all the
dependencies by doing a:

sudo apt-get install curl-dev

Regrettably, the json library jansson does not have a debian package yet
(at least on my distro), so you need to download and build it
separately. The git version has API changes that I haven't grokked yet,
so get version 1.3 from:

http://www.digip.org/jansson/

And go through the standard ./configure && make && make install # process

And for gnugol itself:

git clone git://github.com/dtaht/Gnugol.git
cd Gnugol
make; sudo make install

Copy the src/lisp/gnugol.el into your ~/.emacs.d directory and put a
(require 'gnugol) into your .emacs...

At the command line:

$ gnugol keywords to search for

In Emacs, esc-x gnugol<ret> phrase to look for

Example output:

# note, wrapped by my mail client, not gnugol
d@cruithne:~/src/gnugol$ gnugol org-mode search engine

** [[http://orgmode.org/worg/blorgit.php][Blorgit: Org-Mode based, git
amenable, blogging engine]]
   Blorgit is a blogging engine which uses Org-Mode for markup, runs on
the Search The search bar compares your search terms as a perl-style
regular
**
[[http://orgmode.org/worg/org-tutorials/advanced-searching.php][Advanced
searching - Org-Mode]]
   For querying a collection of org files, Org-mode includes a powerful
built
** [[http://orgmode.org/worg/org-contrib/org-mac-maillink.php][Org Link
-- create Org-mode hyperlinks to Entourage mail messages]]
   The default is "copy-org-link". Then enter the exact key combination
that
**
[[http://metajack.im/2009/01/01/journaling-with-emacs-orgmode/][Journaling
with Emacs OrgMode]]
   Jan 1, 2009 (interactive) (switch-to-buffer (find-file
org-journal-file)) (widen) (let (( today a real-time search engine for
the Web, and Chesspark,
** [[http://www.emacswiki.org/emacs/OrgMode][EmacsWiki: Org Mode]]
   Aug 9, 2010 Lisp:org-mairix.el integrates Org mode with mairix email
search. outline-magic. el Google's Code Hosting feature has a new wiki
engine.

... Submitted in the hope that this might be useful and interesting... enjoy

--
Dave Taht
http://nex-6.taht.net

             reply	other threads:[~2011-01-02 23:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-02 23:28 Dave Taht [this message]
2011-01-03  5:00 ` Introducing gnugol - an org-mode-output web search client Bart Bunting
2011-01-04 10:06   ` Achim Gratz
2011-01-04 10:21     ` Bart Bunting
2011-01-04  9:17 ` Bastien
2011-01-04  9:57   ` Manuel Hermenegildo
2011-01-04 19:11   ` Dave Taht
2011-01-05  2:05     ` Matt Lundin
2011-01-05  8:40     ` Achim Gratz
2011-01-06 17:06 ` Allen S. Rout
2011-01-06 18:19   ` brian powell
2011-01-06 20:11     ` Konrad Hinsen
2011-01-07 11:35       ` brian powell
2011-01-08 17:42     ` Dave Taht
2011-01-08 17:21   ` Dave Taht
2011-01-08 18:12     ` Dave Taht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D210A00.9070901@teklibre.org \
    --to=d@teklibre.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).