feat(library): book spec — open library

This commit is contained in:
afiqzudinhadi 2026-08-03 15:44:48 +08:00
parent abc3489d27
commit 1c90ae9abc
4 changed files with 571 additions and 0 deletions

33
tests/fixtures/canonical-book.md vendored Normal file
View file

@ -0,0 +1,33 @@
---
type: book_item
title: 1984
read_status: Read
rating: 5
rating_stars: ⭐️⭐️⭐️⭐️⭐️
authors: [George Orwell]
year: 1949
pages: 328
genre: [Dystopian fiction, Science fiction, Politics, Totalitarianism, Fiction, Classic literature, "Government, resistance to", Surveillance]
olid: OL1168083W
isbn: 9780451524935
poster: "https://covers.openlibrary.org/b/id/12919016-L.jpg"
url: "https://openlibrary.org/works/OL1168083W"
tags: [books, book]
---
# 1984
![poster|200](https://covers.openlibrary.org/b/id/12919016-L.jpg)
**Book** · 1949 · 328 p.
**Read Status:** Read
**Authors:** George Orwell
## Links
- [Open Library](https://openlibrary.org/works/OL1168083W)
- [Goodreads](https://www.goodreads.com/search?q=1984)
## My Notes

30
tests/fixtures/openlibrary-search.json vendored Normal file
View file

@ -0,0 +1,30 @@
{
"numFound": 1,
"start": 0,
"docs": [
{
"key": "/works/OL1168083W",
"title": "1984",
"author_name": ["George Orwell"],
"first_publish_year": 1949,
"number_of_pages_median": 328,
"subject": [
"Dystopian fiction",
"Science fiction",
"Politics",
"Totalitarianism",
"Fiction",
"Classic literature",
"Government, resistance to",
"Surveillance",
"Censorship",
"Propaganda",
"Big Brother (Fictitious character)",
"Thought control",
"Newspeak (Fictitious language)",
"Ministry of Truth (Fictitious organization)"
],
"cover_i": 12919016
}
]
}