openlibrary

One webpage for every book ever published!

Github星跟踪图

Open Library

Build Status Join the chat at https://gitter.im/theopenlibrary/Lobby

Open Library is an open, editable library catalog, building towards a web page for every book ever published.

Table of Contents

Overview

Open Library is an effort started in 2006 to create "one web page for every book ever published". It provides access to many public domain and out-of-print books, which can be read online.

Installation

The development environment can be set up using the Docker Instructions. You can also watch the video tutorial for a more detailed explanation.

Our Docker environment is in active development. Want to contribute? Here's our top-level Docker todo-list and a list of open Docker issues.

Developer's Guide

For instructions on administrating your Open Library instance, refer the Developer's Quickstart Guide.

You can also find more information regarding Developer Documentation for Open Library in the Open Library Wiki

Code Organization

  • openlibrary/core - core openlibrary functionality, imported and used by www
  • openlibrary/plugins - other models, controllers, and view helpers
  • openlibrary/views - views for rendering web pages
  • openlibrary/templates - all the templates used in the website
  • openlibrary/macros - macros are like templates, but can be called from wikitext

Architecture

The Backend

OpenLibrary is developed on top of the Infogami wiki system, which is itself built on top of the web.py Python web framework and the Infobase database framework.

Once you've read the overview of OpenLibrary Backend technologies, it's highly encouraged you read the developer primer which explains how to use Infogami (and its database, Infobase)

Running tests

Open Library tests can be run using pytest. Kindly look up on our Testing Document for more details

Run tests while the docker container is running

cd docker/
docker-compose exec web make test

Integration Tests

Integration tests use the Splinter webdriver with Google Chrome. For instructions on installation requirements and running integration tests, see Integration Tests README

License

All source code published here is available under the terms of the GNU Affero General Public License, version 3.

主要指标

概览
名称与所有者internetarchive/openlibrary
主编程语言Python
编程语言Makefile (语言数: 11)
平台
许可证GNU Affero General Public License v3.0
所有者活动
创建于2008-10-30 05:20:14
推送于2025-06-09 19:41:33
最后一次提交2025-06-09 19:40:22
发布数205
最新版本名称production (发布于 )
第一版名称pdregistry.ca (发布于 2009-03-10 14:41:51)
用户参与
星数5.7k
关注者数173
派生数1.6k
提交数20.3k
已启用问题?
问题数4632
打开的问题数781
拉请求数4993
打开的拉请求数107
关闭的拉请求数1106
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?