PLN

PLN

Devname

1 min read
  • #cli
  • #agent
  • #dx
  • #oss
  • #web
  • #meta
  • #devname
  • #localhost

I got tired of memorizing variations of 127.0.0.1:1234.

I'm tired boss of localhost:1234.
Of memorizing, for each local runnign project, yet another sequence of digits like a 2fa code.

And damn I've been running a lot of local webservers these days : the fun art project at 127.0.0.1:1234 and my blog rebuild draft at localhost:8888 and random test servers and hot-reloading game-of-life and databases and... a beautiful mess :')

So i made devname : a little daemon, and a CLI,
that allow each project, each agent, to book a local domain.

devname.localhost: main page, listing all others)
devname.localhost: main page, listing all others)

The CLI is quite minimalist:

devname ensure myapp    # books monapp.localhost
devname ls
# ->
# bench.sre.localhost   8895   down  bench dashboard
# decisions.localhost   8017   up    decision gateway (d3-nano), key required
# lmstudio.localhost    1234   up    LM Studio OpenAI-compatible server
# www.localhost         17005  up    personal site static export preview
# ...

Under the hood

Devname wraps Caddy in wildcard mode: it listens on :80/:443 and maps each to its port, refusing anything outside loopback.

Ready in beta

Let me know what you make of it :)


Comments

Comments are loading…

Light markdown: **bold**, *italic*, `code`, [link](https://…), ![image](https://…).