{"id":20492344,"url":"https://github.com/husarnet/husarnet-action","last_synced_at":"2025-10-17T21:01:50.190Z","repository":{"id":65160121,"uuid":"409924442","full_name":"husarnet/husarnet-action","owner":"husarnet","description":"A GitHub Action for connecting workflows to Husarnet network ","archived":false,"fork":false,"pushed_at":"2023-08-20T11:10:29.000Z","size":152,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-22T19:40:34.513Z","etag":null,"topics":["actions","edge-computing","github-actions","husarnet","vpn"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/husarnet.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}},"created_at":"2021-09-24T10:31:50.000Z","updated_at":"2024-02-27T08:52:20.000Z","dependencies_parsed_at":"2023-02-14T17:01:36.777Z","dependency_job_id":null,"html_url":"https://github.com/husarnet/husarnet-action","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.19999999999999996","last_synced_commit":"392edcb5a82f2b6f38a77cc0563e4d2592fbd91b"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husarnet%2Fhusarnet-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husarnet%2Fhusarnet-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husarnet%2Fhusarnet-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husarnet%2Fhusarnet-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/husarnet","download_url":"https://codeload.github.com/husarnet/husarnet-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819311,"owners_count":17375254,"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":["actions","edge-computing","github-actions","husarnet","vpn"],"created_at":"2024-11-15T17:28:40.442Z","updated_at":"2025-10-17T21:01:50.184Z","avatar_url":"https://github.com/husarnet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Husarnet VPN Action for GitHub Actions\n\nConnecting your GitHub workflow to Husarnet peer-to-peer VPN network. Useful for deployment to hosts that don't have a public nor static IP address.\n\n## Usage\n\n```yaml\nname: Ping other peer from a VPN network\n\non: push\n\njobs:\n  build:\n    runs-on: ubuntu-20.04\n    steps:\n\n    - name: Connecting to Husarnet VPN network\n      uses: husarnet/husarnet-action@v5\n      with:\n        join-code: ${{ secrets.HUSARNET_JOINCODE }}\n\n    - name: Ping other peer\n      run: ping6 -c 10 my-laptop\n\n```\n\n## Inputs\n\n```yaml\n    - name: Husarnet VPN\n      uses: husarnet/husarnet-action@v5\n      with:\n        join-code: ${{ secrets.HUSARNET_JOINCODE }}\n        hostname: my-hostname\n        remove-host: 'true'\n        dashboard-login: ${{ secrets.HUSARNET_DASHBOARD_LOGIN }}\n        dashboard-password: ${{ secrets.HUSARNET_DASHBOARD_PASSWORD }}\n```\n\n| input | required | default value | description |\n| - | - | - | - |\n| `join-code` | yes |  | A Join Code for the Husarnet network you want to connect to. Find your Join Code at https://app.husarnet.com/  |\n| `hostname` | no | `github-actions-\u003crepo name\u003e` | A hostname under which this workflow will be available in your Husarnet network |\n| `remove-host` | no | `true` | After the end of the workflow remove the Husarnet host (peer) associated with the GitHub workflow. To do so you **HAVE TO** set `dashboard-login` and `dashboard-password` inputs |\n| `dashboard-login` | no |  | A login to your account at https://app.husarnet.com |\n| `dashboard-password` | no |  |A password to your account at https://app.husarnet.com |\n\n## Outputs\n\n```yaml\n    - name: Husarnet VPN\n      id: husarnet\n      uses: husarnet/husarnet-action@v5\n      with:\n        join-code: ${{ secrets.HUSARNET_JOINCODE }}\n        hostname: my-hostname\n    \n    - name: Print IPv6\n      run: echo My IPv6 addr is ${{ steps.husarnet.outputs.ipv6 }}\n```\n\n| output | description |\n| - | - |\n| `ipv6` | Husarnet IPv6 address of the peer |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusarnet%2Fhusarnet-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhusarnet%2Fhusarnet-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusarnet%2Fhusarnet-action/lists"}