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-04-21 19:32:10
最后一次提交2025-04-21 12:24:42
發布數197
最新版本名稱production (發布於 )
第一版名稱pdregistry.ca (發布於 2009-03-10 14:41:51)
用户参与
星數5.6k
關注者數174
派生數1.5k
提交數20k
已啟用問題?
問題數4565
打開的問題數779
拉請求數4867
打開的拉請求數144
關閉的拉請求數1059
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?