Maxime Pelletier home

Stats plugin for laconica

I installed laconica on my localhost the day it was opened to the public, but I never wrote any code for it for many reasons (but I won’t go into this). When I saw that the latest laconica had support for plugins and hooks to help create them, I started to look at how to do something cool for my laconica server at symphoni.ca. I came across denticator and had the idea to do a (very) simple plugin to show some stats for my instance.

You can get the code at http://symphoni.ca/plugin/StatsPlugin.txt. It basically adds a “stats” tab to the public navigation menu and then uses the google chart api and a sql query to display the global stats for each day of the week. I hope it can help to ceate (better) plugins for laconica.