Lisppaste, a paste bot in CL

For those of you who frequent #lisp (and many other channels on freenode), you should be well aware of 'lisppaste' - you'll find the sources for that program here. 'lisppaste' is a small CL program that listens for connection through HTTP (users pasting text) and prints a link to the paste on IRC. 'lisppaste' on #lisp is available through common-lisp.net here.

In other words, lisppaste is a pastebin / nopaste service, which provides a place for people to paste code with syntax highlighting, annotations, and more.

Lisppaste is the buzzword-enabled pastebot. Compared to the generic perl version, Lisppaste offers basic amenities like paste annotations (to group multiple pastes on a topic), a list of all pastes in the system, and persistent pastes between runs of the bot. But lisppaste offers more than basic pastebot functionality - it truly is buzzword-enabled, offering RSS and XML-RPC support, and direct linking to meme logs. In this sense Lisppaste has grown to be more of a community collaboration tool, as corny as that sounds.

Lisppaste 2 can be downloaded from here: lisppaste2.3.tar.gz. The latest version is 2.3, released June 17, 2004.

New in lisppaste 2.3 is a whole slew of improvements, including pagination for the paste list page, colorization for many languages, portability to other lisps (when run with CVS araneida) and support for pastes without a channel announcement.

New in lisppaste 2.2 is greater RSS flexibility, channel-specific URLs for new pastes and paste listing, much faster paste serialization, and XML-RPC support.

New in lisppaste 2.1 is support for RSS and linking to IRC log context at meme.b9.com.

The code in CVS (checkout instructions) mirrors what is currently running on freenode and should be fairly usable. You'll also need araneida and href="http://www.cliki.net/cl-irc">CL-IRC. If you do install it, read the README.lisp file which contains all the information you need to run a lisppaste on your own.

ViewCVS for the curious.

The current version of lisppaste in CVS called lisppaste2, after having undergone a fairly major rewrite. It uses the cl-irc library and features an ASDF system.

'lisppaste' is written and copyrighted by Brian Mastenbrook. The sources are covered by an MIT-type license.


Erik Enge
Brian Mastenbrook
Last modified: Thu Jun 17 09:15:17 2004 CDT