{"id":21293264,"url":"https://github.com/guest271314/native-messaging-bash","last_synced_at":"2026-05-18T00:08:35.635Z","repository":{"id":70020674,"uuid":"485354512","full_name":"guest271314/native-messaging-bash","owner":"guest271314","description":"Bash Native Messaging host.","archived":false,"fork":false,"pushed_at":"2026-01-26T05:28:11.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-26T19:58:48.271Z","etag":null,"topics":["bash","native-messaging","native-messaging-host"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guest271314.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-04-25T12:04:24.000Z","updated_at":"2026-01-26T05:28:15.000Z","dependencies_parsed_at":"2025-01-22T06:50:49.968Z","dependency_job_id":null,"html_url":"https://github.com/guest271314/native-messaging-bash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guest271314/native-messaging-bash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guest271314","download_url":"https://codeload.github.com/guest271314/native-messaging-bash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-bash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","native-messaging","native-messaging-host"],"created_at":"2024-11-21T13:53:54.904Z","updated_at":"2026-05-18T00:08:33.600Z","avatar_url":"https://github.com/guest271314.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bash Native Messaging host\n\nInstallation and usage on Chrome and Chromium\n\n1. Navigate to `chrome://extensions`.\n2. Toggle `Developer mode`.\n3. Click `Load unpacked`.\n4. Select native-messaging-quickjs folder.\n5. Note the generated extension ID.\n6. Open `nm_bash.json` in a text editor, set `\"path\"` to absolute path of `nm_bash.sh` and `chrome-extension://\u003cID\u003e/` using ID from 5 in `\"allowed_origins\"` array. \n7. Copy the `nm_bash.json` file to Chrome or Chromium configuration folder, e.g., Chromium on \\*nix `~/.config/chromium/NativeMessagingHosts`; Chrome dev channel on \\*nix `~/.config/google-chrome-unstable/NativeMessagingHosts`.\n8. Make sure `nm_bash.sh` is executable.\n9. To test click `service worker` link in panel of unpacked extension which is DevTools for `background.js` in MV3 `ServiceWorker`, observe echo'ed message from txiki.js Native Messaging host. To disconnect run `port.disconnect()`.\n\nThe Native Messaging host echoes back the message passed. \n\nFor differences between OS and browser implementations see [Chrome incompatibilities](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Chrome_incompatibilities#native_messaging).\n\n# License\nDo What the Fuck You Want to Public License [WTFPLv2](http://www.wtfpl.net/about/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguest271314%2Fnative-messaging-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguest271314%2Fnative-messaging-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguest271314%2Fnative-messaging-bash/lists"}