Skip to content

Commit 567ab3b

Browse files
committed
BETA MERGE
1 parent 949b848 commit 567ab3b

File tree

297 files changed

+15277
-3420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+15277
-3420
lines changed

.trunk/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*out
2+
*logs
3+
*actions
4+
*notifications
5+
*tools
6+
plugins
7+
user_trunk.yaml
8+
user.yaml
9+
tmp

.trunk/configs/.hadolint.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Following source doesn't work in most setups
2+
ignored:
3+
- SC1090
4+
- SC1091

.trunk/configs/.markdownlint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Prettier friendly markdownlint config (all formatting rules disabled)
2+
extends: markdownlint/style/prettier

.trunk/configs/.yamllint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
rules:
2+
quoted-strings:
3+
required: only-when-needed
4+
extra-allowed: ["{|}"]
5+
key-duplicates: {}
6+
octal-values:
7+
forbid-implicit-octal: true

.trunk/trunk.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
2+
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
3+
version: 0.1
4+
cli:
5+
version: 1.22.5
6+
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
7+
plugins:
8+
sources:
9+
- id: trunk
10+
ref: v1.6.2
11+
uri: https://github.com/trunk-io/plugins
12+
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
13+
runtimes:
14+
enabled:
15+
16+
17+
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
18+
lint:
19+
enabled:
20+
21+
22+
23+
- git-diff-check
24+
25+
26+
27+
28+
29+
30+
31+
actions:
32+
disabled:
33+
- trunk-announce
34+
- trunk-check-pre-push
35+
- trunk-fmt-pre-commit
36+
enabled:
37+
- trunk-upgrade-available

.vscode/custom.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.editor-instance[data-mode-id="javascript"] .mtku, .editor-instance[data-mode-id="javascript"] .mtk9, .editor-instance[data-mode-id="javascript"] .mtk38, .editor-instance[data-mode-id="javascript"] .mtk37, .editor-instance[data-mode-id="javascript"] .mtki:not(.mtkb):not(.mtk5):not(.mtk3) {
2+
text-transform: uppercase;
3+
}
4+
.mtku {
5+
font-weight: 100;
6+
}
7+
.monaco-sash.horizontal:before {
8+
height: 1px;
9+
box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.14);
10+
border-bottom: solid 1px rgba(0, 0, 0, 0.86);
11+
}
12+
.monaco-sash.vertical:before {
13+
width: 1px;
14+
box-shadow: 1px 0px 0px 0px rgba(255, 255, 255, 0.14);
15+
border-right: solid 1px rgba(0, 0, 0, 0.86);
16+
}

.vscode/ltex.dictionary.en-US.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
VIAT
22
UDSP
3+
inlining
4+
de-optimizations
5+
universalweb
6+
uw
7+
filesystems
8+
FILESYSTEM
9+
filesystem
10+
RocksDB
11+
Filesystem
12+
filesystem-based
13+
SSTables
14+
SSTable
15+
logarithmically
16+
filesystem-specific
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ENGLISH_WORD_REPEAT_BEGINNING_RULE

LICENSE

Lines changed: 56 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,79 @@
1-
Universal Web License based on Business Source License 1.1
1+
TITLE:UNIVERSAL WEB (UW) & VIAT LICENSE
2+
SUMMARY: Free to use for building apps, tools, and services on UW or VIAT.
3+
Not allowed to fork, reuse, or repurpose any part for building competing networks, cryptocurrencies, or platforms — centralized or decentralized — without written permission.
24

3-
Licensor: Universal Web, Thomas Marchi
5+
LICENSE: UNIVERSAL NON-COMPETITIVE LICENSE (UNCL) V1.0
6+
LICENSE TAG: UNCL-1.0
7+
COPYRIGHT: COPYRIGHT © 2025 THOMAS MARCHI. ALL RIGHTS RESERVED.
48

5-
Software: Universal Web, Thomas Marchi
9+
LICENSOR: Universal Web, VIAT, Thomas Marchi
10+
SOFTWARE: Universal Web, VIAT
611

7-
The Software is © 2023 Universal Web, Thomas Marchi
12+
1. DEFINITIONS
13+
“Licensed Work” refers to the software, source code, binaries, designs, applications, specifications, protocols, documentation, websites, libraries, middleware, modules, or other intellectual property distributed under this License, including but not limited to Universal Web (UW), VIAT, and any of their subsystems, libraries, or technical components.
814

9-
Change License: Creative Commons Zero v1.0 Universal license.
15+
“Licensor” refers to the copyright holder or entity granting this license.
1016

11-
License text copyright © 2017 MariaDB Corporation Ab, All Rights Reserved.
12-
"Business Source License" is a trademark of MariaDB Corporation Ab.
17+
“Licensee”, “You”, or “Your” refers to any individual or entity using the Licensed Work.
1318

14-
Terms
19+
2. GRANT OF RIGHTS
20+
Subject to the terms and conditions of this License, the Licensor grants You a non-exclusive, royalty-free, worldwide right to:
1521

16-
Use Limitation: Usage of the software is free for use when your application doesn't use the Network as a whole to create another one, isn't a Web, isn't equivalent to the Universal Web or Viat, and or isn't creating a similar or modified protocol as UDSP or other primary components of the universal web either in part or as a whole. Otherwise if it's a Universal Web application, script, and or tool using the Universal Web and or which contributes to it then the software is free to use & modify. There can be exceptions to this rule by the Licensor but the Licensor must be contacted and the request must then have a written approval by the Licensor so long as the user remains within relative restrictions within this document unless otherwise stipulated. Such an approval may be revoked if the user is found to be in violation of the terms of this license or the terms of the approval.
22+
- Use, copy, modify, and create derivative works of the Licensed Work for non-competitive purposes;
1723

18-
Commercial use is allowed for the software so long as the user remains within relative restrictions within this document unless otherwise stipulated. All Universal Apps, Websites, scripts, modules, and or code which exist on or for the Universal Web are permitted. Such an approval may be revoked if the user is found to be in violation of the terms of this license or the terms of the approval.
24+
- Build applications, integrations, scripts, tools, or services that interface with or extend UW and/or VIAT;
1925

20-
The Licensor hereby grants you the right to copy, modify, create derivative
21-
works, redistribute, and make non-production use of the Licensed Work if out of the scope of the usage limitations. The
22-
Licensor may make an Additional Use Grant, above, permitting limited
23-
production use.
26+
- Use the Licensed Work for commercial or non-commercial purposes, provided your use does not violate the Competitive Use Restriction.
2427

25-
Effective on the Change Date, or the fourth anniversary of the first publicly
26-
available distribution of a specific version of the Licensed Work under this
27-
License, whichever comes first, the Licensor hereby grants you rights under
28-
the terms of the Change License, and the rights granted in the paragraph
29-
above terminate.
28+
3. COMPETITIVE USE RESTRICTION
29+
You may not, without prior written permission from the Licensor:
3030

31-
If your use of the Licensed Work does not comply with the requirements
32-
currently in effect as described in this License, you must purchase a
33-
commercial license from the Licensor, its affiliated entities, or authorized
34-
resellers, or you must refrain from using the Licensed Work.
31+
1) Use, modify, fork, clone, incorporate, or redistribute the Licensed Work or its components in any system, software, product, or service that competes with or is intended to compete with UW or VIAT;
3532

36-
All copies of the original and modified Licensed Work, and derivative works
37-
of the Licensed Work, are subject to this License. This License applies
38-
separately for each version of the Licensed Work and the Change Date may vary
39-
for each version of the Licensed Work released by Licensor.
33+
2) Use the Licensed Work to build or support any standalone or competing cryptocurrency, token system, domain resolution layer, distributed application platform, or network protocol that competes with or replicates core features of UW or VIAT.
4034

41-
You must conspicuously display this License on each original or modified copy
42-
of the Licensed Work. If you receive the Licensed Work in original or
43-
modified form from a third party, the terms and conditions set forth in this
44-
License apply to your use of that work.
35+
3) This includes centralized or decentralized systems intended to provide similar infrastructure, identity layers, transport layers, transaction networks, or currency platforms.
4536

46-
Any use of the Licensed Work in violation of this License will automatically
47-
terminate your rights under this License for the current and all other
48-
versions of the Licensed Work.
37+
4) This restriction does not apply to applications, libraries, tools, smart contracts, tokens, or services built on top of the UW or VIAT platform.
4938

50-
This License does not grant you any right in any trademark or logo of
51-
Licensor or its affiliates (provided that you may use a trademark or logo of
52-
Licensor as expressly required by this License).
39+
If there is any doubt about whether your use is competitive, You must request and receive written permission from the Licensor. Approvals may be revoked at the Licensor’s discretion if terms are violated.
5340

54-
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
55-
AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
56-
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
57-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
58-
TITLE.
41+
4. ATTRIBUTION AND VISIBILITY
42+
Any copy, modification, or derivative work of the Licensed Work must include:
5943

60-
MariaDB hereby grants you permission to use this License’s text to license
61-
your works, and to refer to it using the trademark “Business Source License”,
62-
as long as you comply with the Covenants of Licensor below.
44+
- A conspicuous copy of this license;
6345

64-
Covenants of Licensor
46+
- Attribution to the original Licensor;
6547

66-
In consideration of the right to use this License’s text and the “Business
67-
Source License” name and trademark, Licensor covenants to MariaDB, and to all
68-
other recipients of the licensed work to be provided by Licensor:
48+
- Notification of any changes made.
6949

70-
1. To specify as the Change License the GPL Version 2.0 or any later version,
71-
or a license that is compatible with GPL Version 2.0 or a later version,
72-
where “compatible” means that software provided under the Change License can
73-
be included in a program with software provided under GPL Version 2.0 or a
74-
later version. Licensor may specify additional Change Licenses without
75-
limitation.
50+
5. CHANGE DATE
51+
On the Change Date—defined as either:
7652

77-
2. To either: (a) specify an additional grant of rights to use that does not
78-
impose any additional restriction on the right granted in this License, as
79-
the Additional Use Grant; or (b) insert the text “None”.
53+
The fourth anniversary of the first public release of a given version of the Licensed Work, or
8054

81-
3. To specify a Change Date.
55+
A date publicly announced by the Licensor,
8256

83-
4. Not to modify this License in any other way.
57+
the Licensed Work may be re-licensed under a more permissive license (e.g., MIT, Apache 2.0) at the discretion of the Licensor.
58+
59+
Until the Change Date, all terms of this License remain in full effect.
60+
61+
6. TERMINATION
62+
If You violate this License, all rights granted to You under this License are immediately terminated, including rights to use, distribute, modify, or access the Licensed Work. Upon termination, You must:
63+
64+
- Cease all use and distribution of the Licensed Work;
65+
66+
- Destroy or return all copies in your possession.
67+
68+
7. NO TRADEMARK OR BRANDING RIGHTS
69+
This License does not grant any rights to use the Licensor’s trademarks, service marks, trade names, or logos, unless separately licensed in writing.
70+
71+
8. WARRANTY DISCLAIMER
72+
THE LICENSED WORK IS PROVIDED “AS IS”, WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED. THE LICENSOR DISCLAIMS ALL WARRANTIES INCLUDING BUT NOT LIMITED TO MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR ACCURACY.
73+
74+
9. GOVERNING LAW
75+
This License is governed by the laws of [Your Jurisdiction]. Any disputes shall be resolved under the exclusive jurisdiction of the courts in that jurisdiction.
76+
77+
To request licensing approval or for any inquiries, contact: THOMAS MARCHI (https://github.com/tomekmarchi) OR (https://x.com/tommarchi)
78+
79+
Copyright © 2025 Thomas Marchi, All rights reserved.

browser/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
+import electron from 'electron';
1+
import electron from 'electron';
22
import path from 'path';
33
// if (require.main !== module) {
44
// import('update-electron-app')({
@@ -9,15 +9,15 @@ import schemes from './browser/schemes/index.js';
99
import stateFactory from './state/index.js';
1010
import universalWebSocket from './browser/protocol/';
1111
const state = stateFactory('browser', {
12-
electron
12+
electron,
1313
});
14-
const { file: { readJson, } } = state;
14+
const { file: { readJson } } = state;
1515
const config = await readJson('./config/index.json');
1616
const {
1717
app,
1818
BrowserWindow,
1919
dialog,
20-
protocol
20+
protocol,
2121
} = electron;
2222
protocol.registerSchemesAsPrivileged(schemes);
2323
dialog.showErrorBox = function(title, content) {
@@ -56,7 +56,7 @@ function initialize() {
5656
title: app.name,
5757
webPreferences: {
5858
webviewTag: true,
59-
nodeIntegration: true
59+
nodeIntegration: true,
6060
},
6161
};
6262
mainWindow = new BrowserWindow(windowOptions);

0 commit comments

Comments
 (0)