Character counting plugin for Pidgin

Someone asked if there was a plugin for displaying the character count of the current message in a Pidgin chat window’s input widget, which would be useful when using Twitter via IM, to know if you’re going over the 140 character limit. I looked things over and came up with this simple plugin after about two hours of hacking … it places the current character count on the right-hand side of the GtkIMHtmlToolbar:

Screenshot of Pidgin 2.2.2 with the convcharcount plugin

I’m inclding the new plugin’s source as a diff/patch to the Pidgin source, and a pre-built DLL binary for Win32:

For those of you on Win32, just unzip the .zip file into your C:\Program Files\Pidgin\plugins directory. Then, go into your Buddy List window and select “Tools -> Plugins,” then click the checkbox next to “Conv. input chars count“.  That’s it!

Let me know what you think of the plugin. Thanks!

UPDATE: I’ve finally gotten around to spinning a Debian 4.0 etch .deb for i386. If you’re on Debian, give it a try.

UPDATE: I’ve also spun a Fedora 8 RPM for i386.

Tags: , , ,

Comments

  1. UG says:

    Good stuff Dossy, thanks. (Yeah, it’s /that/ UG from #efnet.)

  2. Cyde Weys says:

    Thanks so much, this is exactly what I was looking for for posting tweets through Identica’s Google Talk bot.

  3. David says:

    Very cool. Perfect for twitter and texting cell phones.

  4. shadowflash says:

    This is awesome! Works fine with no problems.
    But can you make another plugin that when typing a “/” command, change your regular text to text like this?

    αв¢∂єƒgнιנкℓмησρqяѕтυνωχуz

    (e.g. “/text blablabla” becomes вℓαвℓαвℓα to whoever you’re talking to)
    thanks

  5. Vinci says:

    I also use it and am quite happy with it. If you want to do more coding I would have some ideas:
    a) Warn the user, if there are more characters or maybe also less than 4 characters before send is accepted
    b) The web interface if identi.ca shortes the URLs which this can not do. Maybe this is place for a second plugin that might already exist?
    c) If I want to reply to a message there is yet no easy way to do this. If i copy and paste a user name it has an URL in it.

  6. Nathan says:

    Works like a charm. This is one of those things that you know you wanted, but didn’t expect. Thanks for making Pidgin more valuable!

  7. Vashti says:

    Working on Ubuntu karmic 9.10. Thanks!

  8. Thanks for your plugin! I am using with Pidgin on Vista 64 to send and recieve to/from identi.ca (Twitter alternative) using XMPP. For my eyes showing the count a bit larger would be nice.

    Again, thanks!

  9. Mercy says:

    Still a fantastic and useful plugin–one I can’t do without. Thanks!

  10. Eric Carter says:

    Winner!!!! Thank you! Tweet.im should officially sponsor you!

  11. Dan says:

    Greets from the future :) Just found this page after getting lots of “error sending status” messages from trying to post oversized messages to Twitter in Pidgin via microblog-purple plugin. Does the job wonderfully! thanks :)

Trackbacks

Speak Your Mind

*