|Project Name||Stars||Downloads||Repos Using This||Packages Using This||Most Recent Commit||Total Releases||Latest Release||Open Issues||License||Language|
|Algorithm Archive||2,159||2 months ago||95||mit||Python|
|A collaborative book on algorithms|
|Jekyll Archives||395||1,443||25||6 months ago||7||March 23, 2019||39||mit||Ruby|
|:books: Archive pages for your Jekyll tags and categories.|
|Rpub||107||3||2 years ago||6||November 21, 2014||5||mit||Ruby|
|an ePub generation library in Ruby|
|Dart Up And Running Book||104||6 years ago||other||Dart|
|ARCHIVE - The DocBook (XML) and code that make up the O'Reilly book Dart: Up and Running|
|Qcomicbook||64||5 years ago||29||gpl-2.0||C++|
|Viewer for comic book archives that aims at convenience and simplicity|
|All Human Knowledge||53||7 months ago||gpl-3.0||Python|
|Like all persons of the Library, I have traveled in my youth; I have wandered in search of a book, perhaps the catalogue of catalogues...|
|Book Aligner||31||2 months ago||20||mit||CoffeeScript|
|Automatic alignment of books between HathiTrust, Internet Archive, Google Books, etc.|
|A book uploader bot that transfers documents from public libraries such as Google Books, and Panjab Digital Library etc to Internet Archive. Built for Wikimedia Tool Labs.|
|Archiviiify||24||2 months ago||mit||Go|
|Download digitized books from Internet Archive and view with IIIF, locally and offline.|
|Searches||23||7 years ago||Python|
|A book containing your Google search entries|
Generate an OpenLayers-based zoomable image of all the pages of an Internet Archive book, layed out as a grid.
This is a pair of bash scripts that download the JPEG2000 files from a given Internet Archive scanned book, generate a single large image containing all the pages in a grid, and produce an HTML file that gives an OpenLayers-based zoomable view of the whole book. See an example here: http://www.wallandbinkley.com/bookmap/storyofdoghisuse00ceci/openlayers.html
These packages must be available on the path:
To generate a view for a given IA item "abxxxx", there are two steps
Process.sh will generate a uniform JPEG image of each page, using the most common dimensions found among the JPEG2000s. Pages that do not have these dimensions will be cropped or padded to fit. It will then use ImageMagick's montage to stitch the page images into a single image. This can take a very long time (three hours for a 244-page book on a MacBook Pro), and will initially tie up the CPU to a great extent; after a few minutes it will relax its grip and make the machine more responsive. Finally, process.sh will run GDAL to generate the tiles and the html file. They will be created in a directory named with the Internet Archive ID.
The example took about three hours to process, and the generated tiles allowed nine levels of zoom and came to 2.2gb. For the example linked above, I have removed the lowest two levels, leaving 200mb of tiles, in order to save server space.
The process of building the large uniform JPEG can use a lot of temporary disk space. Set a TMPDIR environment variable to point to somewhere that has room if you need to (see the ImageMagick FAQ)
I have developed this under OS/X but the tools should all run on Linux, and perhaps on Windows.
Note: I installed jq and gdal with Homebrew. I had trouble with gdal because of conflicts with an earlier attempt to install it from source. I also had trouble adding JPEG2000 support to ImageMagick from Homebrew, and ended up installing this package instead: http://cactuslab.com/imagemagick/
Written with StackEdit.