{"id":19443345,"url":"https://github.com/smashedr/python-native-messaging","last_synced_at":"2025-11-19T10:03:12.640Z","repository":{"id":241841841,"uuid":"808003424","full_name":"smashedr/python-native-messaging","owner":"smashedr","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-05T05:33:10.000Z","size":138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T08:15:35.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smashedr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-30T07:36:25.000Z","updated_at":"2024-06-05T05:08:22.000Z","dependencies_parsed_at":"2024-11-10T15:44:55.690Z","dependency_job_id":"da49ec85-82b4-42fb-9ee5-829e8739ab8b","html_url":"https://github.com/smashedr/python-native-messaging","commit_stats":null,"previous_names":["smashedr/py-native-msg","smashedr/python-native-messaging"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/smashedr/python-native-messaging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fpython-native-messaging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fpython-native-messaging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fpython-native-messaging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fpython-native-messaging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smashedr","download_url":"https://codeload.github.com/smashedr/python-native-messaging/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashedr%2Fpython-native-messaging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285223847,"owners_count":27135238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T15:42:55.189Z","updated_at":"2025-11-19T10:03:12.612Z","avatar_url":"https://github.com/smashedr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Native Messaging\n\nA Python Native Messaging client for Web Extensions on Windows, Linux and macOS.\n\nDocumentation:\n\n- Mozilla: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging\n- Google: https://developer.chrome.com/docs/extensions/develop/concepts/native-messaging\n\nExamples:\n\n- Mozilla: https://github.com/mdn/webextensions-examples/tree/main/native-messaging\n- Google: https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/nativeMessaging\n- Third Party: https://github.com/alexmarcoo/open-in-native-client\n\n## Browsers\n\nTested and working in the following browsers:\n\n- Firefox\n- Waterfox\n- Edge\n- Chrome\n- Chromium\n- Brave\n- Opera\n- Vivaldi\n- Ghost\n\n## Installing\n\nDownload and run the installer for your operating system from the latest\n[release](https://github.com/smashedr/python-native-messaging/releases/latest).\n\n## Building\n\n### Windows\n\n\u003e [!NOTE]  \n\u003e The Windows installer uses [Inno Setup](https://jrsoftware.org/isinfo.php)\n\u003e which must be manually installed.\n\nBuild the App:\n\n```shell\npython -m pip install pyinstaller\npyinstaller --noconfirm client.spec\npython manifest.py\n```\n\nCreate the Installer:\n\n```shell\niscc.exe client.iss\n```\n\n### Linux\n\n```shell\npython manifest.py\nbash build-linux.sh\n```\n\n### MacOS\n\n\u003e [!NOTE]  \n\u003e The macOS installer uses [Packages](http://s.sudre.free.fr/Software/Packages/about.html)\n\u003e which must be manually installed.\n\nBuild the App:\n\n```shell\npython -m pip install pyinstaller\npyinstaller --noconfirm client.spec\npython manifest.py\n```\n\nCreate the Package:\n\n```shell\nbash build-mac.sh\n```\n\n## More Info\n\nWindows requires corresponding registry entries for the manifest files (see location links below).\n\nWindows and macOS requires packaging the app with `pyinstaller` to bundle python.\n\nManifest files must be renamed to `org.cssnr.extension.python.json` on Linux and macOS.\n\nManifest key `path` must be set to the absolute path to the `client` location.\n\nManifest files must be placed in specific directories:\n\n- Firefox: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests#manifest_location\n- Chrome: https://developer.chrome.com/docs/extensions/develop/concepts/native-messaging#native-messaging-host-location\n\nIf the `client` location is not writable by the user and a writable `log.txt`\nmust be created at that location due to the current logging configuration in the [client.py](src%2Fclient.py).\n\nThe `client.py` must be executable by the user with Python installed and working.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashedr%2Fpython-native-messaging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmashedr%2Fpython-native-messaging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashedr%2Fpython-native-messaging/lists"}