[PR #1511] [MERGED] feat: Add support for public lists #1850

Closed
opened 2026-03-02 11:59:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/1511
Author: @MohamedBassem
Created: 6/1/2025
Status: Merged
Merged: 6/1/2025
Merged by: @MohamedBassem

Base: mainHead: public-lists


📝 Commits (10+)

  • 417c26f WIP: public lists
  • 0f6794f Drop viewing modes
  • 03f0e39 Add the public endpoint for assets
  • 2bbe84c regen the openapi spec
  • d18316c proper handling for different asset types
  • acacfd2 Add num bookmarks and a no bookmark banner
  • c0889ca Correctly set page title
  • 7aca092 Add a not-found page
  • fb97c8b merge the RSS and public list endpoints
  • 250529d Add e2e tests for the public endpoints

📊 Changes

36 files changed (+3286 additions, -147 deletions)

View changed files

apps/web/app/public/layout.tsx (+16 -0)
apps/web/app/public/lists/[listId]/not-found.tsx (+18 -0)
apps/web/app/public/lists/[listId]/page.tsx (+84 -0)
apps/web/components/dashboard/bookmarks/BookmarkFormattedCreatedAt.tsx (+8 -0)
📝 apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx (+3 -10)
📝 apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx (+6 -2)
apps/web/components/dashboard/lists/PublicListLink.tsx (+67 -0)
📝 apps/web/components/dashboard/lists/RssLink.tsx (+44 -63)
📝 apps/web/components/dashboard/lists/ShareListModal.tsx (+3 -1)
apps/web/components/public/lists/PublicBookmarkGrid.tsx (+247 -0)
apps/web/components/public/lists/PublicListHeader.tsx (+17 -0)
📝 apps/web/components/ui/copy-button.tsx (+40 -1)
📝 apps/web/lib/i18n/locales/en/translation.json (+10 -1)
📝 packages/api/index.ts (+3 -1)
📝 packages/api/routes/assets.ts (+3 -52)
packages/api/routes/public.ts (+47 -0)
📝 packages/api/routes/rss.ts (+3 -1)
packages/api/utils/assets.ts (+57 -0)
packages/db/drizzle/0051_public_lists.sql (+1 -0)
packages/db/drizzle/meta/0051_snapshot.json (+2029 -0)

...and 16 more files

📄 Description

Fixes #126


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/1511 **Author:** [@MohamedBassem](https://github.com/MohamedBassem) **Created:** 6/1/2025 **Status:** ✅ Merged **Merged:** 6/1/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `public-lists` --- ### 📝 Commits (10+) - [`417c26f`](https://github.com/karakeep-app/karakeep/commit/417c26f9f2f950b13b05a52ecb249644cfd08a5e) WIP: public lists - [`0f6794f`](https://github.com/karakeep-app/karakeep/commit/0f6794f0c5142d7d63e91a90b7e41cb367aa2d7a) Drop viewing modes - [`03f0e39`](https://github.com/karakeep-app/karakeep/commit/03f0e39ebc22bc8f92b7e3c18f11197a321e14d8) Add the public endpoint for assets - [`2bbe84c`](https://github.com/karakeep-app/karakeep/commit/2bbe84c537bf1d5b7070d98f572e375058598eb8) regen the openapi spec - [`d18316c`](https://github.com/karakeep-app/karakeep/commit/d18316ce7f42cfba3d33ff2b20b92b1f5d272b7d) proper handling for different asset types - [`acacfd2`](https://github.com/karakeep-app/karakeep/commit/acacfd286f40c842fd652b4bd36e5a3ce67c8dc9) Add num bookmarks and a no bookmark banner - [`c0889ca`](https://github.com/karakeep-app/karakeep/commit/c0889ca348655da7b143b104af9e09f00d27ebb4) Correctly set page title - [`7aca092`](https://github.com/karakeep-app/karakeep/commit/7aca092454d9ae4b6de6d99369a530cc64d22908) Add a not-found page - [`fb97c8b`](https://github.com/karakeep-app/karakeep/commit/fb97c8bcd01b771625d82b936074f05246201783) merge the RSS and public list endpoints - [`250529d`](https://github.com/karakeep-app/karakeep/commit/250529d04a5de35676698bebfb21391a0cb8a299) Add e2e tests for the public endpoints ### 📊 Changes **36 files changed** (+3286 additions, -147 deletions) <details> <summary>View changed files</summary> ➕ `apps/web/app/public/layout.tsx` (+16 -0) ➕ `apps/web/app/public/lists/[listId]/not-found.tsx` (+18 -0) ➕ `apps/web/app/public/lists/[listId]/page.tsx` (+84 -0) ➕ `apps/web/components/dashboard/bookmarks/BookmarkFormattedCreatedAt.tsx` (+8 -0) 📝 `apps/web/components/dashboard/bookmarks/BookmarkLayoutAdaptingCard.tsx` (+3 -10) 📝 `apps/web/components/dashboard/bookmarks/BookmarkMarkdownComponent.tsx` (+6 -2) ➕ `apps/web/components/dashboard/lists/PublicListLink.tsx` (+67 -0) 📝 `apps/web/components/dashboard/lists/RssLink.tsx` (+44 -63) 📝 `apps/web/components/dashboard/lists/ShareListModal.tsx` (+3 -1) ➕ `apps/web/components/public/lists/PublicBookmarkGrid.tsx` (+247 -0) ➕ `apps/web/components/public/lists/PublicListHeader.tsx` (+17 -0) 📝 `apps/web/components/ui/copy-button.tsx` (+40 -1) 📝 `apps/web/lib/i18n/locales/en/translation.json` (+10 -1) 📝 `packages/api/index.ts` (+3 -1) 📝 `packages/api/routes/assets.ts` (+3 -52) ➕ `packages/api/routes/public.ts` (+47 -0) 📝 `packages/api/routes/rss.ts` (+3 -1) ➕ `packages/api/utils/assets.ts` (+57 -0) ➕ `packages/db/drizzle/0051_public_lists.sql` (+1 -0) ➕ `packages/db/drizzle/meta/0051_snapshot.json` (+2029 -0) _...and 16 more files_ </details> ### 📄 Description Fixes #126 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:59:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#1850
No description provided.