Skip to main content

Safari Cloud Tabs

Safari Cloud Tabs is a command-line tool to manage and open Safari iCloud tabs from other devices. It allows you to list, filter, and open tabs synchronized via iCloud on macOS.

Installation

Requirements

  • macOS
  • Python 3.9 or newer
  • Safari with iCloud Tabs enabled

Install from PyPI

pip install safari-cloud-tabs

Install from GitHub

pip install git+https://github.com/osantana/safari-cloud-tabs.git

Usage

Basic commands

List all devices with iCloud tabs:

safari-cloud-tabs --list-devices

Open all tabs from all devices in the default browser:

safari-cloud-tabs

Show all tabs without opening them (dry run):

safari-cloud-tabs --dry-run

Filtering

Filter tabs by device name:

safari-cloud-tabs --device "iPhone"

Filter tabs by URL content:

safari-cloud-tabs --contains "github.com"

Limit the number of tabs to open:

safari-cloud-tabs --limit 5

Browser selection

Open tabs in a specific browser (safari, chrome, or firefox):

safari-cloud-tabs --browser chrome

Other options

Open in the current tab instead of a new tab:

safari-cloud-tabs --no-new-tab

Set a delay between opening tabs:

safari-cloud-tabs --delay 0.5

Development

To contribute to the development of Safari Cloud Tabs:

  1. Clone the repository:

    git clone https://github.com/osantana/safari-cloud-tabs.git
    cd safari-cloud-tabs
    
  2. Install the package in editable mode:

    pip install -e .
    
  3. Make your changes and verify them.

  4. Submit a Pull Request.

Publishing to PyPI

To publish a new version to PyPI:

  1. Build the package:

    uv build
    
  2. Publish the package:

    uv publish
    

Note: uv does not automatically read your ~/.pypirc file. You can provide the API token using the UV_PUBLISH_TOKEN environment variable or the --token argument:

# Using an environment variable
export UV_PUBLISH_TOKEN=your-pypi-api-token
uv publish

# Or passing the token directly
uv publish --token YOUR_PYPI_API_TOKEN

Metadata

Release files for safari-cloud-tabs 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for safari-cloud-tabs 0.1.1
File Size Uploaded
safari_cloud_tabs-0.1.1.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for safari-cloud-tabs 0.1.1
File Interpreter ABI Platform
safari_cloud_tabs-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / safari_cloud_tabs-0.1.1.tar.gz

Download URL safari_cloud_tabs-0.1.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d434c1af7a92f6af25a59ecca8762948b07c4518496b1f6f265fc2cc517f322e
BLAKE2b-256 checksum
How to use checksums
66b2f8f8f6969110dd84b85081c1733f88fadec688d4e44113fa70fddb09f755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release files / safari_cloud_tabs-0.1.1-py3-none-any.whl

Download URL safari_cloud_tabs-0.1.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9b6aa21ca28af7cecd7d83eaea95bfbb1c823814bde68c66b84a77950159dd7
BLAKE2b-256 checksum
How to use checksums
1f2ff5aa85a3d202b0c5f2bc857c1edcb422c5a8e14057efb3ac6f8c06e341b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.12

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page