@doguyilmaz/tapster 0.0.0-stage → 1.1.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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +95 -2
  3. package/dist/cli.js +1447 -0
  4. package/package.json +58 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Dogu Yilmaz
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,96 @@
1
- # Temporary Holding Version
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>
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ # tapster
4
+
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.
8
+
9
+ **Tutorial and docs: [tapster.doguyilmaz.com](https://tapster.doguyilmaz.com/)**
10
+
11
+ ## Set it up in your browser
12
+
13
+ You need [Bun](https://bun.sh) and the GitHub CLI, signed in with `gh auth login`. Signing for macOS also needs an Apple
14
+ Developer account.
15
+
16
+ ```sh
17
+ bunx @doguyilmaz/tapster setup
18
+ ```
19
+
20
+ A page opens in your browser, served by your own computer. It walks you through every step and shows what each one
21
+ changes on GitHub:
22
+
23
+ 1. **Choose or create your tap.** It becomes your hub.
24
+ 2. **Protect it, create its GitHub App and store your Apple files.** Drop the `.p12` and `.p8`; your password manager
25
+ can keep the `.p12` password.
26
+ 3. **Write the hub files.** tapster commits them to your tap through GitHub; you need no clone of it.
27
+ 4. **Add your projects.** tapster finds the projects cloned on your computer, prepares their release workflows, protects
28
+ them and proposes them to the hub.
29
+
30
+ Then push a tag in a project. The [tutorial](https://tapster.doguyilmaz.com/tutorial/before/) shows every step.
31
+
32
+ Prefer a terminal? Run `bunx @doguyilmaz/tapster init` in a clone of your tap and `bunx @doguyilmaz/tapster add` in
33
+ each project. See [Set up from a terminal](https://tapster.doguyilmaz.com/guides/terminal/).
34
+
35
+ ## How it works
36
+
37
+ ```
38
+ project (push tag v1.2.3) hub: you/homebrew-tap
39
+ builds, attests, holds no keys runs tapster on a schedule or when rung
40
+ -> draft release + checksums.txt -> checks every file against the project's build
41
+ signs and notarizes the macOS code
42
+ publishes the release
43
+ writes the cask, the Scoop manifest and the apt and dnf repositories
44
+ ```
45
+
46
+ It publishes Go tools built with GoReleaser, command line tools written for Bun and Mac apps that update with Sparkle.
47
+ Users install them with Homebrew, Scoop, apt or dnf. When something needs you, such as a certificate that expires
48
+ soon, the hub opens an issue and closes it once all is well.
49
+
50
+ ## Your keys stay in your accounts
51
+
52
+ tapster has no server. Your Apple certificate, notary key and App key are secrets of your hub's `tapster` environment,
53
+ which only its `main` branch can open. Projects hold no signing keys. No one else, including tapster's author, ever
54
+ receives them. tapster's own code uses them only inside your hub's runs, at the commit your hub workflow pins. Read the
55
+ [security model](https://tapster.doguyilmaz.com/reference/security/).
56
+
57
+ ## The Action
58
+
59
+ You do not write the hub workflow yourself: the setup writes it and pins this Action by commit. If you added the Action
60
+ from the Marketplace first, run it once. With no `mode` it runs a guide: its run summary checks your repository and
61
+ shows the next step.
62
+
63
+ ```yaml
64
+ on: workflow_dispatch
65
+ jobs:
66
+ guide:
67
+ runs-on: ubuntu-24.04
68
+ steps:
69
+ - uses: doguyilmaz/tapster@v1.1.0
70
+ ```
71
+
72
+ To move a hub to a newer release, see [Upgrade tapster](https://tapster.doguyilmaz.com/guides/upgrade/).
73
+
74
+ ## Docs
75
+
76
+ - [Tutorial](https://tapster.doguyilmaz.com/tutorial/before/): from an empty tap to an installed release
77
+ - Guides: [Set up from a terminal](https://tapster.doguyilmaz.com/guides/terminal/),
78
+ [GoReleaser](https://tapster.doguyilmaz.com/guides/goreleaser/),
79
+ [Bun](https://tapster.doguyilmaz.com/guides/bun/),
80
+ [Mac apps with Sparkle](https://tapster.doguyilmaz.com/guides/sparkle/),
81
+ [apt and dnf](https://tapster.doguyilmaz.com/guides/linux/),
82
+ [the doorbell](https://tapster.doguyilmaz.com/guides/doorbell/),
83
+ [workflow tags](https://tapster.doguyilmaz.com/guides/auto-tag/),
84
+ [Dependabot](https://tapster.doguyilmaz.com/guides/dependabot/),
85
+ [key rotation](https://tapster.doguyilmaz.com/guides/rotate/),
86
+ [upgrades](https://tapster.doguyilmaz.com/guides/upgrade/)
87
+ - Reference: [Commands](https://tapster.doguyilmaz.com/reference/commands/),
88
+ [tapster.yml](https://tapster.doguyilmaz.com/reference/config/),
89
+ [Security](https://tapster.doguyilmaz.com/reference/security/),
90
+ [Troubleshooting](https://tapster.doguyilmaz.com/reference/troubleshooting/)
91
+
92
+ The design documents are in [docs/superpowers/specs](docs/superpowers/specs).
93
+
94
+ ## License
95
+
96
+ MIT