Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
mehserve-test
Advanced tools
A simple port-sharing proxy for development on multiple local domains, supports websockets
A simple port-sharing proxy for development on multiple local domains, supports websockets, SSL, and queuing requests whilst development server restarts.
Host
HTTP headermehserve run --exponential-backoff
will automatically re-attempt requests
when your development server restarts (e.g. due to file changes) saving
you from receiving the error page in the intervening seconds (ALPHA)I've been using this for a couple years now, it's been very smooth for me. YMMV. This is NOT for production usage, it's only intended for use on your own development machine!
Mehserve itself should run on Linux and OS X, but to have .meh / .dev domains resolve to localhost and to have it run on port 80 you need to do a little additional configuration.
We've currently only instructed you how to do this on OS X and Ubuntu; pull requests welcome.
npm install -g mehserve
mehserve install
follow the instructions to set up port forwarding and DNS resolution.
To run the server:
mehserve run
We don't currently daemonize the server, pull requests to add this
functionality would be welcome. In the mean time we recommend you set up
pm2
and then tell it to
run mehserve with:
pm2 run /path/to/mehserve -- run --exponential-backoff && pm2 dump
To set up a subdomain, simply run
mehserve add mysite 1337
This'll tell mehserve to proxy all HTTP requests for mysite.dev
, mysite.meh
, mysite.test
and mysite.*.*.*.*.xip.io
to localhost:1337
Alternatively, to serve static files:
mehserve add staticsite /path/to/public
This'll tell mehserve to serve static content from /path/to/public/
to anyone
requesting http://staticsite.dev/
If you want a local domain to be served with SSL you must generate a certificate for it:
mehserve ssl staticsite
Then follow the instructions.
This is an issue with discoveryd (it also affects Pow - see https://github.com/basecamp/pow/issues/471) - should be fixed by updating to OS X 10.10.4
Pull requests welcome!
mehserve
└── extras
├── macos-launchd
├── supervisord
├── systemd
└── systemv
node
formula dependency) Homebrew CONTRIBUTINGFAQs
A simple port-sharing proxy for development on multiple local domains, supports websockets
We found that mehserve-test demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.