Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Save tabs from Safari to a SQLite database. Supports Datasette. Can sync multiple devices with Turso.
Save tabs from Safari to a SQLite database. Multiple devices can be synced with Turso. Search and explore with Datasette!
This package is available on PyPI and can be installed with pipx:
brew install pipx
pipx install safari-to-sqlite
To save your Safari tabs to a SQLite database, run:
safari-to-sqlite
This will save the tabs to a file called safari-tabs.db
in your current directory.
Or to specify a database file:
safari-to-sqlite tabs.db
Cross device sync is possible using a Turso account. You can configure your own database or allow this tool to automatically perform setup for you. To authenticate, run:
safari-to-sqlite auth
If you don't have an existing Turso account or database, no problem! This command will walk you through the setup process by installing the Turso CLI with brew and creating a new database for you. Otherwise, you can manually enter your own database URL and token.
Safari may not return the tab's body content if it is not available for some reason. To download and extract page content when this is missing, run:
safari-to-sqlite download
Pull requests are very welcome! For major changes, please open an issue first to discuss what you would like to change.
brew install python3
# If you don't have python3 installed
git clone git@github.com:hbmartin/safari-to-sqlite.git
cd safari-to-sqlite
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m safari_to_sqlite
This project is linted with ruff and uses Black code formatting.
© Harold Martin - released under Apache-2.0 license
Safari is a registered trademark of Apple Inc.
FAQs
Save tabs from Safari to a SQLite database. Supports Datasette. Can sync multiple devices with Turso.
We found that safari-to-sqlite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.