Bookworm - My first Craft plugin

Posted on September 21, 2014 in Code, The Web.

Screenshot of code from the plugin

This weekend I finished writing my first Craft plugin. During the move of my site from Wordpress to Craft, I needed to replace the plugin I was using to list my books from Goodreads.

The Craft documentation was an invaluable resource to me whilst building my plugin. It needed to be able to provide a settings panel, and to allow templates to call multiple lists of books.

For the time being the plugin allows you to call a list of books from your Goodreads profile, using parameters such as the limit, the shelf to pull from, and order of the list. It will then return the title, author, cover image, and much more for developers to use as they wish.

A screenshot of Bookworm's settings screen

In the future I would like to add caching of the results, and API integration to allow developers to pull more than 200 books per request.

Building the plugin took me no more than day, with just a few extra hours spent polishing it a little before pushing it up to Github.

I've made the plugin free to download, and listed it on the straightupcraft website.

If you'd like to more about the plugins development or usage instructions take a look at the Bookworm project page.

downloadfolder Download from Github