{"id":16176785,"url":"https://github.com/mikew/nvrh","last_synced_at":"2025-03-16T18:31:23.113Z","repository":{"id":257819789,"uuid":"867919504","full_name":"mikew/nvrh","owner":"mikew","description":"Aims to be similar to VSCode Remote, but for Neovim","archived":false,"fork":false,"pushed_at":"2025-01-14T16:09:37.000Z","size":50,"stargazers_count":50,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T04:31:47.480Z","etag":null,"topics":["neovim","nvim","vscode-remote"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikew.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-10-05T02:28:13.000Z","updated_at":"2025-03-08T13:49:48.000Z","dependencies_parsed_at":"2024-10-10T05:32:47.452Z","dependency_job_id":"ea2201d0-b653-480a-9f96-8b4ed6cf48f7","html_url":"https://github.com/mikew/nvrh","commit_stats":{"total_commits":37,"total_committers":2,"mean_commits":18.5,"dds":0.3513513513513513,"last_synced_commit":"f555dadd93fab08f28b48e353a39cc0e6d7103c1"},"previous_names":["mikew/nvrh"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikew%2Fnvrh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikew%2Fnvrh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikew%2Fnvrh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikew%2Fnvrh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikew","download_url":"https://codeload.github.com/mikew/nvrh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910666,"owners_count":20367546,"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":["neovim","nvim","vscode-remote"],"created_at":"2024-10-10T05:01:32.586Z","updated_at":"2025-03-16T18:31:21.985Z","avatar_url":"https://github.com/mikew.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# nvrh\n\nhttps://github.com/user-attachments/assets/aad16d20-cc78-44cd-8e9f-8412c87087eb\n\nnvrh (Neovim Remote Helper) aims to provide a simple way of working with a\nremote Neovim instance, like you would with VSCode Remote.\n\n## Installation\n\nDownload the `nvrh` binary for your platform / architecture from [the latest\nrelease](https://github.com/mikew/nvrh/releases/latest).\n\nRename it to `nvrh` and put it somewhere on your `PATH` for convenience.\n\n## Features\n\n- Start Neovim on a remote machine.\n- Tunnel the connection between your local and remote machines.\n- Start your editor locally, talking to your remote Neovim instance.\n- Provide an easy way to tunnel ports.\n- Provide an easy way to open URLs on your local machine.\n\n## Usage\n\n### `nvrh client open`\n\nThis will open a new Neovim instance on your remote machine and connect to it\nfrom your local machine.\n\n```\nNAME:\n   nvrh client open - Open a remote nvim instance in a local editor\n\nUSAGE:\n   nvrh client open [command options] \u003cserver\u003e [remote-directory]\n\nCATEGORY:\n   client\n\nOPTIONS:\n   --ssh-path value                               Path to SSH binary. Defaults to ssh on Unix, C:\\Windows\\System32\\OpenSSH\\ssh.exe on Windows (default: \"ssh\") [$NVRH_CLIENT_SSH_PATH]\n   --use-ports                                    Use ports instead of sockets. Defaults to true on Windows (default: false) [$NVRH_CLIENT_USE_PORTS]\n   --debug                                        (default: false) [$NVRH_CLIENT_DEBUG]\n   --server-env value [ --server-env value ]      Environment variables to set on the remote server\n   --local-editor value [ --local-editor value ]  Local editor to use. {{SOCKET_PATH}} will be replaced with the socket path (default: \"nvim\", \"--server\", \"{{SOCKET_PATH}}\", \"--remote-ui\")\n   --help, -h                                     show help\n```\n\nBy default it runs `nvim`, but you can run something else with\n\n```sh\nnvrh client open \\\n  --local-editor nvim-qt \\\n  --local-editor --nofork \\\n  --local-editor --server \\\n  --local-editor {{SOCKET_PATH}}\n```\n\n### `:NvrhTunnelPort`\n\nhttps://github.com/user-attachments/assets/4a8c302e-4e49-4f74-81a3-ac86ba33016a\n\nnvrh adds a `:NvrhTunnelPort` command to Neovim to tunnel a port between your\nlocal and remote machines.\n\n```vim\n:NvrhTunnelPort 8080\n:NvrhTunnelPort 4000\n```\n\n### `:NvrhOpenUrl`\n\nhttps://github.com/user-attachments/assets/04f9eea3-58a6-4bff-a155-8134ecdeaf2b\n\nnvrh adds a `:NvrhOpenUrl` command to Neovim to open a URL on your local machine.\n\n```vim\n:NvrhOpenUrl https://example.com\n```\n\nIn addition to this command, it also sets the `BROWSER` environment variable,\nso commands can open a browser on your local machine.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikew%2Fnvrh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikew%2Fnvrh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikew%2Fnvrh/lists"}