Skip to main content

A command-line tool for managing Safari iCloud tabs

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

safari_cloud_tabs-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

safari_cloud_tabs-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file safari_cloud_tabs-0.1.0.tar.gz.

File metadata

  • Download URL: safari_cloud_tabs-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.12

File hashes

Hashes for safari_cloud_tabs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 393beaa43a3368c4ea570cc8bf8d8afced3cf061c7fe4b10c3c1c57b6b229c76
MD5 36ad3ec59555ae06a1bc01dc2fe3f155
BLAKE2b-256 825d9db1b5d901cd7cb60680a3fa6bdd5311cc687fc277399ebd0587f596fba9

See more details on using hashes here.

File details

Details for the file safari_cloud_tabs-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for safari_cloud_tabs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1685f81b13caa28af4ea6bfc63783d27631cdff2474ba5001b342459d19c2704
MD5 37cf628fe3f558d45844554d4b6b7a6b
BLAKE2b-256 c736e62cfb10d64192301255dfe8489c477cef6da2d68ac86cc14e1a27c3a6d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page