Giter Club home page Giter Club logo

homebrew-v2ray's Introduction

homebrew v2ray Build Status

The homebrew tap for v2ray-core.

NOTE: v2ray-core has entered homebrew-core.

We suggest installing v2ray-core with brew install v2ray.

However, you can continue using this tap.


Install v2ray-core

step 1: Add official tap

brew tap v2ray/v2ray

step 2: Install v2ray-core:

brew install v2ray-core

Update v2ray-core

step 1: update tap

brew update

step 2: update v2ray-core

brew upgrade v2ray-core

Uninstall v2ray-core

step 1: uninstall core

brew uninstall v2ray-core

step 2: untap official formula

brew untap v2ray/v2ray

Usage

once you installed, you can run command via v2ray to run v2ray-core.

The defualt config file location is:/usr/local/etc/v2ray/config.json

step 1: edit the default config:

vim /usr/local/etc/v2ray/config.json

step 2: run v2ray-core without starting at login.

brew services run v2ray-core

or run v2ray-core and register it to launch at login via:

brew services start v2ray-core

homebrew-v2ray's People

Contributors

darienraymond avatar doublemine avatar epliar avatar jiahut avatar kidonng avatar kslr avatar ricuhkaen avatar timqi avatar wi1dcard avatar xiagw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-v2ray's Issues

Mac OS 13.4.1 ,setup fail.

brew install v2ray-core
==> Downloading https://formulae.brew.sh/api/formula.jws.json
########################################################################################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
########################################################################################################################################## 100.0%
Error: v2ray-core: Calling plist_options is disabled! Use service.require_root instead.
Please report this issue to the v2ray/v2ray tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/v2ray/homebrew-v2ray/Formula/v2ray-core.rb:19

自动触发Travis Build

看起来这个tap已经可以由travis-ci来更新了。我可以在v2ray-core的repo中加一些东西来自动触发这个repo的build,大概有两种方式:

  1. 你使用一个类似ifttt的工具,接收webhook请求,然后触发一个新的travis build。然后我使用github提供的webhook机制来通知你。
  2. 我在release脚本中加一些内容,主动触发你的travis build。这种方式需要你提供travis的api token。

你觉得如何?

感谢你对Project V的支持和帮助。

brew services start v2ray-core failed on MacOS 12.1

brew services start v2ray-core
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/zhousuhua/Library/LaunchAgents/homebrew.mxcl.v2ray-core.plist exited with 5.

Wrong hash with 4.20.0

Seems v4.20.0 have wrong hash via the commit, I don't know why change the hash.
but I'm using wget download direct form github,the sha256 sum was

18629a1453c504a954c3aa0f25f219c92a56cb54b3353411360bb5a59707edf7

but the package said

e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

brew tap v2ray/v2ray failed on macOS 11.0

$ brew tap v2ray/v2ray
Updating Homebrew...
==> Tapping v2ray/v2ray
Cloning into '/usr/local/Homebrew/Library/Taps/v2ray/homebrew-v2ray'...
remote: Enumerating objects: 101, done.
remote: Counting objects: 100% (101/101), done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 649 (delta 43), reused 64 (delta 25), pack-reused 548
Receiving objects: 100% (649/649), 85.23 KiB | 2.18 MiB/s, done.
Resolving deltas: 100% (275/275), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/v2ray/homebrew-v2ray/Formula/v2ray-core.rb
v2ray-core: undefined method `caveats' for #<Class:0x00007fde43981740>
Error: Cannot tap v2ray/v2ray: invalid syntax in tap!

`brew services start v2ray-core` failed.

The geoip.dat file and geosite.dat file should be placed in the bin folder, otherwise brew services start v2ray-core will fail.

version: 4.33.0
current path of geoip.dat file and geosite.dat file: /usr/local/Cellar/v2ray-core/4.33.0/share/
correct path of geoip.dat file and geosite.dat file: /usr/local/Cellar/v2ray-core/4.33.0/bin/

About the License

Hi Guys,
What is the license of this repo? Could I use the checker.sh with the MIT license?
Thanks!

cannot be installed as binary package and must be built from source

Hi

I tried to install via homebrew but seem formula is broken

Updating Homebrew...
==> Installing v2ray-core from v2ray/v2ray
==> Downloading https://github.com/v2ray/v2ray-core/releases/download/v4.25.0/v2ray-macos.zip
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/41912791/06a49580-b287-11ea-97cc-891edf5aa2b6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=
######################################################################## 100.0%
Error: The following formula
  v2ray-core
cannot be installed as binary package and must be built from source.
Install the Command Line Tools:
  xcode-select --install```

Please help

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.