{"id":21293222,"url":"https://github.com/guest271314/native-messaging-deno","last_synced_at":"2025-07-11T16:32:27.673Z","repository":{"id":70020697,"uuid":"546372036","full_name":"guest271314/native-messaging-deno","owner":"guest271314","description":"Deno Native Messaging Host","archived":false,"fork":false,"pushed_at":"2024-02-13T09:10:18.000Z","size":67,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-02-13T10:24:10.539Z","etag":null,"topics":["deno","javascript","native-messaging","native-messaging-host"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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}},"created_at":"2022-10-06T01:24:24.000Z","updated_at":"2023-07-31T15:30:10.000Z","dependencies_parsed_at":"2023-12-25T21:21:08.124Z","dependency_job_id":"b300cfcf-f158-4b21-ab87-694514182147","html_url":"https://github.com/guest271314/native-messaging-deno","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guest271314%2Fnative-messaging-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guest271314","download_url":"https://codeload.github.com/guest271314/native-messaging-deno/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225741166,"owners_count":17516895,"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","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":["deno","javascript","native-messaging","native-messaging-host"],"created_at":"2024-11-21T13:53:45.956Z","updated_at":"2024-11-21T13:53:47.745Z","avatar_url":"https://github.com/guest271314.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Deno 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-deno folder.\n5. Note the generated extension ID.\n6. Open `nm_deno.json` in a text editor, set `\"path\"` to absolute path of `nm_deno.js` and `chrome-extension://\u003cID\u003e/` using ID from 5 in `\"allowed_origins\"` array. \n7. Copy the 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 `deno` executable and `nm_deno.js` are executable. To download `deno` executable into the cloned GitHub directory that is used as the local unpacked extension directory (and optionally strip symbolic information from the `deno` executable to reduce size) you can run\n```\n    wget --show-progress \\\n    --progress=bar \\\n    --output-document deno.zip \\\n    https://github.com/denoland/deno/releases/latest/download/deno-x86_64-unknown-linux-gnu.zip \\\n    \u0026\u0026 unzip deno.zip \\\n    \u0026\u0026 rm deno.zip \\\n    \u0026\u0026 strip deno \n```\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 Deno Native Messaging host. To disconnect run `port.disconnect()`.\n\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguest271314%2Fnative-messaging-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguest271314%2Fnative-messaging-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguest271314%2Fnative-messaging-deno/lists"}