From a086203415efa41f2d24e74f1c344a949517c5ed Mon Sep 17 00:00:00 2001 From: akamachinecode <57374133+akamachinecode@users.noreply.github.com> Date: Thu, 12 Nov 2026 22:43:14 +0100 Subject: [PATCH 1/2] feat(site): questions before installing, and the pieces Exhale has Brings Portplane's website, README and repository in line with Exhale's. - "Before you install" on the landing page and "Questions before installing" in the README: what Portplane runs, what it installs, the network, leaving it, Windows, price and uninstalling. - README: a CI badge, and the commands to build and test from a clone. - The Pages workflow builds the site on pull requests (without publishing), so a guide that breaks scripts/sitedocs fails there. - Dependabot for Go modules, the web UI and GitHub Actions, weekly, with a 7-day cooldown. Co-Authored-By: Claude Opus 5.5 Signed-off-by: akamachinecode <57374133+akamachinecode@users.noreply.github.com> --- .github/dependabot.yml | 41 ++++++++++++++++++++++++++ .github/workflows/pages.yml | 39 +++++++++++++++++-------- README.md | 57 ++++++++++++++++++++++++++++++++++++- site/index.html | 12 ++++++++ site/style.css | 11 +++++++ 5 files changed, 147 insertions(+), 13 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ec2f976 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,41 @@ +# Dependency updates, weekly, never for a version published less than 7 days +# ago. +version: 2 +updates: + - package-ecosystem: gomod + directory: / + schedule: + interval: weekly + cooldown: + default-days: 7 + commit-message: + prefix: chore + include: scope + groups: + go-modules: + update-types: [minor, patch] + + - package-ecosystem: npm + directory: /web + schedule: + interval: weekly + cooldown: + default-days: 7 + commit-message: + prefix: chore + include: scope + groups: + web-dependencies: + update-types: [minor, patch] + + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + cooldown: + default-days: 7 + commit-message: + prefix: ci + groups: + actions: + patterns: ["*"] diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 3acb622..4284b78 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,36 +1,51 @@ name: Site +# Publishes akamachinecode.github.io/portplane: the landing page (site/) and +# the documentation pages made from docs/ by scripts/sitedocs. On a pull +# request the site is built (so a broken guide fails there) but not published. on: push: branches: [main] paths: [site/**, docs/**, scripts/sitedocs/**, .github/workflows/pages.yml] + pull_request: + paths: [site/**, docs/**, scripts/sitedocs/**, .github/workflows/pages.yml] workflow_dispatch: -permissions: - contents: read - pages: write - id-token: write +permissions: {} concurrency: - group: pages - cancel-in-progress: true + group: pages-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: - deploy: + build: + permissions: + contents: read runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deploy.outputs.page_url }} steps: - uses: actions/checkout@v7 + with: + persist-credentials: false - uses: actions/setup-go@v7 with: go-version-file: go.mod # the documentation pages, from the guides in docs/ - run: go run ./scripts/sitedocs - - uses: actions/configure-pages@v6 - - uses: actions/upload-pages-artifact@v5 + - if: github.event_name != 'pull_request' + uses: actions/upload-pages-artifact@v5 with: path: site + deploy: + if: github.event_name != 'pull_request' + needs: build + permissions: + pages: write # publish the site + id-token: write # prove the deployment comes from this workflow + environment: + name: github-pages + url: ${{ steps.deploy.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - uses: actions/configure-pages@v6 - id: deploy uses: actions/deploy-pages@v5 diff --git a/README.md b/README.md index 163d71e..e9dc1ef 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Stop hunting for `localhost:51xx`. Portplane shows every dev server across your [**Download**](https://akamachinecode.github.io/portplane/#download) · [Website](https://akamachinecode.github.io/portplane/) · [Docs](https://akamachinecode.github.io/portplane/docs/) · [Changelog](CHANGELOG.md) [![Latest release](https://img.shields.io/github/v/release/akamachinecode/portplane?color=10804a&label=release)](https://github.com/akamachinecode/portplane/releases/latest) +[![CI](https://github.com/akamachinecode/portplane/actions/workflows/ci.yml/badge.svg)](https://github.com/akamachinecode/portplane/actions/workflows/ci.yml) [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-5b5e67)](LICENSE) ![macOS · Linux · Windows](https://img.shields.io/badge/macOS%20·%20Linux%20·%20Windows-5b5e67) @@ -90,6 +91,50 @@ And it keeps three promises: Without dekit or portless, Portplane still lists the ports open on your machine and the folder each one serves. +## Questions before installing + +
+Does Portplane run my dev servers? + +No. [dekit](https://dekit.run) runs and supervises them; Portplane shows them and starts, stops or restarts them through dekit. Without dekit or portless, it still lists the ports open on your machine and the folder each one serves. +
+ +
+Do I have to install dekit and portless first? + +No. The guided setup installs dekit, portless and Node.js for you and sets up HTTPS and browser trust, on this computer and on the machines you reach over SSH. +
+ +
+Does it open anything on my network? + +No. The UI lives on loopback, and other machines are reached only over SSH, with your keys. Others see an app only when you share it: with your tailnet, publicly with Tailscale Funnel, ngrok or Cloudflare, or on your Wi-Fi. +
+ +
+What happens if I stop using Portplane? + +Nothing breaks. The config it writes is plain dekit YAML that you can keep using without Portplane. +
+ +
+Does it work on Windows? + +Yes, as a beta until someone uses it every day: Windows 10 and 11, x64 and ARM64. macOS and Linux are fully supported. +
+ +
+Is it really free? + +Yes. Portplane is open source under Apache-2.0, with no accounts, no cloud and no telemetry. +
+ +
+How do I uninstall it? + +Run `portplane autostart off` if you turned it on, then remove the app and its settings and cache folders. The [install guide](docs/install.md#uninstall) lists them for each system. +
+ ## Status Portplane is young (v0.x) and moving fast towards v1.0: expect rough edges, and tell us about them in [Issues](https://github.com/akamachinecode/portplane/issues). The [roadmap](docs/roadmap.md) shows what's next. @@ -102,7 +147,17 @@ Portplane is young (v0.x) and moving fast towards v1.0: expect rough edges, and ## Contributing -Contributions are welcome: see [CONTRIBUTING.md](CONTRIBUTING.md). Report security issues privately: [SECURITY.md](SECURITY.md). +Contributions are welcome: read [CONTRIBUTING.md](CONTRIBUTING.md) and [AGENTS.md](AGENTS.md), the map of the code for people and coding agents. Every technical decision is recorded as an [ADR](docs/adr/README.md). + +```sh +git clone https://github.com/akamachinecode/portplane && cd portplane +mise install # Go, Node, pnpm and the other tools +mise run build # builds the web UI into the binary: bin/portplane +./bin/portplane # the window, with a menu-bar or tray icon +mise run test # Go and web tests +``` + +Report security issues privately: [SECURITY.md](SECURITY.md). ## License diff --git a/site/index.html b/site/index.html index 55847ed..41bc5f2 100644 --- a/site/index.html +++ b/site/index.html @@ -168,6 +168,18 @@

Or install from the terminal

The script checks the SHA-256 of what it downloads, and the signature too when cosign is installed. Then open Portplane: its guided setup installs dekit and portless for you. Details in the install guide.

+
+

Before you install

+
+
Does Portplane run my dev servers?

No. dekit runs and supervises them; Portplane shows them and starts, stops or restarts them through dekit. Without dekit or portless, it still lists the ports open on your machine and the folder each one serves.

+
Do I have to install dekit and portless first?

No. The guided setup installs dekit, portless and Node.js for you and sets up HTTPS and browser trust, on this computer and on the machines you reach over SSH.

+
Does it open anything on my network?

No. The UI lives on loopback, and other machines are reached only over SSH, with your keys. Others see an app only when you share it: with your tailnet, publicly with Tailscale Funnel, ngrok or Cloudflare, or on your Wi-Fi.

+
What happens if I stop using Portplane?

Nothing breaks. The config it writes is plain dekit YAML that you can keep using without Portplane.

+
Does it work on Windows?

Yes, as a beta until someone uses it every day: Windows 10 and 11, x64 and ARM64. macOS and Linux are fully supported.

+
Is it really free?

Yes. Portplane is open source under Apache-2.0, with no accounts, no cloud and no telemetry.

+
How do I uninstall it?

Run portplane autostart off if you turned it on, then remove the app and its settings and cache folders. The install guide lists them for each system.

+
+