chore(library): cleanup 9480066b
Steve · 2026-10-26 07:02 2 file(s) · +0 −332
apps/library/TODO.md (deleted) +0 −14
1 -
- [x] Update `db.go` to include the following:
2 -
  - [x] `ol_key`:  `docs[i].key`
3 -
  - [x] db migration
4 -
- [/] Refactor
5 -
  - [x] `db.go`
6 -
  - [x] `db_test.go`
7 -
  - [x] `google_books.go` - > `openlibrary.go`
8 -
    - [x] See if we can get what we need from the [fields](https://github.com/internetarchive/openlibrary/blob/b4afa14b0981ae1785c26c71908af99b879fa975/openlibrary/plugins/worksearch/schemes/works.py#L38-L91)
9 -
  - [x] `handlers_web.go`
10 -
  - [x] `templates/admin.html`
11 -
  - [x] `main.go`
12 -
  - [ ] `docker-compose.yml`
13 -
  - [x] `app.go`
14 -
  - [ ] `README.md`
apps/library/openlibrary-res.json (deleted) +0 −318
1 -
{
2 -
  "numFound": 355,
3 -
  "start": 0,
4 -
  "numFoundExact": true,
5 -
  "num_found": 355,
6 -
  "documentation_url": "https://openlibrary.org/dev/docs/api/search",
7 -
  "q": "gene wolfe",
8 -
  "offset": null,
9 -
  "docs": [
10 -
    {
11 -
      "author_name": [
12 -
        "Gene Wolfe"
13 -
      ],
14 -
      "isbn": [
15 -
        "9780671540661",
16 -
        "9780671828257",
17 -
        "8325001089",
18 -
        "2207256340",
19 -
        "9029043415",
20 -
        "9780671253257",
21 -
        "9788445070963",
22 -
        "0099263203",
23 -
        "9789029043410",
24 -
        "0575114150",
25 -
        "9782207256350",
26 -
        "0671828258",
27 -
        "9789731022208",
28 -
        "2207256359",
29 -
        "1857988868",
30 -
        "9786057762368",
31 -
        "9731022201",
32 -
        "9789505470563",
33 -
        "0671450700",
34 -
        "9782207303214",
35 -
        "0671540661",
36 -
        "9781857988864",
37 -
        "9788325001087",
38 -
        "9782207256343",
39 -
        "8445070967",
40 -
        "9505470568",
41 -
        "0671253255",
42 -
        "9780575114159",
43 -
        "9780099263203",
44 -
        "0671463985",
45 -
        "9780671450700",
46 -
        "6057762363",
47 -
        "9780671463984",
48 -
        "2207303217",
49 -
        "0099678802",
50 -
        "9780099678809"
51 -
      ],
52 -
      "key": "/works/OL14871979W",
53 -
      "title": "The Shadow of the Torturer"
54 -
    },
55 -
    {
56 -
      "author_name": [
57 -
        "Gene Wolfe"
58 -
      ],
59 -
      "isbn": [
60 -
        "9780099679202",
61 -
        "9782207303450",
62 -
        "9780671416164",
63 -
        "9788325001223",
64 -
        "0099274701",
65 -
        "0671413708",
66 -
        "0671474251",
67 -
        "0671416162",
68 -
        "9789731022239",
69 -
        "9780575114166",
70 -
        "9780283988028",
71 -
        "2207303454",
72 -
        "8445072137",
73 -
        "9788445071427",
74 -
        "8445071424",
75 -
        "9780671474256",
76 -
        "9781522689621",
77 -
        "9780671413705",
78 -
        "0283988029",
79 -
        "0575114169",
80 -
        "9731022236",
81 -
        "9788445072134",
82 -
        "0099679205",
83 -
        "8325001224",
84 -
        "1522689621",
85 -
        "9780099274704"
86 -
      ],
87 -
      "key": "/works/OL14871970W",
88 -
      "title": "The claw of the conciliator"
89 -
    },
90 -
    {
91 -
      "author_name": [
92 -
        "Gene Wolfe"
93 -
      ],
94 -
      "isbn": [
95 -
        "0671435957",
96 -
        "0575114177",
97 -
        "9780099295402",
98 -
        "0099295407",
99 -
        "9780671454500",
100 -
        "0671631934",
101 -
        "8445071432",
102 -
        "0283988606",
103 -
        "9780575114173",
104 -
        "2207303616",
105 -
        "9788445071434",
106 -
        "0671499459",
107 -
        "9780283988608",
108 -
        "9780671631932",
109 -
        "9780671499457",
110 -
        "9780671435950",
111 -
        "9782207303610",
112 -
        "0671454501"
113 -
      ],
114 -
      "key": "/works/OL14871972W",
115 -
      "title": "The Sword of the Lictor"
116 -
    },
117 -
    {
118 -
      "author_name": [
119 -
        "Gene Wolfe"
120 -
      ],
121 -
      "isbn": [
122 -
        "0575114185",
123 -
        "8842910104",
124 -
        "8324575081",
125 -
        "0283989432",
126 -
        "9788842910107",
127 -
        "2207303756",
128 -
        "9780283989438",
129 -
        "9782207303757",
130 -
        "8445071440",
131 -
        "9780575114180",
132 -
        "9788445071441",
133 -
        "2070429180",
134 -
        "9780671496661",
135 -
        "0671496662",
136 -
        "9782070429189",
137 -
        "0099320606",
138 -
        "0671452517",
139 -
        "9788324575084",
140 -
        "9780671452513",
141 -
        "9780099320609"
142 -
      ],
143 -
      "key": "/works/OL14871898W",
144 -
      "title": "The Citadel of the Autarch"
145 -
    },
146 -
    {
147 -
      "author_name": [
148 -
        "Gene Wolfe"
149 -
      ],
150 -
      "isbn": [
151 -
        "0312863942",
152 -
        "9780312863944",
153 -
        "9781429966344",
154 -
        "9788445071458",
155 -
        "9780575041165",
156 -
        "9780812558173",
157 -
        "9789721029644",
158 -
        "9721029645",
159 -
        "9780708882689",
160 -
        "9782207304884",
161 -
        "2207304884",
162 -
        "031293033X",
163 -
        "9780312930332",
164 -
        "9782207304891",
165 -
        "0708882684",
166 -
        "1429966343",
167 -
        "2207304892",
168 -
        "8445071459",
169 -
        "0812558170",
170 -
        "0575041161"
171 -
      ],
172 -
      "key": "/works/OL14871974W",
173 -
      "title": "The Urth of the new sun"
174 -
    },
175 -
    {
176 -
      "author_name": [
177 -
        "Gene Wolfe"
178 -
      ],
179 -
      "isbn": [
180 -
        "9781568658070",
181 -
        "2354089163",
182 -
        "1568658079",
183 -
        "9782354089160"
184 -
      ],
185 -
      "key": "/works/OL14871946W",
186 -
      "title": "Book of the New Sun"
187 -
    },
188 -
    {
189 -
      "author_name": [
190 -
        "Gene Wolfe"
191 -
      ],
192 -
      "isbn": [
193 -
        "9782253119272",
194 -
        "0099300303",
195 -
        "225311927X",
196 -
        "2354089244",
197 -
        "1250861004",
198 -
        "9781250840103",
199 -
        "9780575094222",
200 -
        "0812516249",
201 -
        "9780684128306",
202 -
        "9780312890209",
203 -
        "9780099300304",
204 -
        "3453045149",
205 -
        "9788445072479",
206 -
        "8445072471",
207 -
        "0575015977",
208 -
        "9781250861009",
209 -
        "9783453045149",
210 -
        "3910914063",
211 -
        "1250840104",
212 -
        "9783910914063",
213 -
        "9782221105849",
214 -
        "2221105842",
215 -
        "9780441235018",
216 -
        "3453303059",
217 -
        "0312890206",
218 -
        "0575094222",
219 -
        "0441235018",
220 -
        "1857988175",
221 -
        "0575114142",
222 -
        "9780812516241",
223 -
        "9780704311763",
224 -
        "0704311763",
225 -
        "9782354089245",
226 -
        "0684128306",
227 -
        "9780575114142",
228 -
        "9781857988178",
229 -
        "9783453303058",
230 -
        "9781466801134",
231 -
        "9780575015975",
232 -
        "1466801131"
233 -
      ],
234 -
      "key": "/works/OL14871904W",
235 -
      "title": "The Fifth Head Of Cerberus"
236 -
    },
237 -
    {
238 -
      "author_name": [
239 -
        "Gene Wolfe"
240 -
      ],
241 -
      "isbn": [
242 -
        "9780283987380",
243 -
        "1429966270",
244 -
        "9781857989779",
245 -
        "1250827043",
246 -
        "1407234684",
247 -
        "1857989775",
248 -
        "9781429966276",
249 -
        "9780283990298",
250 -
        "9780283988028",
251 -
        "1250781256",
252 -
        "0283990295",
253 -
        "0312890176",
254 -
        "0283987383",
255 -
        "9781407234687",
256 -
        "0283988029",
257 -
        "9780312890179",
258 -
        "9780575116733",
259 -
        "0575116730",
260 -
        "9781250781253",
261 -
        "9781250827043"
262 -
      ],
263 -
      "key": "/works/OL14871933W",
264 -
      "title": "Shadow & Claw"
265 -
    },
266 -
    {
267 -
      "author_name": [
268 -
        "Gene Wolfe"
269 -
      ],
270 -
      "isbn": [
271 -
        "9781429966313",
272 -
        "1429966319",
273 -
        "9780312890186",
274 -
        "1857987004",
275 -
        "3910914640",
276 -
        "1250781248",
277 -
        "1250827035",
278 -
        "9781250781246",
279 -
        "0312890186",
280 -
        "0312890184",
281 -
        "9781250827036",
282 -
        "9783910914643",
283 -
        "9781473212008",
284 -
        "1473212006",
285 -
        "9781857987003"
286 -
      ],
287 -
      "key": "/works/OL14871968W",
288 -
      "title": "Sword & citadel"
289 -
    },
290 -
    {
291 -
      "author_name": [
292 -
        "Gene Wolfe"
293 -
      ],
294 -
      "isbn": [
295 -
        "9780812558166",
296 -
        "2207304604",
297 -
        "9788385432777",
298 -
        "8385432779",
299 -
        "9781565440166",
300 -
        "9781466828513",
301 -
        "9780708882252",
302 -
        "1565440161",
303 -
        "0312937342",
304 -
        "9780812558159",
305 -
        "9780312937348",
306 -
        "0812558162",
307 -
        "0708882250",
308 -
        "146682851X",
309 -
        "9780575039285",
310 -
        "0812558154",
311 -
        "9782207304600",
312 -
        "0575039280"
313 -
      ],
314 -
      "key": "/works/OL14871980W",
315 -
      "title": "Soldier of the Mist"
316 -
    }
317 -
  ]
318 -
}