waybetter-for-x/THIRD_PARTY_NOTICES.md
2026-10-02 02:54:04 +07:00

103 lines
6 KiB
Markdown

# Third-party notices
`src/inject/features.ts` ports a set of tweaks from **Control Panel for Twitter**
(https://github.com/insin/control-panel-for-twitter): CSS selectors, SVG icon
paths and DOM-patching logic are adapted from its `script.js` and `options.js`.
No code was copied verbatim; selectors and paths were re-implemented against
this project's own contract and re-verified against the live x.com DOM.
## 98.css
The bevelled borders of theme engine v2 (`bevel-out` / `bevel-in` in `waybetter/packages/runtime/src/themeComponents.ts`, the Windows 98 theme's raised column, the classic scrollbar in `themeDecor.ts`, and the bevelled window, menus and settings panel of `waybetter/packages/shell/src/frame/edges.css`) follow the raised and sunken edges of 98.css (https://github.com/jdan/98.css): four inset box shadows, re-computed from each theme's colors. No stylesheet is copied.
```
Copyright 2020 Jordan Scales
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
## Control Panel for Twitter
```
Copyright (c) 2019, Jonny Buchanan
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
Source: https://github.com/insin/control-panel-for-twitter/blob/master/LICENSE
(MIT License, copyright (c) 2019 Jonny Buchanan).
## gemoji
`apps/desktop/src-tauri/bundled-plugins/emoji-picker.plugin.js` embeds an offline
emoji dataset (character, shortcode aliases, search tags, category) derived from
**gemoji** (https://github.com/wooorm/gemoji), trimmed to the fields the plugin
needs. No network requests are made; the data ships in the plugin file.
```
(The MIT License)
Copyright (c) 2014 Titus Wormer <tituswormer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
Source: https://github.com/wooorm/gemoji/blob/main/license
(MIT License, copyright (c) 2014 Titus Wormer). Skin-tone support flags were
cross-referenced against `unicode-emoji-json` (https://github.com/muan/unicode-emoji-json,
MIT License) to decide which base emoji get a Fitzpatrick modifier in the picker;
no text from that package is embedded, only a boolean per emoji.
## Geist and Geist Mono
The X runtime embeds the variable Latin and Latin Extended subsets of **Geist** and **Geist Mono**
(from the npm packages `@fontsource-variable/geist` and `@fontsource-variable/geist-mono`) and
registers them from bytes only when a theme uses them. Copyright 2024 The Geist Project Authors
(https://github.com/vercel/geist-font). Licensed under the SIL Open Font License, Version 1.1
(https://openfontlicense.org). The fonts are not sold on their own and keep their names.
## Google Fonts
`waybetter/packages/shell/src/panel/fonts/googleFontsCatalog.json` is a list of family names, categories and
weights generated from Google Fonts' public catalog (`fonts.google.com/metadata/fonts`) by
`waybetter/packages/shell/scripts/google-fonts-catalog.mjs`. No font files are shipped for it: families the
owner picks are downloaded on their machine from fonts.googleapis.com / fonts.gstatic.com. Google
Fonts families are licensed under the SIL Open Font License 1.1 or the Apache License 2.0 (a few
under the Ubuntu Font License); each family's page on fonts.google.com names its license and
designers. Google Fonts is a trademark of Google LLC.