http_distributor
Version, currently 0.1.01 version
- 0.1.0latestJul 3, 2016
github.com/Nephos/http_distributor
http server which allows sneaky http request though it.
Installation
# Add this to your shard.yml
dependencies:
http_distributor:
github: Nephos/http_distributor
version: ~> 0.1.0Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Arthur Poulet
Dependencies
Runtime Dependencies
- kemal*github: sdogruyol/kemal
- crystal_random_agent*github: Nephos/crystal_random_agent
README
http_distributor
http server which allows sneaky http request though it.
Installation
Be sure you have crystal > 0.18
crystal deps
crystal compile ./src/http_distributor --release
Deploy on heroku
according to crystal-lang.org
cd http_distributor/
heroku create --buildpack https://github.com/crystal-lang/heroku-buildpack-crystal.git
git push heroku master
Usage
Start
./http_distributor [--port=PORT]
### Configuration
#### Environment variables
change_agent_probabilitywait_fixedwait_random_minandwait_random_maxwait_delay_coefficient
Routes
/get/url_base64_encoded/get/config/get/domains/get/ping
Important
You need an authentication token to do any request.
This token may be specified in an environment variable AUTH_TOKEN.
If the token is not specified, it is automatically created when the server
starts, randomly, and wrote on the stderr.
The auth token must be specified in query parameter.
Example: /get/xxx?auth_token=xxx
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/Nephos/http_distributor/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
- Nephos Arthur Poulet - creator, maintainer
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.0- Tagged
- Jul 3, 2016
- Commit
fc910e580abb- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Nephos/http_distributor
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 14, 2026
- Synced
- Aug 14, 2026
- Versions
- 1