Per-user (not instance-wide) cookie upload and storage for authenticated crawling
Describe the feature you'd like
Karakeep should support user-supplied cookies for authenticated (server-side) crawling. This could be implemented via:
a) Server-side storage and use of per-user cookies (so, when scraping example.com on behalf of Alice, retrieve Alice's cookies from the database and use those cookies for the crawl) b) Client-side upload of per-site cookies (via a browser extension or, for mobile, in-app webview login and cookie capture)
Describe the benefits this would bring to existing Karakeep users
This would allow existing server-side capture flows to work correctly with authenticated sites, while avoiding the cross-user credential leak implicit in BROWSER_COOKIE_PATH.
Can the goal of this request already be achieved via other means?
If the ultimate goal is to capture paywalled (or GDPR-bannered) content, then this can also be solved by client-side capture, but client-side capture has the disadvantage of not really working for save paths that don't involve a browser--like in-app sharing on mobile ("share a link to the Karakeep app") or email/API-driven capture.
Have you searched for an existing open/closed issue?
- I have searched for existing issues and none cover my fundamental request
Additional context
I believe this is how Instapaper works today (via an in-app webview), which is quite nice.
Source: karakeep-app/karakeep