You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Federated search! You can link up ubiblio instances, and search each other's books (but not edit them).
3
+
2. An advanced search page. For now, it just handles federated searches.
4
+
3. Google Books API returns HTTP 429 errors when no API key is specified. The library used by ubiblio could not correctly set Google Books API keys. So I wrote functions to access (Google Books, OpenLibrary, Wikipedia) so ubiblio no longer relies on external libraries for this.
5
+
4. Google books will be skipped on ISBN auto-add unless you specify a Google books API key (free) by setting the environment variable GB_API="YOUR-API-KEY". I'll re-enable it without API key if it starts working again.
2
6
3
-
1. Database backup can now handle files, and the backu/restore UI lets you manage that.
7
+
8
+
# Notes
9
+
10
+
The application can be used just fine from the Kindle Paperwhite (and probably most other ebook readers with web browsers), because it is very simple. I find navigating / searching my ebooks gets impractically slow on-device. Ubiblio is much faster, and additionally lets me store all my ebooks elsewhere. No need to ever worry about device storage again! Incidentally, for better display on ebook displays, I've made some text in bold (ebook file management).
11
+
12
+
# New Features in last Version:
13
+
14
+
1. Database backup can now handle files, and the backup/restore UI lets you manage that.
4
15
2. If ISBN auto-adder failes to find a book, try other sources. This can take a little longer, but makes adding books faster overall.
5
16
3. Clean up book details template -- infrequently used (admin) actions are in an accordion element. Remove that useless 'Back' button.
6
17
4. Categorize action buttons on book details page
@@ -10,28 +21,9 @@
10
21
8. Admin actions should be hidden on all pages for non-admin users (let me know if I've missed one)
11
22
9. Added a cursed branch, for deploying on RISCV64. Still no easter eggs, though.
12
23
13
-
# Notes
14
-
15
-
The application can be used just fine from the Kindle Paperwhite (and probably most other ebook readers with web browsers), because it is very simple. I find navigating / searching my ebooks gets impractically slow on-device. Ubiblio is much faster, and additionally lets me store all my ebooks elsewhere. No need to ever worry about device storage again! Incidentally, for better display on ebook displays, I've made some text in bold (ebook file management).
16
-
17
-
# New Features in last Version:
18
-
19
-
1. Database import / export / restore from a GUI (using the backup script still works though).
20
-
2. Database versioning and automatic upgrade (it will back up first).
21
-
3. A library config menu for admins, where you can manage backups and other things.
22
-
4. You can now judge books by their cover! Image support for up to 16 images per book (enable in config menu -- or if you don't want it, leave it disabled)
23
-
5. A luxurious two custom fields you can enable and name at your leisure (from the config menu -- just give them a name to enable)
24
-
6. A view for withdrawn books that makes more sense -- you can see who withdrew a book.
25
-
7. You can export your book list as CSV in the backup management interface. For example if you just want to use ubiblio for data entry.
26
-
8. If you import a book list from ubiblio, is will ADD the books to the database instead of replacing the current database. For example, this lets you merge different libraries.
27
-
9. New books no longer default to science fiction! Slightly inconvenient for time travelers, better for the rest of you.
28
-
10. Various minor UI improvements.
29
-
11. Still zero easter eggs!
30
-
31
24
# Notes:
32
25
33
-
1. Be advised that any files you add (book images, backups) are not included in the database backup presently. These are stored in /static/bookImages and /export respectively. In the next major release, files will be backed up and compressed too. For now, you must manually back up these folders.
34
26
35
-
2. Database upgrade is a little sketchy in this first major update. I haven't been able to break it in testing though. Note that ubiblio will back up your database before attempting to upgrade -- if you encounter a bug with the upgrade process, please reach out.
27
+
1. Database upgrade is a little sketchy. I haven't been able to break it in testing though. Note that ubiblio will back up your database before attempting to upgrade -- if you encounter a bug with the upgrade process, please reach out.
Copy file name to clipboardExpand all lines: SETUP.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,8 @@ There are a number of environment variables you can set to slightly change the b
62
62
| USER_PASSWORD | Password to create | No | - |
63
63
| USE_REDIS | Use Redis for DDOS protection? | No | False |
64
64
| REDIS_URI | External Redis URI | No | - |
65
-
| LANGUAGE | Set the language | No | -|
65
+
| LANGUAGE | Set the language | No | - |
66
+
| GB_API | Google Books API key | No | - |
66
67
67
68
For example, to set up an admin user at first launch, you'll need to run a command like below (replacing username and password as you see fit):
68
69
```bash
@@ -72,6 +73,19 @@ Then visit /user-setup and the account will be created. It will return you to lo
72
73
73
74
To set the language to French, launch with LANGUAGE=FR
74
75
76
+
### Notes on Google Books API Keys
77
+
78
+
Google Books used to work without API keys. Presently, it does not (reach out if this changes!). To get a free API key for this service, follow the instructions here:
It's reasonable (but not required) that you restrict the API key to Google Books only. Note that you should keep the API key secret even though the docs at Google say you don't have to -- looks to me like they've had some issues with this recently.
82
+
83
+
If you don't specify a Google Books API key, ubiblio will simply skip using this service (it's a good data source though!).
There are two supported ways to launch ubiblio -- uvicorn and gunicorn. Both are ridiculously overpowered for such a simple application, but asking why we need such power is a question for philosophers and cowards.
0 commit comments