chirkle 0.5.4 → 0.5.6

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 CHANGED
@@ -130,6 +130,7 @@ The PocketBase admin UI is at http://127.0.0.1:8090/_/ (create a superuser with
130
130
  | `npm run test:e2e` | Playwright end-to-end tests against the production build |
131
131
  | `npm run schema:snapshot` | Rewrite `docs/schema.snapshot.json` (every collection's API rules, fields and indexes, and the rate limits) after a migration changes them; `test:int` fails while it is out of date |
132
132
  | `npm run screenshots` | Rewrite the README screenshots (`docs/screenshot-*.png`, `docs/collections-*.png`): a throwaway server with made-up people, messages and collections, photographed in Chromium after `npm run build` |
133
+ | `npm run screenshots:cli` | Rewrite the console client's README screenshots (`docs/cli-*.svg`): a throwaway server with the same people and room, the client run in a terminal emulator and drawn as SVG (needs Go and `npm run setup`) |
133
134
  | `npm run check` | typecheck + lint + lint:sinks + test + test:int + build (what CI runs before e2e) |
134
135
  | `npm run doctor` | Is this machine ready for the tests? Go, the server binary, ffmpeg, versitygw, free space in `TMPDIR`, stray test servers, free e2e ports, and a browser that starts and draws text (`-- --browsers=chromium,firefox,webkit`). The e2e setup runs it first |
135
136
 
@@ -193,6 +194,23 @@ cd android
193
194
 
194
195
  Design: [`docs/ANDROID.md`](docs/ANDROID.md). What it has of the web app's features: [`android/PARITY.md`](android/PARITY.md).
195
196
 
197
+ ## Console client
198
+
199
+ `chirk` is Chirkle in a terminal: rooms, DMs, replies, mentions, reactions, search and pins, everything from the
200
+ keyboard, and an account made there too, with no browser. Images and video posters are previewed in the terminal
201
+ (kitty, Ghostty, foot, iTerm2, WezTerm, or as colored half blocks anywhere else), and Enter opens a file in a program
202
+ on your computer.
203
+
204
+ <picture>
205
+ <source media="(prefers-color-scheme: dark)" srcset="docs/cli-dark.svg">
206
+ <img alt="The console client in a terminal: the rooms on the left with unread dots and mention counts, and the design room on the right with a reply, an @mention of you, emoji reactions and a photo previewed under its file name" src="docs/cli-light.svg">
207
+ </picture>
208
+
209
+ One static binary per platform, attached to every [Release](https://github.com/border-radius/chirkle/releases)
210
+ (`chirk_<version>_<os>_<arch>.tar.gz`, `.zip` on Windows); `chirk update` replaces it with the latest. Run `chirk`,
211
+ give it your server's address and log in or sign up; `?` lists the keys. To work on it (`cli/`, Go), see
212
+ [`docs/CLI.md`](docs/CLI.md): its tests run against a real server.
213
+
196
214
  ## Releasing
197
215
 
198
216
  One version for the npm package and the Android app. `npm run release -- 0.2.0` sets it in `package.json` and
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/release/darwin-amd64/chirkle-server
3
3
  size: 34443616 bytes
4
- sha256: fe89a9f3e4779c62b10321994f892db8afb79fa3bbb0d78107af88e0d8b14832
4
+ sha256: bdac11f638126008fbc04e0adf99742ab685bfcb0b0c3cb09a02ebc6cdb4499f
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/release/linux-amd64/chirkle-server
3
3
  size: 34058400 bytes
4
- sha256: 93b5752575fff61bc065e312fa30e1134a12e60ff96abb4a907ba8efd7b75f50
4
+ sha256: a12c148d0b3ca1f6b4d838be3a9db4523c38dffbbc45ab1c8dd6b16ab78d5f84
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chirkle",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "description": "A small, fast, real-time group chat: one PocketBase server, a vanilla TypeScript web app",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {
@@ -69,6 +69,7 @@
69
69
  "test:int": "vitest run --project integration",
70
70
  "test:e2e": "playwright test",
71
71
  "screenshots": "node --no-warnings scripts/screenshots.ts",
72
+ "screenshots:cli": "cd cli && CHIRKLE_SCREENSHOTS=docs go test -count=1 -run TestScreenshots ./internal/ui",
72
73
  "profile:web": "node --no-warnings scripts/profile-web.ts",
73
74
  "schema:snapshot": "vitest run --project integration -u tests/integration/schema.snapshot.test.ts",
74
75
  "check": "npm run typecheck && npm run lint && npm run lint:sinks && npm run test:go && npm test && npm run test:int && npm run build"