https://github.com/devidw/bookmarktoshortcut
Convert your browser bookmarks to web shortcut files (.url, .webloc, .desktop) to be able to use them on your desktop and in your file explorer.
https://github.com/devidw/bookmarktoshortcut
bookmark bookmarks browser-bookmarks convert converter desktop export exports python python-3 python-class python3 shortcuts url webloc
Last synced: 8 months ago
JSON representation
Convert your browser bookmarks to web shortcut files (.url, .webloc, .desktop) to be able to use them on your desktop and in your file explorer.
- Host: GitHub
- URL: https://github.com/devidw/bookmarktoshortcut
- Owner: devidw
- License: mit
- Created: 2021-11-07T15:28:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-07T15:53:33.000Z (over 4 years ago)
- Last Synced: 2024-10-18T21:04:40.671Z (over 1 year ago)
- Topics: bookmark, bookmarks, browser-bookmarks, convert, converter, desktop, export, exports, python, python-3, python-class, python3, shortcuts, url, webloc
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Bookmark to Shortcut
Convert your browser bookmarks to web shortcut files (`.url`, `.webloc`, `.desktop`) to be able to use them on your desktop and in your file explorer.
== How to convert
First you have to export your bookmarks from your browsers, use the following links to navigate directly to your browsers bookmark manager.
* link:opera://bookmarks[opera://bookmarks]
* link:chrome://bookmarks[chrome://bookmarks]
* link:edge://favorites[edge://favorites]
=== Usage
Clone `/src/BookmarkToShortcut.py`
[source, python]
----
from BookmarkToShortcut import BookmarkToShortcut
converter = BookmarkToShortcut(
'in', # input directory
'out', # output directory
{'url', 'desktop', 'webloc'} # formats to write
)
converter.convert()
----
== Compatibility
* works with `NETSCAPE-Bookmark-file-1` exports
* tested for exports from Chromium browsers (Opera, Chrome, Edge)
* supported shortcut formats
** `.url` (Windows)
** `.webloc` (macOS)
** `.desktop` (Linux)