proxy_rotator
Version, currently 0.13 versions
- 0.1latestSep 5, 2019
- 0.0.9not indexedSep 6, 2019
- v.0.1.1not indexedSep 6, 2019
github.com/confact/proxy_rotator.cr
A HTTP Proxy rotator written in Crystal
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
proxy_rotator:
github: confact/proxy_rotator.cr
version: ~> 0.1Then run:
shards installshard.yml
- Crystal
0.30.0- License
- MIT
- Authors
- Theo Li, Anton Maminov, confact
Dependencies
This version declares no dependencies.
README
proxy
A HTTP Proxy rotator written in Crystal inspired by Ruby's WEBrick::HTTPProxyServer
Installation
Add this to your application's shard.yml:
dependencies:
proxy_rotator:
github: confact/proxy_rotator.cr
Usage
require "http/proxy"
server = HTTP::Proxy::Server.new(8080, [
HTTP::LogHandler.new,
])
address = server.bind_tcp 8080
puts "Listening on http://#{address}"
server.listen
have a file of proxies named proxylist.txt in same folder as the sample file, like in the samples folder if you want to run that one. you can also change the path to the file by setting the env PROXYLIST_PATH to the path to the file.
The structure is:
ip:port:username:password
one proxy per line
Development
- [x] Basic HTTP Proxy: GET, POST, PUT, DELETE support
- [x] Basic HTTP Proxy: OPTIONS support
- [X] HTTPS Proxy: CONNECT support
- [x] Make context.request & context.response writable
- [x] Basic (Proxy) Authorization support
- [ ] MITM HTTPS Proxy
Contributing
- Fork it ( https://github.com/bbtfr/proxy/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1- Tagged
- Sep 5, 2019
- Commit
f9c37c8069e3- Crystal
0.30.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/confact/proxy_rotator.cr
Metadata
- Created
- Aug 17, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 3