Backup your Safari tab groups with Tabby.
Safari tab groups are an awesome way to manage your bookmarks. But, unfortunately at the moment, Safari does not provide a way to backup bookmarks stored within tab groups.
So let's fix that.
Tabby can:
- Export tab groups as HTML
- Export tab groups as CSV
- Export tab groups from default profile
- Export tab groups from all other profiles
- Export tab groups in current order (including tab order within groups)
New: Tabby is now available as a macOS app!
Unfortunately, macOS includes an outdated version of Ruby, so you will need to install a modern version of Ruby (4.0.2 or higher) to use Tabby.
If you need to install ruby, follow this guide: https://gorails.com/setup/macos/15-sequoia
- Open System Settings.
- Select Privacy & Security settings.
- Select Full Disk Access.
- Add Terminal app if not listed.
- Enable Full Disk Access for Terminal app.
git clone git@github.com:mokolabs/tabby.git ~/Desktop/tabby- Open your terminal app.
- Run
cd ~/Desktop/tabbyto open the tabby directory. - Run
bundle installto install dependencies. - Run
ruby tabby.rbto export your tab groups to the desktop.
- Need to customize the export location? Add this flag:
--out file/pathruby tabby.rb --out ~/Library/Backup - Need to export a different
SafariTabs.dbfile? Add this flag:--db path/to/SafariTabs.dbruby tabby.rb --db ~/Backups/SafariTabs.db - Need to export tabs from the Safari Technology Preview app? Add this flag:
-stpruby tabby.rb -stp - Need to move tabby to a different location? The script should work in any location within your home directory.
- Need to backup your tab groups on a daily basis? Just write a cron task that runs the tabby command!
Have a suggestion? Your feedback is welcome! Feel free to open an issue or PR.
(Tabby is brought to you by Sebbie.)
