Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Localias, securely manage local devserver aliases (github.com/peterldowns)
11 points by peterldowns on May 19, 2023 | hide | past | favorite | 4 comments
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 and access it at 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



I run an app with a bunch of separate processes managed in a Procfile invoked by 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!


Happy 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!


I really appreciate that this was released to work cross-platform.


Thanks 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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: