Skip to main content

Migrate Chromium search engines between Web Data databases.

Project description

chromium-search-migrator

Migrate active Chromium search engines from one Web Data database into another.

This is useful for moving custom search engines from Arc Browser to Google Chrome.

Usage

Dry run:

uv run chromium-search-migrator \
  "$HOME/Library/Application Support/Arc/User Data/Default/Web Data" \
  "$HOME/Library/Application Support/Google/Chrome/Default/Web Data"

Apply changes:

uv run chromium-search-migrator \
  "$HOME/Library/Application Support/Arc/User Data/Default/Web Data" \
  "$HOME/Library/Application Support/Google/Chrome/Default/Web Data" \
  --apply

List entries that would be imported:

uv run chromium-search-migrator source-web-data target-web-data --list

Safety

  • Only imports source rows with is_active = 1.
  • Skips rows when the target already has the same keyword.
  • Skips rows when the target already has the same url.
  • Regenerates sync_guid for imported rows.
  • Creates a backup in /tmp before writing, unless --no-backup is set.
  • Runs PRAGMA integrity_check after writing.

Close the target browser before applying changes, otherwise the database may be locked.

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

chromium_search_migrator-0.1.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

chromium_search_migrator-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromium_search_migrator-0.1.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chromium_search_migrator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dd2c0ec592b13adf0e74a81573e26fc8776bb949a1b00081eb449d48fda50be7
MD5 e481c23748475b6b521331a6c242cfed
BLAKE2b-256 a26eaf47d91fa6f190dab1de660e88efc70c380f21aeee189113312d35725ef9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chromium_search_migrator-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for chromium_search_migrator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad7e7605f9167edc8fc9111763099774586ac04f3d549f049bd36a2ecbd6175e
MD5 c56b2652b6c381c5a7df0bca0f22c533
BLAKE2b-256 97df9745cda4bc3ca2687d6063cd641100cc00e6fc809b687c8507da8e7a6b65

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