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.1.tar.gz (5.2 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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for safari_cloud_tabs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d434c1af7a92f6af25a59ecca8762948b07c4518496b1f6f265fc2cc517f322e
MD5 1a54ee1e17c66b7e8ab3ab976ce8d983
BLAKE2b-256 66b2f8f8f6969110dd84b85081c1733f88fadec688d4e44113fa70fddb09f755

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for safari_cloud_tabs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b6aa21ca28af7cecd7d83eaea95bfbb1c823814bde68c66b84a77950159dd7
MD5 5b837dc3fe645d0337cf86cb92f51ff2
BLAKE2b-256 1f2ff5aa85a3d202b0c5f2bc857c1edcb422c5a8e14057efb3ac6f8c06e341b0

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