Skip to content

katzer/hidemyass2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIDE MY ASS! /2 Build Status Code Climate Test Coverage Dependency Status

Hide My Ass! /2 fetches lots of proxies to allow everyone to surf privately from anywhere.

  • Around 3.200 proxies

  • Fetched in real time within 2.5 sec

  • Sortable by speed, country, anonymity and many more

Installation

Add this line to your application's Gemfile:

gem 'hidemyass2'
gem 'nokogiri' # To get the full proxy list (optional)

And then execute:

$ bundle

Or install it yourself as:

$ gem install hidemyass2

Usage

From terminal execute:

$ bundle exec hidemyass

https://188.166.233.171:8080
http://187.85.207.47:3128
http://201.22.213.7:8080
https://103.253.146.197:8080
https://139.59.226.223:8080
socks4://80.255.139.145:1080
socks5://5.135.151.28:60088
...

For Ruby run:

require 'hidemyass'

HideMyAss.proxies { |p| p.country == 'germany' && p.https? }
#<HideMyAss::ProxyList:0x00000000000000 @proxies=[...]>

HideMyAss.proxies!.first
#<HideMyAss::Proxy:0x00000000000000 https://103.253.146.197:8080>

Refer to the Proxy class for more advanced usage and a complete list of properties like speed, ip, ssl?, anonym? or secure?.

Tip: Use proxies! to fetch the proxies just one time.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/appplant/hidemyass2.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

The gem is available as open source under the terms of the MIT License.

Made with 😋 from Leipzig

© 2016 appPlant GmbH