Commit Graph

23 Commits

Author SHA1 Message Date
Evan Buss
28d3a7d761 feat: secure cookie keys config
If keys aren't specified they will be generated. The downside
of this is that the keys will change every server restart
which will invalidate previously generated cookies.

If the keys are specified in the config.yml, they are
used between restarts and all previously generated
cookies remain valid.
2024-07-13 18:01:19 +00:00
Evan Buss
9094e780d0 feat: search 2024-07-13 17:16:38 +00:00
Evan Buss
4f3948943a feat: cookie authentication
use encrypted cookies to authenticate
basic auth feeds. most eReader browsers
don't support basic auth
2024-07-13 01:55:48 +00:00
Evan Buss
f4408abeae refactor: dry conversion code 2024-07-12 19:36:08 +00:00
Evan Buss
b683d0c9b6 feat: set up configuration
A YAML file is used to set the available feeds.
The CLI args can set the port and the path to the YAML file.
2024-07-12 15:10:48 +00:00
Evan Buss
1f2183f141 feat: mobi conversion
Will automatically convert .epub to .mobi on Kindle
2024-07-11 19:47:55 +00:00
Evan Buss
c00f6a9750 chore: rename project
No longer "Kobo" specific
2024-07-10 01:27:49 +00:00
Evan Buss
80d370d71c docs: add readme 2024-07-10 01:17:51 +00:00
Evan Buss
cbaf2e166f feat: devcontainer 2024-07-10 01:17:38 +00:00
Evan Buss
46a01ed3dc ci: docker image 2024-07-08 23:54:00 -04:00
Evan Buss
7170d35962 style: full width links
Wrap all content in the anchor tag rather than just the title so
the user can click anywhere on the item to navigate / download
2024-07-08 23:38:33 -04:00
Evan Buss
1099f67641 style: tweakss 2024-07-08 23:17:14 -04:00
Evan Buss
2e21c6c2d5 build: strip debugging symbols from docker image 2024-07-08 22:56:13 -04:00
Evan Buss
85c497f70c feat: kepub conversions
Working *.epub to *.kepub.epub file conversions when
using a Kobo reader. Updated docker file to include
`kepubify` to convert to kepub. If not available the
file is just sent without conversion.
2024-07-08 22:20:25 -04:00
Evan Buss
7e066fafee refactor 2024-07-06 17:59:54 -04:00
Evan Buss
c63b20551f refactor: home page / url passing
We now allow multiple OPDS feeds to be pre-defined and displayed
on the homepage. As a result we need to pass the feed navigation
URLs via query parameter rather than a subpath which would only
support proxying to a single OPDS feed.

The feed is passed via the q= query parameter and any relative
links from the OPDS XML are resolved to a complete URL with
domain / scheme.

We also check the "Content-Type" header in the response
received from the OPDS feed to determine whether to parse
an OPDS catalog or just proxy the raw response back (images / files).
2024-07-06 16:06:08 -04:00
Evan Buss
8e42b71dc7 style: fixed top navigation bar 2024-07-06 14:52:20 -04:00
Evan Buss
a39936fbaa feat: dockerfile 2024-07-06 13:12:54 -04:00
Evan Buss
4ba16c728d style: more "kobo-native" appearance 2024-07-06 13:12:43 -04:00
Evan Buss
5b68923ba9 refactor: simplify template by using a view model
Convert the raw OPDS format to a view model that
is easier to work with. Biggest change is that
we construct a single "Link" from an entry with
an array of Links with different "TypeLinks" and "Rel"
attributes.
2024-07-05 00:57:50 -04:00
Evan Buss
7c63b06e05 it mostly works 2024-07-04 23:52:14 -04:00
Evan Buss
9daf7bf8b9 init 2024-07-04 14:39:25 -04:00
Evan Buss
5276d9fc1e Initial commit 2024-07-04 14:36:27 -04:00