Skip to content

mokolabs/tabby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tabby

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!

Installation

1. Install ruby

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

2. Enable full disk permissions for Terminal app

  1. Open System Settings.
  2. Select Privacy & Security settings.
  3. Select Full Disk Access.
  4. Add Terminal app if not listed.
  5. Enable Full Disk Access for Terminal app.

3. Install script

  1. git clone git@github.com:mokolabs/tabby.git ~/Desktop/tabby
  2. Open your terminal app.
  3. Run cd ~/Desktop/tabby to open the tabby directory.
  4. Run bundle install to install dependencies.
  5. Run ruby tabby.rb to export your tab groups to the desktop.

4. Optional steps

  • Need to customize the export location? Add this flag: --out file/path
    ruby tabby.rb --out ~/Library/Backup
    
  • Need to export a different SafariTabs.db file? Add this flag: --db path/to/SafariTabs.db
    ruby tabby.rb --db ~/Backups/SafariTabs.db
    
  • Need to export tabs from the Safari Technology Preview app? Add this flag: -stp
    ruby 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!

Feedback

Have a suggestion? Your feedback is welcome! Feel free to open an issue or PR.

(Tabby is brought to you by Sebbie.)

Sebbie

About

Backup your Safari tab groups

Resources

License

Stars

Watchers

Forks

Contributors

Languages