4 ms·
Show HN: Localias, securely manage local devserver aliases
Hey HN, Localias is a new tool that you can use to securely manage your local development servers.
Use localias to securely proxy a local development server running on http://localhost:3000 http://localhost:3000 and access it at https://frontend.test https://frontend.test.
Localias is built on top of Caddy, so it's secure and performant. And because it's built on top of Caddy, it will automatically generate and install a custom root certificate, and automatically generate and sign certificates for each of your aliases.
This all works by editing your /etc/hosts file and generating a Caddy config, then running the proxy server for you either in the foreground or as a daemon. It's easier to deal with than running Caddy yourself.
Your whole team can share a configuration file in your git repo, making it easier to share URLs with each other while developing.
I hope you try it out and find it useful! The code is MIT-licensed and I'm happy to accept any feedback, feature requests, PRs, or comments.
Have a good weekend,
Peter
- zallarak 3y agoI really appreciate that this was released to work cross-platform.
- peterldowns 3y agoThanks Zain :) I tried hard to make it easy to install via homebrew, nix, go, or just downloading an executable. If anyone reading this runs into a problem getting it set up, please let me know here or by filing a Github issue and I'll take a look.
- jmduke 3y agoI run an app with a bunch of separate processes managed in a Procfile invoked by Overmind (https://github.com/DarthSim/overmind https://github.com/DarthSim/overmind): ``` app-web: cd app && poetry run invoke server app-vite: cd app && pnpm dev app-storybook: cd app && pnpm story:dev api: cd api && poetry run invoke server docs: cd docs && npm run dev marketing: cd marketing && source .env && npm run dev ``` Maybe it's my getting older, but I've found it _infuriating_ to remember which process is bound to 3003 vs 3002 vs 3001 and so on. Very grateful for this project so I can save myself a couple seconds of frustration every day — t/y OP for building it!
- peter_l_downs 3y agoHappy to be able to make frontend dev just a little bit easier for you :) Thanks for inspiring me to build this in the first place!