AndrewUsher / AndrewUsher/andrewusher.dev
Add bookmark and read later
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 0
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 59
説明
People open a few posts at once and never come back. Let's give them a way to save stuff.
How I think it should work:
- bookmark button on each post card and on src/pages/blog/[slug].astro near the title (similar placement as RecentlyViewedPosts)
- store bookmarks in localStorage, same pattern as src/hooks/useRecentlyViewed.ts — no login for v1
- add /bookmarks page that lists saved posts with remove and clear all
- show count badge in header
- add "export as markdown" for the reading list so people can take it with them
Edge cases: handle posts that get renamed or deleted, and don't break if localStorage is full or disabled.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。