rembro 0.4.0__py3-none-any.whl
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.
- rembro/__init__.py +52 -0
- rembro/__main__.py +3 -0
- rembro/rembro-aarch64 +0 -0
- rembro/rembro-armv7 +0 -0
- rembro/rembro-macos-aarch64 +0 -0
- rembro/rembro-macos-x86_64 +0 -0
- rembro/rembro-windows-x86_64.exe +0 -0
- rembro/rembro-x86_64 +0 -0
- rembro-0.4.0.dist-info/METADATA +110 -0
- rembro-0.4.0.dist-info/RECORD +14 -0
- rembro-0.4.0.dist-info/WHEEL +4 -0
- rembro-0.4.0.dist-info/entry_points.txt +2 -0
- rembro-0.4.0.dist-info/licenses/LICENSE-APACHE +73 -0
- rembro-0.4.0.dist-info/licenses/LICENSE-MIT +21 -0
rembro/__init__.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""Runs the rembro build for this system from the package directory, where the Linux builds
|
|
2
|
+
that rembro copies into targets sit next to it."""
|
|
3
|
+
|
|
4
|
+
import os
|
|
5
|
+
import platform
|
|
6
|
+
import signal
|
|
7
|
+
import subprocess
|
|
8
|
+
import sys
|
|
9
|
+
|
|
10
|
+
ARCHES = {
|
|
11
|
+
"x86_64": "x86_64",
|
|
12
|
+
"amd64": "x86_64",
|
|
13
|
+
"aarch64": "aarch64",
|
|
14
|
+
"arm64": "aarch64",
|
|
15
|
+
"armv7l": "armv7",
|
|
16
|
+
"armv7": "armv7",
|
|
17
|
+
"armv8l": "armv7",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def build():
|
|
22
|
+
arch = ARCHES.get(platform.machine().lower())
|
|
23
|
+
if sys.platform == "linux" and arch:
|
|
24
|
+
return "rembro-" + arch
|
|
25
|
+
if sys.platform == "darwin" and arch in ("x86_64", "aarch64"):
|
|
26
|
+
return "rembro-macos-" + arch
|
|
27
|
+
# Windows on Arm runs the x86_64 build under emulation.
|
|
28
|
+
if sys.platform == "win32" and arch in ("x86_64", "aarch64"):
|
|
29
|
+
return "rembro-windows-x86_64.exe"
|
|
30
|
+
return None
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def main():
|
|
34
|
+
name = build()
|
|
35
|
+
if name is None:
|
|
36
|
+
sys.exit(f"rembro: there is no rembro build for {sys.platform} {platform.machine()}")
|
|
37
|
+
exe = os.path.join(os.path.dirname(os.path.abspath(__file__)), name)
|
|
38
|
+
argv = ["rembro", *sys.argv[1:]]
|
|
39
|
+
try:
|
|
40
|
+
if sys.platform == "win32":
|
|
41
|
+
child = subprocess.Popen(argv, executable=exe)
|
|
42
|
+
# The console sends Ctrl-C and Ctrl-Break to rembro as well, which cleans up and exits.
|
|
43
|
+
signal.signal(signal.SIGINT, signal.SIG_IGN)
|
|
44
|
+
signal.signal(signal.SIGBREAK, signal.SIG_IGN)
|
|
45
|
+
sys.exit(child.wait())
|
|
46
|
+
if not os.access(exe, os.X_OK):
|
|
47
|
+
# The installer dropped the executable bits.
|
|
48
|
+
os.chmod(exe, os.stat(exe).st_mode | 0o111)
|
|
49
|
+
# rembro replaces this process, so signals reach it directly.
|
|
50
|
+
os.execv(exe, argv)
|
|
51
|
+
except OSError as e:
|
|
52
|
+
sys.exit(f"rembro: cannot run {exe}: {e.strerror}")
|
rembro/__main__.py
ADDED
rembro/rembro-aarch64
ADDED
|
Binary file
|
rembro/rembro-armv7
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
rembro/rembro-x86_64
ADDED
|
Binary file
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rembro
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Open a browser that uses the network of an SSH host, container, sandbox or Kubernetes pod
|
|
5
|
+
Keywords: browser,docker,kubernetes,ssh,proxy
|
|
6
|
+
License-Expression: MIT OR Apache-2.0
|
|
7
|
+
License-File: LICENSE-MIT
|
|
8
|
+
License-File: LICENSE-APACHE
|
|
9
|
+
Project-URL: Repository, https://github.com/ScriptSmith/rembro
|
|
10
|
+
Requires-Python: >=3.8
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
<p align="center"><img src="https://raw.githubusercontent.com/ScriptSmith/rembro/v0.4.0/docs/logo.svg" alt="A browser giving a thumbs-up from inside a server" width="160"></p>
|
|
14
|
+
|
|
15
|
+
# rembro: remote browser
|
|
16
|
+
|
|
17
|
+
rembro opens a web browser that uses the networking of another host, container, sandbox, or VM.
|
|
18
|
+
|
|
19
|
+
Run with the `--debug` flag, and let your agent drive the browser via playwright.
|
|
20
|
+
|
|
21
|
+
rembro runs on Linux, macOS and Windows. Its targets run Linux.
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
rembro # a tab for each dev server on this Linux machine
|
|
25
|
+
rembro ssh:devbox # a tab for each dev server on devbox
|
|
26
|
+
rembro docker:shop-web-1 http://api:8000 # a Compose service, by its name
|
|
27
|
+
rembro k8s:shop/api-7d9f http://orders.shop.svc # a cluster service, no kubectl port-forward
|
|
28
|
+
rembro ssh:bastion http://10.0.4.12:3000 # an address only the bastion can reach
|
|
29
|
+
rembro ssh:bastion,ssh:box,docker:web # a container on a host behind the bastion
|
|
30
|
+
rembro --remote ssh:devbox # run the browser on devbox, show its window here
|
|
31
|
+
rembro --debug sbx:myapp # let an AI agent in the sandbox drive the browser
|
|
32
|
+
rembro --debug --headless sbx:myapp # the same, with no browser window
|
|
33
|
+
rembro --debug localhost:5173 # let an AI agent on this machine drive the browser
|
|
34
|
+
rembro --profile work ssh:bastion # keep this browser's logins for next time
|
|
35
|
+
rembro --fork system ssh:bastion # start from a copy of your own browser's logins
|
|
36
|
+
rembro run ssh:devbox gimp # any GUI program, window shown here
|
|
37
|
+
rembro install docker:shop-web-1 firefox # put a browser in the container for --remote
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Use cases
|
|
41
|
+
|
|
42
|
+
- Preview a web app running on a remote dev box, in a dev container or in a Docker sandbox, without `ssh -L` or `docker run -p`.
|
|
43
|
+
- Open a Kubernetes service, an admin UI or a metrics dashboard without `kubectl port-forward`, using cluster DNS names.
|
|
44
|
+
- Reach internal sites and private IPs that only a bastion host or VPN gateway can see, without setting up an `ssh -D` SOCKS proxy by hand.
|
|
45
|
+
- Let an AI coding agent in a sandbox drive a real browser with Playwright or Puppeteer over CDP or WebDriver BiDi, while you watch or with no window at all.
|
|
46
|
+
- Run graphical Linux programs on a server, in a container or in a VM, and see their windows on your desktop, with sound.
|
|
47
|
+
|
|
48
|
+
## Install
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
curl -fsSL https://raw.githubusercontent.com/ScriptSmith/rembro/main/install.sh | sh
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
`npx rembro` and `uvx rembro` run it from npm and PyPI without installing it, and `npm install -g rembro`, `uv tool install rembro` and `pipx install rembro` install it from there. These packages include the Linux builds that rembro copies into targets, so the only file rembro downloads on first use is waypipe, when it needs it ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/install.md#with-npm-uv-or-pipx)).
|
|
55
|
+
|
|
56
|
+
You can also download rembro from the [latest release](https://github.com/ScriptSmith/rembro/releases/latest).
|
|
57
|
+
|
|
58
|
+
Too big or complicated for your liking? Get most of the functionality with a 100 line [bash script](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/bash.md).
|
|
59
|
+
|
|
60
|
+
## Where the browser runs
|
|
61
|
+
|
|
62
|
+
- On this machine, by default. rembro points the browser at a SOCKS5 proxy on this machine's loopback, and the target makes every connection for it, DNS lookups included. You keep your own browser, fonts, GPU and window manager, with a profile of its own for each session.
|
|
63
|
+
- In the target, with `--remote`. Its window comes to this desktop through [waypipe](https://gitlab.freedesktop.org/mstoeckl/waypipe) on Wayland or through a forwarded X11 connection, and its sound plays here.
|
|
64
|
+
|
|
65
|
+
## Targets
|
|
66
|
+
|
|
67
|
+
| Target | What it is |
|
|
68
|
+
|---|---|
|
|
69
|
+
| `local` | this machine, on Linux, and the default |
|
|
70
|
+
| `ssh:[USER@]HOST[:PORT]` | a host or VM reached with `ssh`, using your ssh config |
|
|
71
|
+
| `docker:NAME`, `podman:NAME`, `nerdctl:NAME` | a running container |
|
|
72
|
+
| `apple-container:NAME` | a container run by Apple's `container` tool |
|
|
73
|
+
| `sbx:SANDBOX` | a Docker sbx sandbox |
|
|
74
|
+
| `k8s:[NAMESPACE/]POD[/CONTAINER]` | a pod in kubectl's current context |
|
|
75
|
+
| `incus:INSTANCE`, `lxc:INSTANCE` | an Incus or LXD instance |
|
|
76
|
+
| `wsl:DISTRO` | a WSL distribution |
|
|
77
|
+
| `exec:COMMAND` | any command that runs its arguments in the target, such as `exec:'docker compose exec -T web'` |
|
|
78
|
+
| `TARGET,TARGET...` | a target inside the one before it, such as `ssh:bastion,ssh:box,sbx:dev,docker:web` |
|
|
79
|
+
|
|
80
|
+
## Getting started
|
|
81
|
+
|
|
82
|
+
Start a dev server in the target and run `rembro TARGET`, or `rembro` with no target for a dev server on this machine. With no URL, rembro opens a tab for each HTTP server listening on the target's loopback, and more tabs as new servers start. Give URLs to open particular pages instead.
|
|
83
|
+
|
|
84
|
+
rembro picks the first browser it finds, starting with Chromium and its forks and then Firefox. Use `-b firefox` (or set `REMBRO_BROWSER`) to choose. It never uses your regular browser profile unless you ask: each session gets a new profile that is deleted when the browser exits, `--profile NAME` keeps one for next time, `--fork NAME` starts from a copy of one, and `--fork system` starts from a copy of your regular one ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/usage.md#profiles)).
|
|
85
|
+
|
|
86
|
+
For `--remote`, the target needs a browser of its own. `rembro install TARGET` installs Chromium there, and `rembro install TARGET firefox` installs Firefox.
|
|
87
|
+
|
|
88
|
+
Programs in the target can open pages in rembro's browser through `BROWSER` and an `xdg-open` wrapper, so OAuth flows use the target's network ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/usage.md#from-programs-in-the-target)).
|
|
89
|
+
|
|
90
|
+
`rembro --help` lists every option, target type and example. `rembro run --help` and `rembro install --help` cover the subcommands.
|
|
91
|
+
|
|
92
|
+
## Security
|
|
93
|
+
|
|
94
|
+
- With `--debug` and the browser on this machine, a program in the target can read your local files and the profile's cookies, so use `--remote --debug` for a target you don't trust ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/security.md#debugging)).
|
|
95
|
+
- `--x11-trusted` gives the target the same access to your X11 display that `ssh -Y` does, and so does an X server that can't make untrusted connections ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/security.md#x11)).
|
|
96
|
+
- `--remote` and `rembro run` forward this machine's sound server, which programs in the target can record from; `--no-audio` turns it off ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/security.md#sound)).
|
|
97
|
+
- `--trust-target-ca` lets the target read that profile's HTTPS traffic ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/security.md#trusting-the-targets-ca-certificates)).
|
|
98
|
+
- On macOS and Windows, rembro can't tell which user connects to its SOCKS server, so other users of this machine can reach the target through it while rembro runs ([details](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/security.md#the-socks-server)).
|
|
99
|
+
|
|
100
|
+
## Documentation
|
|
101
|
+
|
|
102
|
+
- [docs/install.md](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/install.md): the install script, release archives for Linux, macOS and Windows, and Cargo.
|
|
103
|
+
- [docs/usage.md](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/usage.md): targets, containers and VMs, browsers, profiles, opening pages, `--debug`, `rembro run`, `rembro install`, displays on macOS and Windows, and every option.
|
|
104
|
+
- [docs/how-it-works.md](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/how-it-works.md): the agent, its transport, other architectures, networking, display and sound forwarding, reconnects, and building rembro.
|
|
105
|
+
- [docs/security.md](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/security.md): what the target can see and do, debugging, X11, sound, CA trust and the local SOCKS server.
|
|
106
|
+
- [docs/bash.md](https://github.com/ScriptSmith/rembro/blob/v0.4.0/docs/bash.md): rembro.sh, the core of rembro in a bash script, how it works, and what it leaves out.
|
|
107
|
+
|
|
108
|
+
## License
|
|
109
|
+
|
|
110
|
+
rembro is MIT or Apache-2.0, at your option. The waypipe builds in its releases are GPL-3.0-or-later; `licenses/waypipe-NOTICE.md` in each release archive describes them, and `waypipe-source.tar.gz` in each release is their source.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
rembro/__init__.py,sha256=ggSDTo9bRtMeHhG8Ewuq8Cn4Xe-K6ySMAz0tza44K64,1769
|
|
2
|
+
rembro/__main__.py,sha256=UGYttBCgD3ZZEgo9-jXDWeEN8mo1-3l_jyDsh9MGxhw,32
|
|
3
|
+
rembro/rembro-x86_64,sha256=61INCctz2CA2gAtw5QY7LS8OgzQ3QC2Q10qtJPWJxPk,1674488
|
|
4
|
+
rembro/rembro-aarch64,sha256=-x7jHAmNbaXZ32N06auU2ZOkdyJNzxzLcP9A7peDy24,1496816
|
|
5
|
+
rembro/rembro-armv7,sha256=MJ_LCHLwDQjcDpox_1PHbLjVR-JSSSyYMKizdneEKkY,1550296
|
|
6
|
+
rembro/rembro-macos-aarch64,sha256=qxk_mQjDt3UHLk1wQAw3vXkuIkhEjqIMVt5a0JVUAPc,1152704
|
|
7
|
+
rembro/rembro-macos-x86_64,sha256=cStZOuy2k-7Tb6EggQWsx7aDRYeiNAepleJoolkFWCo,1275688
|
|
8
|
+
rembro/rembro-windows-x86_64.exe,sha256=B3gRbdzSIYYnkqZZIgtUWMHSYVNy7DeJ5z_t2O-O6x0,1277440
|
|
9
|
+
rembro-0.4.0.dist-info/licenses/LICENSE-MIT,sha256=dngHpQiNqJ1YyqSxvnfl_PjMSI1AjzJVTk3qOx3jrtY,1067
|
|
10
|
+
rembro-0.4.0.dist-info/licenses/LICENSE-APACHE,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
|
11
|
+
rembro-0.4.0.dist-info/METADATA,sha256=z2xb2KYfNPhIlrPvhVz_RqV-T9sovLHhhuRuLNLtyOo,8763
|
|
12
|
+
rembro-0.4.0.dist-info/WHEEL,sha256=fW3gn8qP4Qtx99M7CZ0MNeZ52iS0vNGjkj3QtlKF4F0,92
|
|
13
|
+
rembro-0.4.0.dist-info/entry_points.txt,sha256=YMshiQAXLrjD-WgYEavcKmV7O1oGpvFgZIPimg0CcDs,39
|
|
14
|
+
rembro-0.4.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
|
10
|
+
|
|
11
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
|
12
|
+
|
|
13
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
|
14
|
+
|
|
15
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
|
16
|
+
|
|
17
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
|
18
|
+
|
|
19
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
|
20
|
+
|
|
21
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
|
22
|
+
|
|
23
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
24
|
+
|
|
25
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
|
26
|
+
|
|
27
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
28
|
+
|
|
29
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
|
30
|
+
|
|
31
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
32
|
+
|
|
33
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
|
34
|
+
|
|
35
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
36
|
+
|
|
37
|
+
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
|
38
|
+
|
|
39
|
+
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
40
|
+
|
|
41
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
|
42
|
+
|
|
43
|
+
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
44
|
+
|
|
45
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
|
46
|
+
|
|
47
|
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
|
48
|
+
|
|
49
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
50
|
+
|
|
51
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
52
|
+
|
|
53
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
|
54
|
+
|
|
55
|
+
END OF TERMS AND CONDITIONS
|
|
56
|
+
|
|
57
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
58
|
+
|
|
59
|
+
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
|
60
|
+
|
|
61
|
+
Copyright [yyyy] [name of copyright owner]
|
|
62
|
+
|
|
63
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
64
|
+
you may not use this file except in compliance with the License.
|
|
65
|
+
You may obtain a copy of the License at
|
|
66
|
+
|
|
67
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
68
|
+
|
|
69
|
+
Unless required by applicable law or agreed to in writing, software
|
|
70
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
71
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
72
|
+
See the License for the specific language governing permissions and
|
|
73
|
+
limitations under the License.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Adam Smith
|
|
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.
|