@doguyilmaz/tapster 2.3.0 → 2.3.1
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.
- package/README.md +87 -76
- package/dist/cli.js +137 -135
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,102 +1,113 @@
|
|
|
1
|
-
<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
|
-
|
|
5
|
+
<h1 align="center">tapster</h1>
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
10
|
-
|
|
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
|
-
|
|
18
|
+
---
|
|
13
19
|
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
29
|
+
brew install --cask doguyilmaz/tap/tapster
|
|
19
30
|
```
|
|
20
31
|
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
25
|
-
|
|
36
|
+
<details>
|
|
37
|
+
<summary>Use Bun or npm instead</summary>
|
|
26
38
|
|
|
27
|
-
1.
|
|
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
|
-
|
|
35
|
-
|
|
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
|
-
|
|
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
|
-
|
|
49
|
+
</details>
|
|
41
50
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
58
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
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
|
-
|
|
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)
|