Skip to content

Nexus 0.7.0

Choose a tag to compare

@RoodFruit RoodFruit released this 21 Nov 11:12
· 66 commits to main since this release
Immutable release. Only release title and notes can be modified.
5810624

Nexus 0.7.0: share a site through a public link

🔗 Share a site with one click

The new Share button on the Site screen opens a public link to the site or to a workspace. Send the address to a client, a colleague or your phone. The link goes through Cloudflare and needs no account.

  • A check first. A window shows the options of the link before it opens: when the link ends (after 1, 4 or 8 hours, or when you stop it), a password for visitors, hidden error details and the list of requests. Settings > Sharing has the defaults.
  • In the terminal. nexus share opens a link to the site of the current folder and prints its address with a QR code. nexus share stop stops it, and nexus share list shows the open links.
  • You see each link. The menu bar panel, the Overview and the Site screen show the open links. The Share panel shows the number of visitors and the last visit. "Stop all" in the menu bar panel or the Overview stops each link in one step.
  • cloudflared, the program that makes the public links, comes from the downloads of Nexus. Nexus installs it at the first share.

🛡 Visitors see only the site

  • Hidden errors. Visitors see a plain error page. They do not see your code, your settings or tools such as Telescope, Horizon and Ignition. You still see each error in Nexus.
  • A password. Visitors type the password before they see a page. Webhooks and other requests that send data do not need it.
  • No search engines. Each answer of a link tells search engines not to index it.

🌐 The site works through the link

  • Laravel sees the public address. So its links, redirects and signed URLs use that address.
  • WordPress and other sites keep their local address. Nexus changes the addresses in the pages and the redirects for the visitor.
  • Vite. Visitors get the styles and scripts from the dev server, and your hot reload stays on. A site with an older Vite version gets a build.

📬 The requests of a link in the dump viewer

Turn on "Keep a list of the requests" to see each request through a link with its headers, its body and its dumps. This helps you check a webhook. The filter "Public link" shows only these requests. The list stays on your Mac, and Nexus deletes it when the link ends. A coding agent reads the list with the new MCP tool read_link_requests.

🏷 Your own domain

A link gets a new random address each time. With your own domain at Cloudflare, a link keeps a fixed address such as shop.example.com, also after a sleep of your Mac.

  • Settings > Sharing > "Set Up…" connects the domain in 3 steps. You log in at Cloudflare and click Authorize.
  • Nexus adds a DNS record for each site. It never changes a record that it did not make.
  • "Disconnect…" stops the links and removes the tunnel and the records of Nexus.

🛠 And more

  • A random address stops when your Mac sleeps. A notification then tells you to share the site again.