Load the isbndb dump from Pirate Library Mirror into SQLite.
-
download the jsonl dump (torrent via tor)
-
decompress it
the file is ~19G
ls -lah isbndb_2022_09.jsonl
Load the isbndb dump from Pirate Library Mirror into SQLite.
download the jsonl dump (torrent via tor)
decompress it
the file is ~19G
ls -lah isbndb_2022_09.jsonl
body { | |
max-width: 48em; | |
margin: auto; | |
line-height: 1.5; | |
padding: 0.8em; | |
word-wrap: break-word; | |
display: flex; | |
flex-direction: column; | |
background: #f5f5f7; | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
// ==UserScript== | |
// @name Archive.org IIIF Viewer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Adds IIIF viewer functionality to archive.org pages | |
// @author Raffaele Messuti | |
// @match https://archive.org/details/* | |
// @exclude https://archive.org/details/@* | |
// @grant none | |
// ==/UserScript== |
{ | |
"autore": "Ballard, J. G.", | |
"baseprov": "I", | |
"data_agg": "20241014", | |
"dataa": 1997, | |
"datada": 1997, | |
"dataf": [ | |
"1997" | |
], | |
"dig_cover": [ |
services: | |
postgres: | |
image: postgres:16 | |
volumes: | |
- ./data/postgres:/var/lib/postgresql/data | |
environment: | |
POSTGRES_DB: 'manifold_production' | |
POSTGRES_HOST_AUTH_METHOD: 'trust' | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.22 |
sqlpkg install sqlite/fileio
sqlpkg install jakethaw/xmltojson
➜ file 89595bd2-8076-4da0-8880-518c291e7904 | |
89595bd2-8076-4da0-8880-518c291e7904: EPUB document | |
➜ tika -m -j 89595bd2-8076-4da0-8880-518c291e7904 | |
Exception in thread "main" org.apache.tika.exception.TikaException: TIKA-237: Illegal SAXException from org.apache.tika.parser.epub.EpubParser@3a320ade | |
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:310) | |
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:298) | |
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:203) | |
at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:1071) | |
at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:493) |
sqlite> .schema itemAnnotations | |
CREATE TABLE IF NOT EXISTS "itemAnnotations" ( | |
itemID INTEGER PRIMARY KEY, | |
parentItemID INT NOT NULL, | |
type INTEGER NOT NULL, | |
authorName TEXT, | |
text TEXT, | |
comment TEXT, | |
color TEXT, | |
pageLabel TEXT, |
version: "3" | |
node-exporter: | |
image: prom/node-exporter | |
volumes: | |
- /proc:/host/proc:ro | |
- /sys:/host/sys:ro | |
- /:/rootfs:ro | |
command: | |
- "--path.procfs=/host/proc" |