Maisha 0.13 Released

Posted on Thursday, 20th August 2009

I'm pleased to announced that I have finally found some time to package up the fixes and changes made over the past few months. The full list of changes are:

  • fixed requests with limits larger than 20.
  • suppressing 'command ok' messages.
  • refactored common code in to new functions
  • added user completion functionality.

There are still a few fixes and enhancements planned, which I hope to get to within the next month or so.

File Under: release
NO COMMENTS


The Apocalypse Is Nigh

Posted on Tuesday, 9th June 2009

In case you've read this article by Michael Manoochehri and wondered what will happen to all your twitter apps. Rest assured that Maisha should not be affected. At least not by it's own code. If Twitter itself falls over in a heap then we're all doomed. However, I doubt that will happen ;)

Maisha doesn't store anything regarding the tweets themselves and simply requests a result set from the Twitter API. It doesn't care whether a tweet has an id, it just displays the tweet in the order it was passed back. 

It should be interesting to see what, if anything breaks next week, the expected date of the twitpocalypse is 15th June 2009, though I suspect that most apps will carry on as if nothing had happened. I think people will more interested in who gets to post the 2,147,483,649th tweet :)

File Under: twitter
NO COMMENTS


An Introduction To Maisha

Posted on Friday, 27th February 2009

On Wednesday 25th February, the Birmingham Perl Mongers held their monthly technical meeting. As it seem like a good opportunity to get some feedback, I presented a short talk explaining some of the background and mechanics of Maisha. You can have a look at the slides for An Introduction To Maisha on the Birmingham.pm website.

The talk was a forerunner to another talk I'm planning, in which I plan to explain how to write applications using a plugin architecture. Maisha is a perfect and fairly simple example of that without getting too complicated. More news on that to come.

File Under: talks
NO COMMENTS


Maisha 0.12 Released

Posted on Friday, 27th February 2009

The latest version of Maisha has been uploaded to Github and posted to the CPAN. My thanks to Robert Rothenberg, who has supplied a couple of patches, as well as plenty of feature ideas that I'll be looking at over the next few weeks.

The biggest changes in this release are mostly to provide the user with even more configuration options.

You can now elected to use or not use the system pager (if one is availlable) to display the list of messages. If you have a small terminal window, this can be useful to avoid messages scrolling too quickly off the top of the screen. The default now is to use the pager, but can be set to 0 in your configuration file to disable it.

If you change primary service occasionally, there is now a completion option to save you typing. Following the 'use' command you can now hit the key to try and complete the command line. This ability is being planned for username completion with various commands too, which will be available in a future release.

Within the configuration you can now decide how you would like to format the message lines that you see. You can now include the username, message, timestamp and service on each line. More refinement of the timestamp is also planned for a future version.

Lastly while most will likely use Maisha in a standard 80-column terminal window, there is no reason why it couldn't be wider (or smaller). Fixing the column width for wrapping at 80 columns might then be a bit too restrictive. So now you can also specifiy a column width to wrap at. The default will still be 80 columns.

As hinted above, more features are planned, so expect some more releases in the coming weeks. Thanks to all the feedback, it's been very much appreciated.

File Under: release
NO COMMENTS


Welcome To Maisha

Posted on Wednesday, 18th February 2009

After the last few weeks of trying to access Twitter from the command line, I set about writing something that I could expand to micro-blog to any social networking site that supports many of the Twitter API type commands. At the moment it only works with Twitter and Identi.ca, but my plan is to look at creating plugins, or more likely to allow others to create plugins, that can enable the tool to interact with other micro-blogging sites.

After trying to think of a decent name, I finally settled on Maisha. It's a Swahili word meaning "life". You can grab the code from CPAN as App-Maisha.

Currently you'll need to use the standard Perl install toolset to install the application, but ultimately I'd like to have something that you can install just about anywhere without having to go through all the headache of installing dependencies. I'll have a go at doing an .rpm and a .deb package release, and will also try using PAR. It would be nice to have this as a standalone application that just about anyone can use, but for now CPAN will have to do.

My next immediate step is to look at writing something that interfaces to Facebook without requiring a developer key or any such nonsense. It will probably have to involve a bit of screen scraping, unless there is some more official API, but as yet I haven't found it. Everything regards Facebook applications seems to centre around the developer application that can do all sorts of dubious things, but mine is purely for the user to control from their desktop, not a 3rd party website/server. Thus giving them a developer API key assigned to me is wholly inappropriate. It would be nice if they had a restricted User API, which allows you to update your status and look at your friends' statuses, but I think I'll be in the minority wanting it.

File Under: release
NO COMMENTS