File Type Mode Size
README.md file 644 1006
miniblerg file 755 1521
README.md

= miniblerg - a tiny hack of a perl script to post to Blërg.

Miniblerg is a half hour of hacking for a simple goal: log in to Blërg and post something from the command-line. I used Perl and the excellent LWP library. Like most half-hour hacks, it's not clean or pretty, but it gets the job done. :]

== Installation

miniblerg can be used from anywhere, but it requires Perl >5.10 and the JSON module.

== Configuration

Create a file called .miniblerg.rc in your home directory. It only needs one directive, username. It should look like this:

username = foo

Which, of course, is your Blërg username.

== Usage

  • miniblerg login
    • interactively log in to your account
  • miniblerg logout
    • log out of your account
  • miniblerg post
    • post to Blërg either through an interactive editor or by reading from stdin

== Files

miniblerg stores your login cookie in ~/.miniblerg.cookies. These cookies stick around between invocations (but are only user readable).

Clone: https://git.bytex64.net/miniblerg.git