Skip to main content

Installation

$ pip3 install chromeurl
$ chromeurl --install-manifest all

Development

  1. Obtain the chrome native component (python package). Options:
    • from the source tree

      $ cd native
      $ python setup.py install --user
      
  2. Install the extension. Options:
    • automatically from the web store

      $ chromeurl --install-manifest extension
      
    • manually from the chrome web store

    • manually from local source tree (for development)

      • navigate to chrome://extensions/
      • Load Unpacked the extension directory rooted at ./chrome
      • note the extension `ID` as UNPACKED_EXTENSION_ID
  3. Install native host manifest (make chrome aware of the native host). Options:
    • if extension came from the webstore

      $ chromeurl --install-manifest native
      
    • if unpacked locally and loaded from source (for development):

      $ chromeurl --install-manifest native --extension-id <UNPACKED_EXTENSION_ID>
      

Get current url

  • While chrome is running, make an HTTP request to get the current url

    $ curl http://127.0.0.1:19615/tabs/current/url
    https://developer.chrome.com/extensions/activeTab
    

Debugging

  • start chromium from a terminal to see native host debug messages
  • navigate to the extension background from page (chrome://extensions) to see background page log messages

Security

  • Any local process may read the user's current url
  • By default the browsing history is logged to ~/.browser-history.tsv

Config file

  • Native host behavior can be configured via a config file at any of these locations:

    • /etc/chromeurl.conf
    • ~/.config/chromeurl.conf
  • Example config file:

    port = 1239
    verbose = True
    logfile = /dev/null
    
  • See $chromeurl --help$ for a list of options

Metadata

Release files for chromeurl 2025.12.22.0

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

Source distribution (sdist)

Source distribution for chromeurl 2025.12.22.0
File Size Uploaded Provenance Actions
chromeurl-2025.12.22.0.tar.gz 7.6 kB Without provenance Details for chromeurl-2025.12.22.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chromeurl 2025.12.22.0
File Interpreter ABI Platform Actions
chromeurl-2025.12.22.0-py3-none-any.whl Python 3 none any Details for chromeurl-2025.12.22.0-py3-none-any.whl

Total release size: 15.1 kB

Release files / chromeurl-2025.12.22.0.tar.gz

Download URL chromeurl-2025.12.22.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
365a725f38aa3e5586d12e1612747956d5b7b4c08736bf09fa20bf07df3b0997
BLAKE2b-256 checksum
How to use checksums
756b77306d3d9622ef77f501e5ca18477cccb4eb292bfabaa2825c177de093ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / chromeurl-2025.12.22.0-py3-none-any.whl

Download URL chromeurl-2025.12.22.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd5d8b0061beebf726c5d74cc1d40907fad15a35da53a6ca17dbe4ea1b1727d7
BLAKE2b-256 checksum
How to use checksums
eab43b42074eac89c2c36ec0bd0c2a9feab1d72c3a552c5ddc1f27808d195d01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for chromeurl 2025.12.22.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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