Skip to content

Conversation

danperks
Copy link

Overview

This PR adds a bookmark feature that allows users to pin external webpages to their umbrelOS desktop.

Features

  • Add bookmarks via desktop context menu
  • Auto-fetch metadata: Automatically fetches page title and favicon from URLs
  • Custom icons: Upload custom icons or use auto-fetched favicons
  • Smart backgrounds: Detects icon edge colors and fills transparent backgrounds
  • Edit/Delete: Right-click bookmarks to edit or delete
  • External indicator: Visual indicator to distinguish bookmarks from apps
  • New tab support: Optional checkbox to open links in new tab
  • i18n: Full translations for all 12 supported locales

Technical Details

  • Backend: Added TRPC routes for bookmark CRUD operations
  • Storage: Bookmarks stored in user preferences
  • CORS handling: Favicon/title requests proxied through backend
  • CSP: Added data: URLs to img-src for base64 icons
  • ID generation: Compact base36 timestamp IDs

- Add backend support for bookmarks (TRPC routes, user storage)
- Create bookmark dialog with URL/name inputs, icon upload, and new tab option
- Auto-fetch favicon and page title from URLs via backend proxy
- Display bookmarks on desktop with external link indicator
- Support edit/delete via context menu
- Detect icon edge colors for smart background fill
- Add translations for all 12 supported locales
- Prevent CORS issues by proxying favicon/title requests through backend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant