The foundation
Node + npm
A compatible Node runtime runs the project. npm provides a small, consistent set of commands for the whole workflow.
SETUP / FIELD NOTES 001
An Astro development workspace with a background server and a public HTTPS preview. A few familiar tools, connected with one small process manager.
Explore the setupTHE SETUP
The foundation
A compatible Node runtime runs the project. npm provides a small, consistent set of commands for the whole workflow.
The development server
Astro renders the pages and watches for edits. Its native background mode keeps the server running after the terminal closes.
The public connection
Funnel forwards public HTTPS traffic to the local development server, giving the project a shareable browser preview.
AT THE TERMINAL
The project manager coordinates Astro and Funnel, selects a compatible installed Node runtime, and keeps the lifecycle commands in one place.
These are commands to run in the project’s terminal, not controls for this website.
npm run dev:startnpm run dev:stopnpm run dev:restartnpm run dev:statusnpm run dev:logs -- --followBEHIND THE PREVIEW
Astro listens on loopback. Funnel handles the public HTTPS connection, and Astro accepts the configured preview hostname.
The app runs as a regular user. If Tailscale requires elevated access, the manager tries noninteractive sudo for the Funnel operation.
The manager records its endpoint and checks it before changing routes. Stop removes the managed connection and shuts down Astro.
Background mode survives a closed terminal. Automatic recovery after a crash or reboot is not configured. Public reachability is checked separately from local server health.