tasty-lima 0.0.0-stage → 0.0.2-alpha.7

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/LICENSE ADDED
@@ -0,0 +1,18 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 benduran
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
6
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
9
+ following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial
12
+ portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
16
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
18
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,82 @@
1
- # Temporary Holding Version
1
+ # tasty-lima
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
+ A quick and easy-to-use UI for creating and interacting with [Lima VMs](https://lima-vm.io).
4
+
5
+ `tasty-lima` ships as a single, self-contained CLI binary. Run it, and it boots a
6
+ local web UI for creating, starting, stopping, and editing Lima VMs, no Lima preinstallation is required!
7
+ On first run it automatically downloads the pinned `limactl` (and QEMU, if needed) into `~/.tasty-lima/`.
8
+
9
+ ## Install
10
+
11
+ ### Via npm
12
+
13
+ ```sh
14
+ npm install -g tasty-lima
15
+ ```
16
+
17
+ Then run:
18
+
19
+ ```sh
20
+ tasty-lima
21
+ ```
22
+
23
+ ### Standalone binary
24
+
25
+ Download the build for your OS + arch from the
26
+ [GitHub releases page](https://github.com/benduran/tasty-lima/releases):
27
+
28
+ | File | Target |
29
+ | ----------------------------- | ---------------------------------- |
30
+ | `tasty-lima-macos-arm64` | macOS (Apple Silicon) |
31
+ | `tasty-lima-linux-x64` | Linux (x86_64, glibc) |
32
+ | `tasty-lima-linux-x64-musl` | Linux (x86_64, musl — e.g. Alpine) |
33
+ | `tasty-lima-linux-arm64` | Linux (ARM64, glibc) |
34
+ | `tasty-lima-linux-arm64-musl` | Linux (ARM64, musl — e.g. Alpine) |
35
+ | `tasty-lima-win-x64.exe` | Windows (x86_64) |
36
+
37
+ On Unix machines (Linux and macOS), make the binary executable before running it:
38
+
39
+ ```sh
40
+ chmod +x tasty-lima-macos-arm64
41
+ ./tasty-lima-macos-arm64
42
+ ```
43
+
44
+ > **macOS note:** Gatekeeper will likely block the first run since the binary
45
+ > isn't notarized. If macOS refuses to open it, go to **System Settings →
46
+ > Privacy & Security** and click **Allow Anyway** (or **Open Anyway**), then run
47
+ > it again.
48
+ >
49
+ > **Windows note:** Microsoft Defender SmartScreen may flag the `.exe` with an
50
+ > "Unknown publisher" warning. Click **More info → Run anyway** to proceed.
51
+
52
+ ## Usage
53
+
54
+ ```sh
55
+ tasty-lima [options]
56
+ ```
57
+
58
+ | Option | Default | Description |
59
+ | ------------ | ----------- | ----------------------------------------------------------- |
60
+ | `-p, --port` | `60011` | Port for the local helper server to listen on |
61
+ | `--hostname` | `127.0.0.1` | Hostname for the local helper server |
62
+ | `--noUI` | `false` | Don't serve the web UI (utility for tasty-lima development) |
63
+
64
+ Once started, open the printed URL (e.g. `http://127.0.0.1:60011`) in your
65
+ browser.
66
+
67
+ ## Development
68
+
69
+ ```sh
70
+ pnpm install # install dependencies
71
+ pnpm dev # UI dev server + CLI helper (tsx watch), via turbo
72
+ pnpm test # biome lint + tsc typecheck
73
+ pnpm turbo build:all # build the UI + all CLI binary targets into ./dist
74
+ ```
75
+
76
+ ### Bumping the lima version
77
+
78
+ `tasty-lima` only ever runs the `limactl` version pinned by `LIMA_VERSION` in [src/cli/constants.ts](src/cli/constants.ts), and its lima types are generated from that version's source.
79
+
80
+ 1. Update `LIMA_VERSION`. `pnpm test:types` fails until the types are regenerated.
81
+ 2. Run `pnpm gen:lima-types` (needs Go installed, ideally via [mise](https://mise.jdx.dev/). Go is defined in `.tool-versions`).
82
+ 3. Review the diff of `src/cli/limactl/types.gen.ts` and fix any type errors. Never edit that file by hand.