{"id":28416385,"url":"https://github.com/v2fly/openbsd-install-v2ray","last_synced_at":"2025-06-26T21:31:32.239Z","repository":{"id":53160379,"uuid":"243486730","full_name":"v2fly/openbsd-install-v2ray","owner":"v2fly","description":"Bash script for installing V2Ray in the OpenBSD operating system","archived":false,"fork":false,"pushed_at":"2021-04-03T16:45:33.000Z","size":109,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-04T03:59:56.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v2fly.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":"2020-02-27T09:58:54.000Z","updated_at":"2024-01-19T10:14:06.000Z","dependencies_parsed_at":"2022-09-17T18:00:26.896Z","dependency_job_id":null,"html_url":"https://github.com/v2fly/openbsd-install-v2ray","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/v2fly/openbsd-install-v2ray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2fly%2Fopenbsd-install-v2ray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2fly%2Fopenbsd-install-v2ray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2fly%2Fopenbsd-install-v2ray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2fly%2Fopenbsd-install-v2ray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v2fly","download_url":"https://codeload.github.com/v2fly/openbsd-install-v2ray/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2fly%2Fopenbsd-install-v2ray/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262145147,"owners_count":23265876,"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":[],"created_at":"2025-06-03T20:08:31.512Z","updated_at":"2025-06-26T21:31:32.231Z","avatar_url":"https://github.com/v2fly.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openbsd-install-v2ray\n\n\u003e Bash script for installing V2Ray in the OpenBSD operating system\n\n該腳本安裝的文件符合 OpenBSD 作業系統中文件系統的佈局：\n\nhttps://man.openbsd.org/hier\n\n```\ninstalled: /usr/local/bin/v2ray\ninstalled: /usr/local/bin/v2ctl\ninstalled: /usr/local/lib/v2ray/geoip.dat\ninstalled: /usr/local/lib/v2ray/geosite.dat\ninstalled: /etc/v2ray/00_log.json\ninstalled: /etc/v2ray/01_api.json\ninstalled: /etc/v2ray/02_dns.json\ninstalled: /etc/v2ray/03_routing.json\ninstalled: /etc/v2ray/04_policy.json\ninstalled: /etc/v2ray/05_inbounds.json\ninstalled: /etc/v2ray/06_outbounds.json\ninstalled: /etc/v2ray/07_transport.json\ninstalled: /etc/v2ray/08_stats.json\ninstalled: /etc/v2ray/09_reverse.json\ninstalled: /var/log/v2ray/\ninstalled: /etc/rc.d/v2ray\n```\n\n## 依賴軟體\n\n### 安裝 Bash 和 cURL\n\n```\n# pkg_add bash curl\n```\n\n## 下載\n\n```\n# curl -O https://raw.githubusercontent.com/v2fly/openbsd-install-v2ray/master/install-release.sh\n```\n\n## 使用\n\n* 該腳本在執行時會提供 `info` 和 `error` 等訊息，請仔細閱讀。\n\n### 安裝和更新 V2Ray\n\n```\n# bash install-release.sh\n```\n\n### 移除 V2Ray\n\n```\n# bash install-release.sh --remove\n```\n\n## 參數\n\n```\nusage: install-release.sh [--remove | --version number | -c | -f | -h | -l | -p]\n  [-p address] [--version number | -c | -f]\n  --remove        Remove V2Ray\n  --version       Install the specified version of V2Ray, e.g., --version v4.23.0\n  -c, --check     Check if V2Ray can be updated\n  -f, --force     Force installation of the latest version of V2Ray\n  -h, --help      Show help\n  -l, --local     Install V2Ray from a local file\n  -p, --proxy     Download through a proxy server, e.g., -p http://127.0.0.1:8118 or -p socks5://127.0.0.1:1080\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2fly%2Fopenbsd-install-v2ray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv2fly%2Fopenbsd-install-v2ray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2fly%2Fopenbsd-install-v2ray/lists"}