@doguyilmaz/tapster 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +87 -76
  2. package/dist/cli.js +250 -246
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,102 +1,113 @@
1
- <p><img src="https://raw.githubusercontent.com/doguyilmaz/tapster/main/site/public/logo-512.png" width="112" alt="The tapster octopus, a courier carrying sealed parcels"></p>
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/doguyilmaz/tapster/main/site/public/logo-512.png" width="128" height="128" alt="The tapster octopus, a courier carrying sealed parcels">
3
+ </p>
2
4
 
3
- # tapster
5
+ <h1 align="center">tapster</h1>
4
6
 
5
- tapster turns your Homebrew tap into the one place that signs, notarizes and publishes the releases of all your
6
- projects. Each project builds its files and opens a draft release. It holds no signing certificate, no notary key and
7
- no tap token.
7
+ <p align="center">
8
+ Sign, notarize and publish your projects' releases from one Homebrew tap.<br>
9
+ Set it up in your browser. Keep your keys in your own accounts.
10
+ </p>
8
11
 
9
- **Tutorial and docs: [tapster.doguyilmaz.com](https://tapster.doguyilmaz.com/)**\
10
- **npm: [@doguyilmaz/tapster](https://www.npmjs.com/package/@doguyilmaz/tapster)**
12
+ <p align="center">
13
+ <a href="https://tapster.doguyilmaz.com">Documentation</a> ·
14
+ <a href="https://tapster.doguyilmaz.com/tutorial/before/">Quick start</a> ·
15
+ <a href="https://github.com/doguyilmaz/tapster/releases/latest">Releases</a>
16
+ </p>
11
17
 
12
- ## Set it up in your browser
18
+ ---
13
19
 
14
- You need [Bun](https://bun.sh) and the GitHub CLI, signed in with `gh auth login`. Signing for macOS also needs an Apple
15
- Developer account.
20
+ tapster turns your Homebrew tap into a release hub for all your projects. Each project builds its files and opens
21
+ a draft release. The hub verifies the files, signs and notarizes macOS code, then publishes the release and updates
22
+ your package repositories. Projects need no signing certificate, notary key or tap token.
23
+
24
+ ## Install
25
+
26
+ With Homebrew on macOS or Linux:
16
27
 
17
28
  ```sh
18
- bunx @doguyilmaz/tapster
29
+ brew install --cask doguyilmaz/tap/tapster
19
30
  ```
20
31
 
21
- If tapster is already installed, run `tapster`. Use `tapster --help` for commands and options.
22
- `tapster setup` remains available as an alias.
32
+ Homebrew and standalone installs do not need Bun. Standalone binaries for macOS and Linux (ARM64 and x86-64) are
33
+ available in [Releases](https://github.com/doguyilmaz/tapster/releases/latest).
34
+ Extract the archive and put `tapster` on your `PATH`.
23
35
 
24
- A page opens in your browser, served by your own computer. It walks you through every step and shows what each one
25
- changes on GitHub:
36
+ <details>
37
+ <summary>Use Bun or npm instead</summary>
26
38
 
27
- 1. **Choose or create your tap.** It becomes your hub.
28
- 2. **Protect it, create its GitHub App and store your Apple files.** Drop the `.p12` and `.p8`; your password manager
29
- can keep the `.p12` password.
30
- 3. **Write the hub files.** tapster commits them to your tap through GitHub; you need no clone of it.
31
- 4. **Add your projects.** tapster finds the projects cloned on your computer, prepares their release workflows, protects
32
- them and proposes them to the hub.
39
+ These options need [Bun](https://bun.sh) 1.4.0 or later, including when installing with npm.
33
40
 
34
- Then click **Release** on a project. tapster tags its latest commit on GitHub and shows the release until the hub has
35
- published it. The [tutorial](https://tapster.doguyilmaz.com/tutorial/before/) shows every step.
41
+ | Method | Command |
42
+ | --- | --- |
43
+ | Install with Bun | `bun add -g @doguyilmaz/tapster` |
44
+ | Install with npm | `npm install -g @doguyilmaz/tapster` |
45
+ | Run without installing | `bunx @doguyilmaz/tapster` |
36
46
 
37
- Prefer a terminal? Run `bunx @doguyilmaz/tapster init` in a clone of your tap and `bunx @doguyilmaz/tapster add` in
38
- each project. See [Set up from a terminal](https://tapster.doguyilmaz.com/guides/terminal/).
47
+ The npm package is [@doguyilmaz/tapster](https://www.npmjs.com/package/@doguyilmaz/tapster).
39
48
 
40
- ## How it works
49
+ </details>
41
50
 
42
- ```
43
- project (tag v1.2.3) hub: you/homebrew-tap
44
- builds, attests, holds no keys runs tapster on a schedule or when rung
45
- -> draft release + checksums.txt -> checks every file against the project's build
46
- signs and notarizes the macOS code
47
- publishes the release
48
- writes the cask, the Scoop manifest and the apt and dnf repositories
51
+ ## Start
52
+
53
+ Install the [GitHub CLI](https://cli.github.com), sign in and open tapster:
54
+
55
+ ```sh
56
+ gh auth login
57
+ tapster
49
58
  ```
50
59
 
51
- It publishes Go tools built with GoReleaser, command line tools written for Bun and Mac apps that update with Sparkle.
52
- Users install them with Homebrew, Scoop, apt or dnf. When something needs you, such as a certificate that expires
53
- soon, the hub opens an issue and closes it once all is well.
60
+ The page runs on your own computer. It walks you through setup and shows what each step changes on GitHub:
54
61
 
55
- ## Your keys stay in your accounts
62
+ 1. **Choose or create your tap.** It becomes your release hub.
63
+ 2. **Protect the hub and connect GitHub.** Create its GitHub App and, for macOS signing, add your Apple certificate
64
+ and notary key. Signing needs an Apple Developer account and Xcode command line tools.
65
+ 3. **Write the hub files.** tapster commits them through GitHub; you need no clone of the tap.
66
+ 4. **Add your projects and release.** tapster finds local clones and prepares their release workflows. Click
67
+ **Release** to tag a project and follow it through publication.
56
68
 
57
- tapster has no server. Your Apple certificate, notary key and App key are secrets of your hub's `tapster` environment,
58
- which only its `main` branch can open. Projects hold no signing keys. No one else, including tapster's author, ever
59
- receives them. tapster's own code uses them only inside your hub's runs, at the commit your hub workflow pins. Read the
60
- [security model](https://tapster.doguyilmaz.com/reference/security/).
69
+ The [tutorial](https://tapster.doguyilmaz.com/tutorial/before/) covers every step. To keep the page available at login,
70
+ run `tapster service install`; see [Keep setup running](https://tapster.doguyilmaz.com/guides/service/).
61
71
 
62
- ## The Action
72
+ Prefer a terminal? Run `tapster init` in a clone of your tap and `tapster add` in each project.
73
+ Use `tapster --help` for commands and options. `tapster setup` is also available as an alias for `tapster`.
63
74
 
64
- You do not write the hub workflow yourself: the setup writes it and pins this Action by commit. If you added the Action
65
- from the Marketplace first, run it once. With no `mode` it runs a guide: its run summary checks your repository and
66
- shows the next step.
75
+ ## Supported projects
67
76
 
68
- ```yaml
69
- on: workflow_dispatch
70
- jobs:
71
- guide:
72
- runs-on: ubuntu-24.04
73
- steps:
74
- - uses: doguyilmaz/tapster@v1.2.0
75
- ```
77
+ | Project | Release integration |
78
+ | --- | --- |
79
+ | Go tools | [GoReleaser](https://tapster.doguyilmaz.com/guides/goreleaser/) |
80
+ | Bun command line tools | [Bun builds](https://tapster.doguyilmaz.com/guides/bun/) |
81
+ | Mac apps | [Sparkle updates](https://tapster.doguyilmaz.com/guides/sparkle/) |
82
+
83
+ Users install your releases through Homebrew, Scoop, apt or dnf. The hub opens an issue when something needs your
84
+ attention, such as a certificate expiring, and closes it once resolved.
85
+
86
+ Setup writes the hub's GitHub Actions workflow and pins tapster by commit. If you added the [Action](action.yml)
87
+ from the Marketplace first, run it without a `mode` to get a setup guide in the run summary.
88
+
89
+ ## Security
90
+
91
+ Your Apple certificate, notary key and App key stay in your hub's `tapster` environment, which only its `main` branch
92
+ can open. Projects hold no signing keys. tapster uses the keys inside your hub's runs, at the commit your workflow
93
+ pins; no credentials go to tapster's author or a hosted tapster service.
94
+ Read the [security model](https://tapster.doguyilmaz.com/reference/security/).
95
+
96
+ ## Documentation
97
+
98
+ | Task | Guide |
99
+ | --- | --- |
100
+ | Set up your first hub | [Tutorial](https://tapster.doguyilmaz.com/tutorial/before/) |
101
+ | Set up without the browser | [Terminal setup](https://tapster.doguyilmaz.com/guides/terminal/) |
102
+ | Keep tapster running and up to date | [Background service](https://tapster.doguyilmaz.com/guides/service/) · [Upgrades](https://tapster.doguyilmaz.com/guides/upgrade/) |
103
+ | Look up commands and configuration | [Commands](https://tapster.doguyilmaz.com/reference/commands/) · [tapster.yml](https://tapster.doguyilmaz.com/reference/config/) |
104
+ | Fix a problem | [Troubleshooting](https://tapster.doguyilmaz.com/reference/troubleshooting/) |
105
+
106
+ More guides are on the [documentation site](https://tapster.doguyilmaz.com).
107
+ Design documents are in [docs/superpowers/specs](docs/superpowers/specs).
76
108
 
77
- To move a hub to a newer release, see [Upgrade tapster](https://tapster.doguyilmaz.com/guides/upgrade/).
78
-
79
- ## Docs
80
-
81
- - [Tutorial](https://tapster.doguyilmaz.com/tutorial/before/): from an empty tap to an installed release
82
- - Guides: [Set up from a terminal](https://tapster.doguyilmaz.com/guides/terminal/),
83
- [GoReleaser](https://tapster.doguyilmaz.com/guides/goreleaser/),
84
- [Bun](https://tapster.doguyilmaz.com/guides/bun/),
85
- [Mac apps with Sparkle](https://tapster.doguyilmaz.com/guides/sparkle/),
86
- [apt and dnf](https://tapster.doguyilmaz.com/guides/linux/),
87
- [the doorbell](https://tapster.doguyilmaz.com/guides/doorbell/),
88
- [automatic releases and workflow tags](https://tapster.doguyilmaz.com/guides/auto-tag/),
89
- [Dependabot](https://tapster.doguyilmaz.com/guides/dependabot/),
90
- [certificates of single apps](https://tapster.doguyilmaz.com/guides/certificates/),
91
- [key rotation](https://tapster.doguyilmaz.com/guides/rotate/),
92
- [upgrades](https://tapster.doguyilmaz.com/guides/upgrade/)
93
- - Reference: [Commands](https://tapster.doguyilmaz.com/reference/commands/),
94
- [tapster.yml](https://tapster.doguyilmaz.com/reference/config/),
95
- [Security](https://tapster.doguyilmaz.com/reference/security/),
96
- [Troubleshooting](https://tapster.doguyilmaz.com/reference/troubleshooting/)
97
-
98
- The design documents are in [docs/superpowers/specs](docs/superpowers/specs).
109
+ <!-- Documentation pages retain trailing slashes because the site redirects slashless paths to those canonical URLs. -->
99
110
 
100
111
  ## License
101
112
 
102
- MIT
113
+ [MIT](LICENSE)