aeharding / aeharding/voyager

Aggressive Cache (Offline Mode)

オープン
#2,104 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
1.8k
フォーク
174
PR マージ指標
PR 指標を取得中

説明

### Discussed in https://github.com/aeharding/voyager/discussions/1147

Originally posted by **maltfield** January 4, 2024
** Describe the feature request below **

Feature Request: Please add an option to Voyager to "Aggressively Cache" content (with secondary toggle on/off for caching images)

## Why?

I do a lot of traveling, and I often don't have Internet access. Every few days I may visit a grocery store or a cafe with WiFi, and just after I connect I'll kick-off some downloads on my phone for news, podcasts, email, etc.

Then these apps will download their content in the background (to a cache) while I shop. And after I leave the shop, I can re-visit these apps from my tent where I don't have internet access.

## Solution

Voyager should have an option to cache content in the background. The goal would be that, when enabled, I would just open the app and pull down from the top (or click "refresh") and then lock my phone's screen. But in the background, Voyager will be downloading the top 100 posts of every community that I'm subscribed-to, including the post's body and all of its comments.

Then, hours later when my phone doesn't have internet access, I should be able to browse through all of my communities and view the downloaded posts in Voyager.

I think the following settings would be important for this feature:

1. Cache content for offline use (y/n)?
2. Cache size (MB)
3. Cache images (y/n)?
4. Cache videos (y/n)?

For an example of how this is implemented in another app, see [RedReader](https://github.com/QuantumBadger/RedReader).

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。