Skip to content

Envy is a debug server that will print its' own environment variables.

License

Notifications You must be signed in to change notification settings

whalesalad/envy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Envy is a debug server that will print its' own environment variables.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published