{"id":16077945,"url":"https://github.com/jlu5/bookmarksync","last_synced_at":"2025-04-11T12:07:12.789Z","repository":{"id":74038486,"uuid":"183728950","full_name":"jlu5/bookmarksync","owner":"jlu5","description":"Manage, customize, and sync bookmarks for GTK+ and KDE","archived":false,"fork":false,"pushed_at":"2025-03-22T08:22:43.000Z","size":175,"stargazers_count":12,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T09:24:12.315Z","etag":null,"topics":["bookmarks","gtk","kde"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlu5.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-27T04:41:34.000Z","updated_at":"2025-02-13T13:19:57.000Z","dependencies_parsed_at":"2023-03-11T16:22:12.423Z","dependency_job_id":"789ff43e-a6b2-4c00-b206-d8f7b40d405e","html_url":"https://github.com/jlu5/bookmarksync","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Fbookmarksync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Fbookmarksync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Fbookmarksync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Fbookmarksync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlu5","download_url":"https://codeload.github.com/jlu5/bookmarksync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248396516,"owners_count":21096950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bookmarks","gtk","kde"],"created_at":"2024-10-09T10:05:35.219Z","updated_at":"2025-04-11T12:07:12.780Z","avatar_url":"https://github.com/jlu5.png","language":"C++","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# BookmarkSync\n\n[![latest release](https://img.shields.io/github/v/tag/jlu5/bookmarksync?sort=date)](https://github.com/jlu5/bookmarksync/tags)\n\n**BookmarkSync** is a simple program that manages the bookmarks (pinned folders) in GTK+, KDE, and Qt's native file pickers. I built this tool because I was using GTK+ apps (GIMP, Audacity, etc.) on KDE and constantly got frustrated by the bookmarks lists not matching up.\n\n![Demo screenshot](bookmarksync.png \"BookmarkSync main window\")\n\n## Do I need this?\n\nOn GTK+ based desktop environments like GNOME or Xfce, you can make Qt use the GTK+ file picker by setting `QT_QPA_PLATFORMTHEME=gtk3` or `QT_QPA_PLATFORMTHEME=gtk2`. This is usually the easiest option on those environments.\n\nAlternatively: Chrome, Firefox ([with `about:config` override](https://wiki.archlinux.org/title/Firefox#XDG_Desktop_Portal_integration)), and most sandboxed apps support [XDG Desktop Portal](https://wiki.archlinux.org/title/XDG_Desktop_Portal) which will automatically load the desktop environment's native file picker.\n\n## CLI mode\n\nAs of v0.3.0 there is support for running sync from the command line: `$ bookmarksync --sync-from {gtk,kde,qt}`.\n\nNote that this is not truly headless, as BookmarkSync still expects a display to exist. If your environment doesn't have one available, you can switch to a dummy display with some QT overrides: `$ QT_QPA_PLATFORMTHEME= QT_QPA_PLATFORM=offscreen ./bookmarksync \u003cargs\u003e`\n\n## Distribution packages\n\nYou can find bookmarksync in:\n\n- Arch Linux AUR: [bookmarksync-git](https://aur.archlinux.org/packages/bookmarksync-git/)\n- Debian via [Utopia Repository](https://deb.utopia-repository.org/): bookmarksync\n\n## Build instructions\n\n**Note that BookmarkSync compiles with Qt 6 and KF6 now. If you need the Qt 5 version, use the `qt5` / 0.3.x branch instead.**\n\nTo compile BookmarkSync, you will need:\n\n- cmake\n- Qt 6\n- KF6KIO headers\n- KF6IconThemes headers\n\nOn Debian and derivatives, this is `apt install cmake qt6-base-dev libkf6iconthemes-dev libkf6kio-dev`.\n\nThen clone the repository and compile it:\n\n```shell\ngit clone https://github.com/jlu5/bookmarksync\ncd bookmarksync/src\ncmake .\nmake -j$(nproc)\n```\n\nThe resulting binary will be named `bookmarksync`.\n\n## Under the hood\n\n- **GTK+** stores bookmarks in a simple plain text format at `~/.config/gtk-3.0/bookmarks`, which BookmarkSync manipulates as a plain text file.\n- **KDE** stores bookmarks in XML form at `~/.local/share/user-places.xbel`. BookmarkSync uses [KFilePlacesModel](https://api.kde.org/frameworks/kio/html/classKFilePlacesModel.html) from KIO to edit these natively.\n- **Qt** stores bookmarks in the Qt config file (INI format) at `~/.config/QtProject.conf`. BookmarkSync uses [QFileDialog](https://doc.qt.io/qt-5/qfiledialog.html#setSidebarUrls) methods (and hidden file dialog instances) to read and write to these.\n\n### Known limitations\n\n- Only KDE supports custom icons for places; syncing from others will erase all custom icons.\n- Only GTK+ and KDE support remote locations like `sftp://` or `smb://` in bookmarks: syncing *from* Qt will remove all remote places from the list.\n- Editing bookmarks from another program while BookmarkSync is running may cause things to go out of sync. This mainly affects the Qt backend, as the KDE and GTK+ backends tend to refresh faster.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlu5%2Fbookmarksync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlu5%2Fbookmarksync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlu5%2Fbookmarksync/lists"}