the evil hat (evilhat) wrote in lj_nifty,

Charm: full-featured command-line client

In light of some previously-expressed interest in a command-line client with templating and filtering capabilities, I thought I'd note the release of a new version of Charm (community: ljcharm).

Charm is a full-featured client for LiveJournal as well as blogging, with support for the Atom and MetaWebLog APIs (Blogger, Movable Type, Wordpress, et.al.). It supports multiple profiles, as well as cross-posting. It's entirely text-based, and supports both an interactive menu mode as well as a scripting-friendly command-line mode. It can run in the background, polling for friend updates. It can also be used to mass-archive your posts. It supports LiveJournal's full array of posting and editing options, and offers a friendly interface to friends management and the administrative console. Plus, it's highly configurable.

The latest release, 1.9.0 (Sourceforge download), gives you the ability to use pre-defined templates, as well as to apply filters to a post before sending it.

Charm can now apply one or more arbitrary filter programs to a post before it is sent to the server (and it can revert to a pre-filtered draft). This will be useful for those of you who routinely use simple markup-to-HTML filters like Markdown and Textile, or anyone who feels that one post needs to be Swedish Chef'd.

You can now define any number of templates for use with Charm. A template pre-populates the post meta-information (such as the picture, mood, community, security, etc.) as well as the post body. Templates look exactly like Charm archived posts, and so are very easy to write and modify. You can override any part of a template from the command line, or simply change it interactively. For example, you can use a template to define a standard format for your in-character posts to a roleplaying community.

Charm has been around since 2001, so it's got a stable open-source (GPL) codebase and a community of people who use it. It's also thoroughly documented, including man pages, a detailed sample configuration file, and a complete manual.

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments

docjeff

October 17 2008, 08:11:32 UTC 6 years ago

It can also be used to mass-archive your posts

Does this grab comments to posts as well? LJArchive claims to do this but fails at getting the comments (for me).

evilhat

October 17 2008, 17:52:05 UTC 6 years ago

It does not at the moment, but I've been considering implementing an interface to LJ's comments exporter.

ainabarad

October 17 2008, 13:55:50 UTC 6 years ago

It can also be used to mass-archive your posts.

Does this mean it can mass-tag entries as well?

evilhat

October 17 2008, 17:54:24 UTC 6 years ago

It could theoretically do this (along with other mass-alterations like changing security, etc.), but I have not implemented it. I've been hoping that LiveJournal would follow through on its promises to implement these things, so that I could simply write a client interface to it. Mass-edits are currently highly inefficient, and Livejournal seems to frown on them.