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: , , ,


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

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

  3. 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?


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

  5. 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 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. 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. 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 (Twitter alternative) using XMPP. For my eyes showing the count a bit larger would be nice.

    Again, thanks!

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

  10. Winner!!!! Thank you! should officially sponsor you!

  11. 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 :)

  12. kazutaka says

    Hi. It’s very useful plugin, but now downloadable links are dead. I can’t find .zip or .deb(I’m going to using on Ubuntu) file of this plugin. Can u upload this plugin somewhere and update links please.
    Thx :)

  13. What on earth am I supposed to do with a text file? I’m not a programmer, but apparently everyone else on here seems to be.


  1. […] It’s kind of a no brainer to guess what it does. It counts the characters contained within the input area of Pidgin and shows the count on the right side of the bar where the emoticons, formatting and the like are located. Get it here […]

  2. […] hol tartasz. Probléma, mondom, pedig csak ex-probléma, íme, csak egy Google keresés kellett: a Convcharcount plugin (bigup Dossy Shiobara) semmi mást nem csinál, mint hogy a Formatting toolbar jobb […]

  3. says:

    Nachtrag für gekürzte Feeds und Pidgin…

    Ich habe hier noch zwei kurze Ergänzungen zu Themen der letzten Wochen. Einmal geht es um den Umgang mit gekürzten Feeds und ich habe noch einen hilfreichen Plugin für Pidgin für euch. Nachdem ich kurz aufgezeigt hatte, wie ich das Problem gekürzter Fe…

  4. […] mal wieder was neues von mir: ich habe das Plugin “Character Counting” von Dossy übernommen, nachdem Siggi mehrfach förmlich gebettelt hat, dass ich einen Fehler mit […]

Speak Your Mind