From 2eeea9a0cd8665bbe0e6c80f08603425498757e5 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 21 Jun 2026 17:24:17 +0300 Subject: feat: add plugin marketplace --- website/src/pages/plugins.astro | 601 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 601 insertions(+) create mode 100644 website/src/pages/plugins.astro (limited to 'website/src/pages/plugins.astro') diff --git a/website/src/pages/plugins.astro b/website/src/pages/plugins.astro new file mode 100644 index 00000000..6e96a132 --- /dev/null +++ b/website/src/pages/plugins.astro @@ -0,0 +1,601 @@ +--- +import MarketingLayout from '../components/MarketingLayout.astro'; +import fixture from '../data/plugins-fixture.json'; + +const snapshotUrl = 'https://assets.herdr.dev/plugins/index.json'; + +// Seed the page server-side from the public R2 snapshot so `bun run dev` and +// the production build both render real data immediately. If the live fetch +// fails, dev falls back to a local fixture for offline design; production seeds +// empty and lets the client fetch fill it (never fake data). +let liveData = null; +try { + const res = await fetch(snapshotUrl); + if (res.ok) liveData = await res.json(); +} catch { + // ignore: handled by the fallbacks below +} +const initialData = liveData ?? (import.meta.env.DEV ? fixture : null); +const initialIsFixture = !liveData && import.meta.env.DEV; +const apiUrl = import.meta.env.DEV ? null : snapshotUrl; +--- + + +
+
+

# marketplace

+

Plugins built on Herdr.

+

+ Community plugins published on GitHub. Install any of them with + herdr plugin install, or publish your own and get listed. +

+

+ + Listings are discovered automatically from the GitHub topic + herdr-plugin. They are not reviewed by Herdr, so install at + your own discretion. Trust guidance. +

+
+ +
+
+ + +
+ +

+
+ +
+
+
Loading plugins…
+
+ +
+
+

# publish

+

Want your plugin listed?

+

+ Add the GitHub topic herdr-plugin to a public repository + with a herdr-plugin.toml manifest. The index picks it up + on the next refresh. No submission, no review queue. +

+ +
+
+
+ + + + +
-- cgit v1.2.3