waybetter-for-x/apps/web/plugins/index.html
2026-09-30 23:01:13 +00:00

90 lines
5.4 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- seo -->
<meta name="theme-color" content="#07080c" />
<link rel="icon" type="image/png" href="/app-icon.png" />
<script>document.documentElement.classList.add('js');</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Geist:wght@300..900&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@1&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="../src/base.css" />
<link rel="stylesheet" href="../src/gallery.css" />
<link rel="stylesheet" href="../src/store.css" />
</head>
<body>
<a data-i18n="site.common.skipToContent" class="skip" href="#main">Skip to content</a>
<header class="top">
<div class="wrap top-row">
<a class="mark" href="../x/">
<img src="/app-icon.png" alt="" class="mark-app" width="30" height="30" />
<span class="mark-name" translate="no"><span class="grad">wayBetter</span> <span class="mark-sub">for X</span></span>
</a>
<nav data-i18n-aria-label="site.common.primary" class="top-nav" aria-label="Primary">
<a href="../" class="keep nav-family">wayBetter</a>
<a data-i18n="site.common.store" href="../store/" class="keep">Store</a>
<a href="../x/">wayBetter for X</a>
<a data-i18n="site.common.themes" href="../themes/">Themes</a>
<a data-i18n="site.common.plugins" href="../plugins/" aria-current="page">Plugins</a>
<a data-i18n="site.common.source" data-i18n-aria-label="site.common.sourceOn" href="%REPO_URL%" class="keep keep-md src-link" aria-label="Source on %FORGE_HOST%"
><img class="src-logo" src="/git-crt-logo.svg" alt="" width="16" height="16" />Source</a
>
</nav>
<!-- lang:top -->
</div>
<div class="top-progress" aria-hidden="true"></div>
</header>
<main id="main">
<section class="gal-hero">
<div class="gal-hero-glow" aria-hidden="true"></div>
<div class="wrap">
<p data-i18n="site.plugins.hero.waybetterStorePluginsSignedCatalog" class="kicker"><span class="kicker-dot"></span><a class="kicker-link" href="../store/">wayBetter Store</a> &middot; 8 area plugins built in &middot; <!-- store:count:plugin --> more in the signed catalog</p>
<h1 data-i18n="site.plugins.hero.pluginsForX">Plugins for <em class="grad">X</em>.</h1>
<p data-i18n="site.plugins.hero.javascriptPluginsThatRunInside" class="gal-lede">JavaScript plugins that run inside X, BetterDiscord-style. Each one declares what it uses from the wayBetter API (storage, dialogs, clipboard, your account&hellip;) and whether it contacts any server.</p>
<div class="gal-trust">
<p data-i18n="site.plugins.hero.howInstallingWorksInstallIn"><b>How installing works.</b> &ldquo;Install in wayBetter&rdquo; opens the app with a <code>waybetter://</code> link. The app downloads the file itself, checks it against the store&rsquo;s signed catalog (Ed25519 signature, SHA-256 of every file) and shows you its name, author, version, source, hash, the permissions it declares and the code before anything is installed. Nothing installs from this page on its own.</p>
<p data-i18n="site.common.noAppYetGetWaybetter" class="gal-noapp">No app yet? <a href="../x/">Get wayBetter for X</a> (one-click install needs <!-- store:since --> or newer), or download the file from an item&rsquo;s page and drop it on the app window. Looking for something else? <a href="../store/">Search the whole Store</a>.</p>
</div>
</div>
</section>
<section class="gal">
<div class="wrap">
<!-- store:areas -->
<!-- store:plugins -->
<p data-i18n="site.plugins.page.catalogUpdatedPluginsRunIn" class="gal-note">Catalog updated <!-- store:generated -->. Plugins run in the X page with the page&rsquo;s access; permissions limit the wayBetter API, not the page. Read the code, then install what you trust.</p>
</div>
</section>
</main>
<footer class="foot">
<div class="wrap foot-row">
<a class="mark mark-sm" href="../x/">
<img src="/app-icon.png" alt="" width="22" height="22" class="foot-icon" loading="lazy" />
<span class="mark-name" translate="no">wayBetter for X</span>
</a>
<p data-i18n="site.common.licensedUnderGpl30" class="foot-legal">
Licensed under GPL-3.0. Not affiliated with, endorsed by, or sponsored by X Corp.
</p>
<nav data-i18n-aria-label="site.common.footer" class="foot-nav" aria-label="Footer">
<a href="../">wayBetter</a>
<a data-i18n="site.common.store" href="../store/">Store</a>
<a data-i18n="site.common.themes" href="../themes/">Themes</a>
<a data-i18n="site.common.plugins" href="../plugins/">Plugins</a>
<a data-i18n="site.common.source" data-i18n-aria-label="site.common.sourceOn" class="src-link" href="%REPO_URL%" aria-label="Source on %FORGE_HOST%"><img class="src-logo" src="/git-crt-logo.svg" alt="" width="16" height="16" />Source</a>
</nav>
<!-- lang:foot -->
</div>
</footer>
<script type="module" src="../src/gallery.ts"></script>
</body>
</html>