Commit Graph

11 Commits

Author SHA1 Message Date
Evan Buss
3d4af0bd61 refactor: cleanup
naming and other things
2024-07-13 19:37:57 +00:00
Evan Buss
349e86f0b1 feat: server-side feed credentials
If a feed requires credentials, OPDS Proxy can transparently
set them server side by reading the feed configuration.

This is useful in scenarios where the server operator sets up their
own authentication in front of OPDS Proxy and doesn't want to
have users remember separate credentials for each of the configured
feeds.
2024-07-13 18:24:10 +00:00
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
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
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
7c63b06e05 it mostly works 2024-07-04 23:52:14 -04:00
Evan Buss
9daf7bf8b9 init 2024-07-04 14:39:25 -04:00