-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.html
More file actions
647 lines (638 loc) · 27.9 KB
/
Copy pathenv.html
File metadata and controls
647 lines (638 loc) · 27.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
<!doctype html>
<html lang="en" data-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Environment variables - Degoog docs</title>
<script>
(function () {
try {
var t = localStorage.getItem("ade:theme");
if (t !== "light" && t !== "dark") {
t = window.matchMedia("(prefers-color-scheme: dark)").matches
? "dark"
: "light";
}
document.documentElement.setAttribute("data-theme", t);
} catch (e) {}
})();
</script>
<link
rel="icon"
href="https://github.com/fccview/degoog/raw/main/src/public/images/degoog-logo.png"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
/>
<link rel="stylesheet" href="style.css?cache=burstthefucker" />
</head>
<body>
<div class="degoog-docs-layout">
<header class="degoog-docs-mobile-header">
<button id="degoog-docs-burger" type="button" class="degoog-docs-btn degoog-docs-btn-burger">
<i class="fa-solid fa-bars"></i>
</button>
<span class="degoog-docs-mobile-title">Degoog Docs</span>
</header>
<div class="degoog-docs-content">
<aside class="degoog-docs-sidebar">
<div class="degoog-docs-sidebar-brand">
<img
src="https://github.com/fccview/degoog/raw/main/src/public/images/degoog-logo.png"
alt="degoog logo"
class="degoog-docs-brand-img"
onerror="this.style.display = 'none'"
/>
<a href="index.html" class="degoog-docs-brand-name">Degoog Docs</a>
</div>
<div class="degoog-docs-sidebar-search">
<div class="doc-search-wrap">
<input
type="search"
id="doc-search-input"
class="degoog-docs-input doc-search"
placeholder="Search docs..."
autocomplete="off"
/>
<button
type="button"
class="doc-search-clear degoog-docs-btn"
aria-label="Clear search"
style="display: none"
>
Clear
</button>
<span class="doc-search-count"></span>
</div>
</div>
<nav class="degoog-docs-nav" aria-label="Documentation">
<a href="index.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-book-open fa-lg"></i></i
><span class="degoog-docs-nav-item-name">Overview</span></a
>
<a href="plugins.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-puzzle-piece fa-lg"></i
><span class="degoog-docs-nav-item-name"> Plugins</span></a
>
<a href="shortcuts.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-arrow-down-a-z fa-lg"></i></i
><span class="degoog-docs-nav-item-name"> Shortcuts</span></a
>
<a href="themes.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-palette fa-lg"></i
><span class="degoog-docs-nav-item-name"> Themes</span></a
>
<a href="engines.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-bolt fa-lg"></i
><span class="degoog-docs-nav-item-name"> Search engines</span></a
>
<a href="autocomplete.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-keyboard fa-lg"></i
><span class="degoog-docs-nav-item-name"> Autocomplete</span></a
>
<a href="transports.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-network-wired fa-lg"></i
><span class="degoog-docs-nav-item-name"> Transports</span></a
>
<a href="store.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-store fa-lg"></i
><span class="degoog-docs-nav-item-name"> Store</span></a
>
<a href="aliases.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-link fa-lg"></i
><span class="degoog-docs-nav-item-name"> Aliases</span></a
>
<a href="env.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-lock fa-lg"></i></i
><span class="degoog-docs-nav-item-name">ENV Variables</span></a
>
<a href="styling.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-swatchbook fa-lg"></i></i
><span class="degoog-docs-nav-item-name"> Styling</span></a
>
<a href="translations.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-language fa-lg"></i
><span class="degoog-docs-nav-item-name"> Translations</span></a
>
<a href="api.html" class="degoog-docs-nav-item"
><i class="fa-solid fa-code fa-lg"></i
><span class="degoog-docs-nav-item-name"> API</span></a
>
</nav>
<div class="degoog-docs-sidebar-actions">
<button
id="doc-theme-toggle"
type="button"
class="degoog-docs-btn"
aria-label="Toggle theme"
>
<i class="fa-solid fa-circle-half-stroke"></i>
</button>
</div>
</aside>
<main class="degoog-docs-main">
<div class="doc-page-header">
<h1><a href="index.html">Degoog</a> Environment variables</h1>
<p class="doc-page-desc">
Configure your port, paths, and optional settings.
</p>
</div>
<h2>How to set environment variables</h2>
<p>
Degoog reads configuration from the process environment when it
starts. The usual way to supply it is a <code>.env</code> file: one
<code>KEY=value</code> per line, no <code>export</code> prefix,
comments allowed with <code>#</code>. Every method below ends up
loading that same file (or an equivalent path) into the process
before launch.
</p>
<p>
Some settings can only be configured this way. In particular,
<code>DEGOOG_SETTINGS_PASSWORDS</code> is read exclusively from the
environment - there is no settings UI or on-disk file for it. If you
expose your instance on the internet, set a password in your
<code>.env</code> before the first start. An unlocked instance lets
anyone install extensions, which runs code on your server.
</p>
<pre><code># .env — example shared by every method below
DEGOOG_PORT=4444
DEGOOG_SETTINGS_PASSWORDS=your-secure-password
LOG_LEVEL=info</code></pre>
<h3>Release tarball</h3>
<p>
Prebuilt archives are attached to each
<a
href="https://github.com/degoog-org/degoog/releases"
class="external"
target="_blank"
rel="noopener"
>GitHub release</a
>. Extract the tarball, <code>cd</code> into the
<code>degoog</code> folder it contains, and save your
<code>.env</code> next to <code>package.json</code>. Bun loads it
automatically when you start the server from that folder. You also
need <a href="https://bun.sh" class="external" target="_blank" rel="noopener">bun</a>,
<a href="https://git-scm.com" class="external" target="_blank" rel="noopener">git</a>,
and <a href="https://curl.se" class="external" target="_blank" rel="noopener">curl</a>
on the host.
</p>
<pre><code>tar -xzf degoog_*_prebuild.tar.gz
cd degoog
# create .env here (see example above)
mkdir -p data
bun run src/server/index.ts</code></pre>
<p>
Always start Degoog from the extract root. Paths such as
<code>data/plugins</code> are relative to that directory. For a
persistent background process, use systemd (below), supervisord, or
a <code>screen</code> / <code>tmux</code> session pointed at the
same folder.
</p>
<h3>Docker and Podman</h3>
<p>
Create a <code>.env</code> file in the same folder as your compose
file or run command, then point Docker at it. With Compose, add
<code>env_file: .env</code> to the service (you can still list
individual keys under <code>environment:</code> if you prefer).
With <code>docker run</code> or <code>podman run</code>, pass
<code>--env-file .env</code>. See the
<a href="index.html#running-degoog">Running Degoog</a> section on
the overview page for more compose examples. Container images use
<code>PUID</code> and <code>PGID</code> (documented below under
Docker) so file ownership on mounted volumes matches your host user.
</p>
<pre><code># docker-compose.yml
services:
degoog:
image: ghcr.io/degoog-org/degoog:latest
env_file: .env
volumes:
- ./data:/app/data
ports:
- "4444:4444"</code></pre>
<pre><code># or inline
docker run -d --env-file .env -p 4444:4444 -v ./data:/app/data ghcr.io/degoog-org/degoog:latest</code></pre>
<h3>systemd</h3>
<p>
Keep your variables in <code>.env</code> and reference that file
from the unit with
<code>EnvironmentFile=/opt/degoog/.env</code>. You can also set
individual <code>Environment=NAME=value</code> lines in the unit
file, but a single <code>.env</code> is easier to maintain. Set
<code>WorkingDirectory</code> to your Degoog directory so relative
paths resolve correctly.
</p>
<pre><code>[Service]
WorkingDirectory=/opt/degoog
EnvironmentFile=/opt/degoog/.env
ExecStart=/usr/local/bin/bun run src/server/index.ts
Restart=on-failure</code></pre>
<h3>Native install (git clone)</h3>
<p>
Same as the release tarball: save <code>.env</code> in the
repository root and run <code>bun run start</code> from there after
<code>bun install</code> and <code>bun run build</code>. Bun loads
the file automatically. See
<a href="index.html#running-degoog">Running Degoog</a> on the
overview page.
</p>
<h3 id="viewing-server-logs">Viewing server logs</h3>
<p>
Set <code>LOG_LEVEL</code> to control how much the server prints
(see the General table). Where you read that output depends on how
you run Degoog:
</p>
<ul>
<li>
<strong>Docker Compose:</strong>
<code>docker compose logs -f</code>
</li>
<li>
<strong>Podman:</strong>
<code>podman logs -f degoog</code>
</li>
<li>
<strong>systemd:</strong>
<code>journalctl -u degoog -f</code> (replace
<code>degoog</code> with your unit name)
</li>
<li>
<strong>Tarball or native:</strong> the terminal where you started
the process; redirect stdout and stderr to a log file if you run
detached
</li>
</ul>
<h2>General</h2>
<table>
<thead>
<tr>
<th>Variable</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DEGOOG_PORT</code></td>
<td>The port your server listens on.</td>
<td><code>4444</code></td>
</tr>
<tr>
<td><code>DEGOOG_BASE_URL</code></td>
<td>
Base path for serving Degoog behind a reverse proxy at a
sub-path. The expected value is a path like
<code>/degoog</code>. A full URL is also accepted -
<code>https://example.com/degoog</code> behaves the same as
<code>/degoog</code> since only the path portion is used.
A bare domain with no sub-path (e.g.
<code>https://degoog.org</code>) has no effect since there
is no path to prepend. When unset, Degoog is served at the
root <code>/</code> as usual.
<br /><br />
<strong>Note:</strong> the OpenSearch XML descriptor always
uses only the path portion of this value so that its URLs
remain valid regardless of how the variable was set.
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_SETTINGS_PASSWORDS</code></td>
<td>
A comma separated list of passwords for your Settings page. If
you set this, users must enter one of these passwords to
access your settings (unless you are using a middleware plugin
as a gate).
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_SETTINGS_PATH</code></td>
<td>
Custom path for the admin settings panel. On public instances
the admin panel defaults to <code>/admin</code>; on private
instances it defaults to <code>/settings</code>. Set this to
a hard-to-guess string to make the admin panel undiscoverable
(e.g. <code>my-secret-panel-abc123</code>). Leading slashes
are stripped automatically. Works on all instance types
regardless of password configuration.
<br /><br />
<strong>Note:</strong> on public instances the admin panel at
this path is only reachable if at least one password is also
configured via <code>DEGOOG_SETTINGS_PASSWORDS</code>.
Without a password it returns 404 with no hint that it exists.
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_PUBLIC_INSTANCE</code></td>
<td>
Set this to a truthy value (like <code>true</code> or
<code>1</code>) to run your instance in read-only mode.
<code>/settings</code> will only show theme and engine toggles
without any tabs, and all server-side mutation APIs will
return Unauthorized.
<br /><br />
If you also set <code>DEGOOG_SETTINGS_PASSWORDS</code>, a
password-protected admin panel becomes available at
<code>/admin</code> (or your <code>DEGOOG_SETTINGS_PATH</code>
value).
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_DISTRUST_PROXY</code></td>
<td>
Controls whether Degoog trusts <code>X-Forwarded-For</code>,
<code>X-Real-IP</code> and <code>X-Forwarded-Proto</code>
headers for client IP, rate limiting, IP banning and HTTPS
detection. Defaults to <code>1</code> (distrust), which is the
safe choice when Degoog is exposed directly to the internet,
since trusting these headers lets any client spoof their
source IP and protocol. Set to <code>0</code> only when
Degoog sits behind a reverse proxy (nginx, caddy, traefik,
etc.) that you control and that strips or rewrites these
headers on incoming requests.
</td>
<td><code>1</code></td>
</tr>
<tr>
<td><code>DEGOOG_OUTGOING_ALLOWED_HOSTS</code></td>
<td>
Comma-separated allowlist of hostnames degoog is permitted to
reach for outgoing requests (search engines, autocomplete
providers, plugin fetches, image proxy). Wildcards like
<code>*.example.com</code> are accepted. When unset, no
hostname restriction is applied. Use this to harden an
internet-exposed instance against SSRF or to keep traffic
inside an internal network.
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_VALKEY_URL</code></td>
<td>
Connection URL for an optional Valkey (or any RESP-compatible
server: Redis, KeyDB, Dragonfly). When set, degoog uses it as
a shared cache and cross-process invalidation bus so multiple
replicas share search and autocomplete results and react to
settings changes instantly. When unset, all caching stays
per-process in memory. Example:
<code>redis://valkey:6379</code>.
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_CACHE_MAX_ENTRIES</code></td>
<td>
Maximum number of entries per in-memory cache namespace
(search, autocomplete, and each extension cache). When the cap
is reached, the least-recently-used entry is evicted on
insert. This only bounds the in-process L1 cache; the shared
Valkey cache (if configured) is governed by Valkey's own
<code>maxmemory</code> policy.
</td>
<td><code>1000</code></td>
</tr>
<tr>
<td><code>DEGOOG_CACHE_TTL_MS</code></td>
<td>
Default TTL (in milliseconds) for cached search responses and
autocomplete suggestions. Applied when no shorter or
type-specific TTL overrides it.
</td>
<td><code>43200000</code> (12 hours)</td>
</tr>
<tr>
<td><code>DEGOOG_CACHE_SHORT_TTL_MS</code></td>
<td>
Short TTL (in milliseconds) used when a search returned with
failed engines (so the user re-fetches sooner) and by
short-lived extension caches such as AI summary and spell
check.
</td>
<td><code>120000</code> (2 minutes)</td>
</tr>
<tr>
<td><code>DEGOOG_CACHE_NEWS_TTL_MS</code></td>
<td>
TTL (in milliseconds) applied to news-type search responses.
Shorter than the default since news goes stale fast.
</td>
<td><code>1800000</code> (30 minutes)</td>
</tr>
<tr>
<td><code>DEGOOG_BETA_STORE</code></td>
<td>
Set to <code>1</code> to prefer the <code>develop</code>
branch of all store repositories over <code>main</code> /
<code>master</code> when cloning or pulling. Falls back
silently to the default branch if <code>develop</code> does
not exist on the remote. Intended for extension developers
and nightly testers who want to track pre-release extensions
without affecting other users.
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_WIZARD</code></td>
<td>
Set to <code>false</code> to disable the first-run setup
wizard regardless of the persisted state. Useful when
provisioning instances via configuration management where the
wizard would otherwise gate startup.
</td>
<td></td>
</tr>
<tr>
<td><code>DEGOOG_DEFAULT_SEARCH_LANGUAGE</code></td>
<td>
Default ISO 639-1 language code applied to all searches when
searches when no language is selected by the user (e.g.
<code>en</code>, <code>de</code>, <code>it</code>).
</td>
<td><code>en-US</code></td>
</tr>
<tr>
<td><code>DEGOOG_I18N</code></td>
<td>
Forces the UI locale for all requests, overriding the
<code>Accept-Language</code> header (e.g. <code>en-US</code>,
<code>fr-FR</code>). When set, the same locale pipeline runs
as normal - only the source changes. Unset or empty:
<code>Accept-Language</code> is used as today.
</td>
<td></td>
</tr>
<tr>
<td><code>LOG_LEVEL</code></td>
<td>
Controls the verbosity of server-side console output.
Supported levels from most to least severe:
<code>fatal</code>, <code>error</code>, <code>warn</code>,
<code>info</code>, <code>log</code>, <code>debug</code>. Each
level includes all levels of higher severity. Set to
<code>debug</code> to print all messages, including plugin
execution times. See
<a href="#viewing-server-logs">Viewing server logs</a> for
how to read output on your platform.
</td>
<td><code>info</code></td>
</tr>
<tr>
<td><code>LOG_TRANSLATION</code></td>
<td>
Set to <code>true</code> to enable translation-specific log
output. This is a separate toggle from <code>LOG_LEVEL</code>
and is off by default. Enable it when debugging missing keys,
locale resolution misses, or broken locale files without
polluting your regular debug output.
</td>
<td><code>false</code></td>
</tr>
</tbody>
</table>
<h2>Docker</h2>
<table>
<thead>
<tr>
<th>Variable</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>PUID</code></td>
<td>
The user ID your container process runs as. You should set
this to match your host user ID.
</td>
<td><code>1000</code></td>
</tr>
<tr>
<td><code>PGID</code></td>
<td>
The group ID your container process runs as. You should set
this to match your host group ID.
</td>
<td><code>1000</code></td>
</tr>
</tbody>
</table>
<h2>Plugins, themes, engines</h2>
<table>
<thead>
<tr>
<th>Variable</th>
<th>Description</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>DEGOOG_DATA_DIR</code></td>
<td>
The root directory degoog uses for all on-disk state (plugins,
themes, engines, transports, autocomplete providers, and the
settings files). Override this when you want everything in one
custom location; each individual path can still be overridden
via its own variable below.
</td>
<td><code>data</code> (relative to cwd)</td>
</tr>
<tr>
<td><code>DEGOOG_PLUGINS_DIR</code></td>
<td>
The directory where you load custom command and slot plugins.
</td>
<td><code>data/plugins</code></td>
</tr>
<tr>
<td><code>DEGOOG_THEMES_DIR</code></td>
<td>The directory where you load custom themes.</td>
<td><code>data/themes</code></td>
</tr>
<tr>
<td><code>DEGOOG_ENGINES_DIR</code></td>
<td>
The directory where you load custom search engine plugins.
</td>
<td><code>data/engines</code></td>
</tr>
<tr>
<td><code>DEGOOG_AUTOCOMPLETE_DIR</code></td>
<td>
The directory where you load custom autocomplete providers.
</td>
<td><code>data/autocomplete</code></td>
</tr>
<tr>
<td><code>DEGOOG_TRANSPORTS_DIR</code></td>
<td>The directory where you load custom transports.</td>
<td><code>data/transports</code></td>
</tr>
<tr>
<td><code>DEGOOG_PLUGIN_SETTINGS_FILE</code></td>
<td>
The path to the JSON file that stores per-extension settings
(plugins, themes, engines, autocomplete providers, transports).
</td>
<td><code>data/plugin-settings.json</code></td>
</tr>
<tr>
<td><code>DEGOOG_SERVER_SETTINGS_FILE</code></td>
<td>
The path to the JSON file that stores instance-level settings
(honeypot, public-instance flag, API secret, wizard status, and
the per-instance identifier used to namespace the optional shared
cache).
</td>
<td><code>data/server-settings.json</code></td>
</tr>
<tr>
<td><code>DEGOOG_DEFAULT_ENGINES_FILE</code></td>
<td>
Path to the JSON file storing default enabled/disabled engines
</td>
<td><code>data/default-engines.json</code></td>
</tr>
<tr>
<td><code>DEGOOG_BLOCKLIST_FILE</code></td>
<td>Path to the JSON file storing the ip addresses blocklist</td>
<td><code>data/blocklist.json</code></td>
</tr>
<tr>
<td><code>DEGOOG_SETTINGS_TOKENS_FILE</code></td>
<td>Path to the JSON file storing settings tokens</td>
<td><code>data/settings-tokens.json</code></td>
</tr>
<tr>
<td><code>DEGOOG_ALIASES_FILE</code></td>
<td>
The path to the JSON file where your custom bang command
aliases are defined.
</td>
<td><code>data/aliases.json</code></td>
</tr>
</tbody>
</table>
</main>
</div>
<div id="degoog-docs-backdrop" class="degoog-docs-backdrop"></div>
</div>
<script
src="https://code.jquery.com/jquery-4.0.0.min.js"
crossorigin="anonymous"
></script>
<script src="docs.js"></script>
<script src="docs-ui.js"></script>
</body>
</html>