Click here to skip to this page's main content.

New Feature: You can now embed Open Library books on your website!   Learn More
Last edited by Mek
November 29, 2015 | History

Developer Center


Hello! There are lots of ways you can work with the Open Library system, and the ol-tech mailing list is a great place to ask questions.

Developer Notes & Blogs
- Current documentation pages
- Main older documentation page & API Documentation
- Ruby interface for the API, written by Jay Fajardo - Using covers
- Set up a development instance of Open Library
- Committing changes to github.com/openlibrary/openlibrary
- Writing a Bot for Open Library
- Using the Internet Archive BookReader
- Archive.org book URLs
- In-Library lending tech notes
- Github Issue Tracker, old issue tracker on launchpad
- Blogs by current and former devs: Gio, Raj, Anand

Data

Infogami

Open Library is powered by Infogami, a clean, simple wiki application framework built on web.py. Unlike other wikis, Infogami has the flexibility to handle different classes of data, including structured data. That makes it the perfect platform for Open Library.

Basically, Infogami facilitates the creation of dynamic HTML templates and macros. This flexible environment enables users to create, share and build collaborative interfaces. We'd love to see more of these spring up around Open Library!

Applications are written by extending Infogami through two layers: plugins and templates. Plugins are Python modules that get loaded into Infogami through a special API. (See an overview of Infogami plugins.) They are invoked by submitting HTTP requests to the application, either HTML form posts or direct GET requests. Plugins can use any library or application code that they wish, and they create Python objects to represent results, that then get expanded to HTML by templates. Templates are a mixture of HTML text and user-written code, in the spirit of PHP templates. The user-written code is in a special-purpose scripting language that is approximately a Python subset, which runs in a hopefully-secure server-side interpreter embedded in the Python app that has limited access to system functions and resources.

Open Library also uses a text-to-HTML formatting language Markdown, created by John Gruber. We also use the handy WMD Markdown WYSIWYG editor.

History

September 29, 2018 Edited by Mek updated wiki url
June 26, 2018 Edited by Mek Edited without comment.
August 7, 2017 Edited by JeffKaplan Edited without comment.
November 29, 2015 Edited by Jessamyn West moved infogami stuff to infogami page
October 21, 2009 Created by George New page.