djed_dev 0.1.0
djed_dev: ^0.1.0 copied to clipboard
Valet-style local environment for Maat apps - *.test domains, trusted HTTPS, on-demand app processes.
0.1.0 #
Initial release.
- CLI:
install/uninstall [--purge],start/stop/restart [site],status,park [dir]/forget [dir],link [name] [dir]/unlink [name]/links,log [site] [-f],open [site],secure [--restart],daemon. - DNS: a UDP responder on
127.0.0.1:53535answering*.testwithA/AAAArecords; queries outside the tld are refused. - TLS: a local certificate authority plus one leaf whose SANs list every registered site (
name.test,*.name.test) alongsidetest,localhostand127.0.0.1; regenerated when the site list changes or the leaf nears expiry. - Proxy: HTTP on 80 and HTTPS on 443, routed by
Host, WebSocket tunnelling,X-Forwarded-*headers, inline 404/502 pages with the site's log tail. - App lifecycle: apps start on first request (
dart run bin/server.dartwithAPP_HOST/APP_PORT/APP_URL), stop after 15 minutes idle, restart whenlib/,routes/,config/,bootstrap/orpubspec.yamlchange. - macOS platform:
/etc/resolver, System keychain trust and a launchd agent, eachsudostep announced before it prompts. - Config:
~/.config/djed/config.json(or$DJED_HOME) tracks parked directories and links; a control socket reloads a running daemon without restarting it.