envy
Version, currently master branch1 version
- master branchlatestDec 17, 2018
github.com/whalesalad/envy
Envy is a debug server that will print its' own environment variables.
Installation
# Add this to your shard.yml
dependencies:
envy:
github: whalesalad/envy
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.27.0- License
- MIT
- Author
- Michael Whalen
- Target
envyfrom src/envy.cr
Dependencies
This version declares no dependencies.
README
Envy
Envy intends to be a very straightforward server that will print its' own environment variables.
I built this to have a quick-n-dirty binary I can run inside of the Firecracker microVM to test certain things.
Expect it to grow and gain more functionality, but it will always be a simple json loopback-style debug server.
Example Output
{
"environment": {
"HOME": "/Users/michael",
"PWD": "/Users/michael/Code/envy",
"RACK_ENV": "development",
"RAILS_ENV": "development",
"SHELL": "/bin/zsh",
},
"uname": "Darwin loki 18.2.0 Darwin Kernel Version 18.2.0: Mon Nov 12 20:24:46 PST 2018; root:xnu-4903.231.4~2/RELEASE_X86_64 x86_64",
"hostname": "loki"
}
Building & Running
First we build:
shard build
Then we run:
./bin/envy
The PORT environment variable is used to determine where it binds, defaulting to 8080
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Dec 17, 2018
- Crystal
0.27.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/whalesalad/envy
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1