shinygen 0.0.1 → 4.6.0-rc.2

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.txt ADDED
@@ -0,0 +1,141 @@
1
+ SHINY GEN ENGINE — END USER LICENSE AGREEMENT
2
+
3
+ Copyright (c) 2026 Shiny AI — David Walter (shinygen.ai). All rights reserved.
4
+
5
+ This package (the "Software") — comprising the Shiny Gen Engine runtime
6
+ (index.wasm.br, index.js, index.pck, the audio worklets) and the shinygen.js
7
+ loader — is proprietary, closed-source software licensed by Shiny AI
8
+ ("Shiny AI"). It is NOT open source. By downloading, loading, executing, or
9
+ otherwise using the Software you agree to these terms.
10
+
11
+ 1. DEFINITIONS
12
+ "Game" means an interactive application whose primary purpose is to be
13
+ played or experienced by end users and that is distributed as a finished
14
+ application — whether or not it includes an in-application editor or a
15
+ user-generated-content mode as described in the definition of Competing
16
+ Product below.
17
+
18
+ "Competing Product" means any software, product, or service whose primary
19
+ purpose is to enable persons other than you to create, edit, generate, or
20
+ assemble games, game assets, or interactive scenes, or to host, list, or
21
+ distribute a catalog of games — including, without limitation, a game
22
+ maker, game engine, level / scene / asset editor or generator, or a game
23
+ catalog, portal, or marketplace. A Competing Product does NOT include:
24
+ (a) a Game that contains an in-application editor or user-generated-content
25
+ mode whose output is content for that same Game; or
26
+ (b) tools you use internally to develop your own Games and do not make
27
+ available to third parties.
28
+
29
+ "Attribution Notice" means the text "Made with Shiny Gen".
30
+
31
+ 2. LICENSE GRANT
32
+ Subject to your compliance with this Agreement, Shiny AI grants you a
33
+ free-of-charge, worldwide, non-exclusive, non-transferable, revocable
34
+ license to:
35
+ a. load, execute, and use the Software in web pages and applications —
36
+ including commercial products and services — to develop and distribute
37
+ Games; and
38
+ b. redistribute the Software, UNMODIFIED and as a whole, solely as a
39
+ dependency of your Game or application (for example: served from a
40
+ public npm-backed CDN, bundled into your build output, or self-hosted
41
+ alongside your application).
42
+
43
+ 3. ATTRIBUTION
44
+ You must display the Attribution Notice to end users, either during the
45
+ Software's startup / boot sequence or on a title, menu, credits, or about
46
+ screen of your Game or application. The Software displays the Attribution
47
+ Notice by default while it boots; leaving that notice in place and visible
48
+ satisfies this requirement.
49
+
50
+ 4. RESTRICTIONS
51
+ You may NOT:
52
+ a. use the Software to develop, build, train, operate, or offer a
53
+ Competing Product, without the express prior written permission of
54
+ Shiny AI (for example, under a separate enterprise license). If you
55
+ wish to build such a product, contact dwalter@shinygen.ai to discuss an
56
+ enterprise license agreement;
57
+ b. use the Software, or any output, data, or content generated by or
58
+ extracted from the Software, to train, fine-tune, or develop any
59
+ machine-learning or artificial-intelligence model, game engine, game
60
+ maker, or Competing Product;
61
+ c. modify, adapt, translate, or create derivative works of the Software;
62
+ d. reverse engineer, decompile, disassemble, or otherwise attempt to
63
+ derive or read the source code of the Software, except to the extent
64
+ such a restriction is prohibited by applicable law;
65
+ e. extract, repackage, or redistribute components of the Software on a
66
+ standalone basis, or sell, rent, lease, or sublicense the Software
67
+ itself as a product;
68
+ f. remove, alter, or obscure the Attribution Notice or any copyright,
69
+ license, or attribution notices.
70
+ The source code of the Software is not published and no right to receive
71
+ it is granted.
72
+
73
+ 5. OWNERSHIP
74
+ The Software is licensed, not sold. Shiny AI retains all right, title, and
75
+ interest in and to the Software, including all intellectual property
76
+ rights, subject only to the third-party notices in Section 9.
77
+
78
+ 6. NO WARRANTY; LIMITATION OF LIABILITY
79
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
80
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
81
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
82
+ IN NO EVENT SHALL SHINY AI BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
83
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING
84
+ FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OF OR OTHER
85
+ DEALINGS IN THE SOFTWARE.
86
+
87
+ 7. INDEMNIFICATION
88
+ You will defend, indemnify, and hold harmless Shiny AI and its officers,
89
+ employees, and agents from and against any third-party claim, demand, loss,
90
+ or damage (including reasonable attorneys' fees) arising out of or relating
91
+ to (i) your Game or application, (ii) your use or distribution of the
92
+ Software, or (iii) your breach of this Agreement.
93
+
94
+ 8. TERMINATION
95
+ This license terminates automatically if you breach its terms. Upon
96
+ termination you must cease all use and distribution of the Software.
97
+ Shiny AI may also modify these terms for future versions of the Software;
98
+ the terms accompanying a given version govern that version.
99
+
100
+ 9. THIRD-PARTY COMPONENTS
101
+ The engine binary embeds open-source components, including a modified
102
+ version of the Godot Engine (MIT) and other libraries; the brotli decoder
103
+ under vendor/ is MIT / Apache-2.0 licensed (see vendor/brotli/). Their
104
+ copyright and license notices are provided in THIRD_PARTY_NOTICES.txt and
105
+ continue to govern those components. Nothing in this Agreement restricts
106
+ your rights under those third-party licenses to the third-party components
107
+ themselves; the restrictions in this Agreement apply to the Software as a
108
+ whole and to the portions authored by Shiny AI.
109
+
110
+ 10. GENERAL
111
+ a. Data. The Software itself does not collect, transmit, or process any
112
+ personal data or analytics; if you distribute only the Software as part
113
+ of your Game, it reports to no one. (Shiny AI's hosted applications and
114
+ services — for example the Shiny Gen app at shinygen.ai — are separate
115
+ products governed by their own terms and privacy policy.)
116
+ b. Trademarks. "Shiny Gen" and related names and logos are trademarks of
117
+ Shiny AI. This Agreement grants you a limited right to use the "Made
118
+ with Shiny Gen" wordmark solely to provide the Attribution Notice
119
+ required by Section 3; it grants no other trademark rights, and you may
120
+ not use Shiny AI's marks in any way that implies endorsement,
121
+ sponsorship, or affiliation.
122
+ c. Governing Law; Venue. This Agreement is governed by the laws of the
123
+ Commonwealth of Massachusetts, United States, without regard to its
124
+ conflict-of-laws rules, and the state and federal courts located in the
125
+ Commonwealth of Massachusetts have exclusive jurisdiction over any
126
+ dispute arising out of or relating to it.
127
+ d. Severability. If any provision of this Agreement is held unenforceable,
128
+ that provision will be enforced to the maximum extent permissible and
129
+ the remaining provisions will remain in full force and effect.
130
+ e. Entire Agreement; No Waiver. This Agreement is the entire agreement
131
+ between you and Shiny AI regarding the Software and supersedes all prior
132
+ or contemporaneous understandings. Shiny AI's failure to enforce any
133
+ provision is not a waiver of its right to enforce it later.
134
+ f. Assignment. You may not assign or transfer this Agreement or the license
135
+ granted herein, in whole or in part, without Shiny AI's prior written
136
+ consent; Shiny AI may assign it freely.
137
+ g. Export Compliance. You will comply with all applicable export-control
138
+ and economic-sanctions laws and regulations, and will not export,
139
+ re-export, or use the Software in violation of them.
140
+
141
+ Questions / enterprise & commercial inquiries: dwalter@shinygen.ai
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # Shiny Gen Engine
2
+
3
+ A WebGPU game engine for the browser. One script tag, one call — the engine
4
+ boots on your canvas and runs the `text/gdscript` scripts on your page.
5
+
6
+ ## Quick start
7
+
8
+ ```html
9
+ <!doctype html>
10
+ <canvas id="canvas"></canvas>
11
+
12
+ <script src="https://cdn.jsdelivr.net/npm/shinygen@4.6.0-rc.1/shinygen.js"></script>
13
+ <script type="text/gdscript" name="Main">
14
+ extends Node3D
15
+
16
+ func _ready():
17
+ var light = DirectionalLight3D.new()
18
+ light.rotation_degrees = Vector3(-45, 30, 0)
19
+ add_child(light)
20
+ </script>
21
+ <script>
22
+ ShinyGen.start({ canvas: "#canvas" });
23
+ </script>
24
+ ```
25
+
26
+ The engine ships brotli-compressed (**~7.8 MB** over the wire, decompressed
27
+ in the browser) and resolves all of its files relative to `shinygen.js` —
28
+ serve the package files from any static host, CDN, or bundler; no
29
+ configuration needed.
30
+
31
+ ## Requirements
32
+
33
+ - A WebGPU-capable browser (Chrome/Edge 113+ on desktop; Safari and Firefox
34
+ behind flags). `ShinyGen.start()` reports a clear on-canvas message when
35
+ WebGPU is unavailable.
36
+
37
+ ## Options
38
+
39
+ ```js
40
+ ShinyGen.start({
41
+ canvas: "#canvas", // selector or element (required)
42
+ i18n: true, // opt-in: fetch ICU data (~2.2 MB) for complex-script text
43
+ brotliWasm: false, // opt-out of the .br engine fetch (default: on)
44
+ });
45
+ ```
46
+
47
+ ## License
48
+
49
+ Proprietary, closed source. **Free to use — including commercially — to make
50
+ games**, provided you keep the "Made with Shiny Gen" notice visible (it shows
51
+ at boot by default). You may **not** use it to build a competing game maker,
52
+ engine, asset editor/generator, or game catalog, or to train an AI model,
53
+ without a separate enterprise license (contact dwalter@shinygen.ai). The full
54
+ terms in `LICENSE.txt` govern. Embedded third-party components (including a
55
+ modified Godot Engine, MIT) are listed in `THIRD_PARTY_NOTICES.txt`.
56
+
57
+ — [engine.shinygen.ai](https://engine.shinygen.ai)