Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

feat: add official AI RSS marketplace plugin

tianma-if507057836309
diff --git a/apps/web/public/extensions/registry.json b/apps/web/public/extensions/registry.json
index 707eca72..7dbc53b2 100644
--- a/apps/web/public/extensions/registry.json
+++ b/apps/web/public/extensions/registry.json
@@ -1,5 +1,27 @@
{
"registryVersion": "1",
- "updatedAt": "2026-08-16T00:00:00.000Z",
- "entries": []
+ "updatedAt": "2026-09-08T16:21:56.000Z",
+ "entries": [
+ {
+ "id": "org.edgeever.plugins.ai-rss",
+ "name": "EdgeEver AI RSS",
+ "description": "AI-generated daily digests from curated RSS and Atom feeds, saved directly to EdgeEver notes.",
+ "author": "EdgeEver",
+ "publisher": "edgeever",
+ "category": "News & AI",
+ "repositoryUrl": "https://github.com/tianma-if/edgeever-ai-rss",
+ "distribution": {
+ "type": "github",
+ "repositoryUrl": "https://github.com/tianma-if/edgeever-ai-rss"
+ },
+ "verification": {
+ "version": "0.5.2",
+ "checksums": {
+ "manifestJson": "b8063f246730da33f9cee342670ca776c9319eb5a07585cb44f8641d49caa989",
+ "mainJs": "46bc00002a647f1f087ac2444e02192ec5ae2d1f04719e027de9386e8bf04934",
+ "stylesCss": "05cd135a1fe70c3f38d34850a2e9abf6b0c0530b09477960036f567375b2082e"
+ }
+ }
+ }
+ ]
}
diff --git a/apps/web/src/components/GitHubRepositoryLink.tsx b/apps/web/src/components/GitHubRepositoryLink.tsx
index 6a4e30c1..9baa46a1 100644
--- a/apps/web/src/components/GitHubRepositoryLink.tsx
+++ b/apps/web/src/components/GitHubRepositoryLink.tsx
@@ -18,30 +18,39 @@ export const GitHubMark = ({ className }: { className?: string }) => (
export const GitHubRepositoryLink = ({
children,
className,
+ href = GITHUB_REPOSITORY_URL,
iconClassName,
+ label,
+ showTooltip = true,
}: {
children?: ReactNode;
className?: string;
+ href?: string;
iconClassName?: string;
+ label?: string;
+ showTooltip?: boolean;
}) => {
const { t } = useTranslation();
- const resolvedTitle = t("common.githubRepository");
+ const resolvedTitle = label ?? t("common.githubRepository");
+ const link = (
+ <a
+ aria-label={children ? undefined : resolvedTitle}
+ className={cn("inline-flex items-center gap-2", className)}
+ href={href}
+ rel="noopener noreferrer"
+ target="_blank"
+ >
+ <GitHubMark className={cn("h-4 w-4 shrink-0", iconClassName)} />
+ {children}
+ </a>
+ );
+
+ if (!showTooltip) return link;
return (
<TooltipProvider delayDuration={0} skipDelayDuration={0}>
<Tooltip>
- <TooltipTrigger asChild>
- <a
- aria-label={children ? undefined : resolvedTitle}
- className={cn("inline-flex items-center gap-2", className)}
- href={GITHUB_REPOSITORY_URL}
- rel="noopener noreferrer"
- target="_blank"
- >
- <GitHubMark className={cn("h-4 w-4 shrink-0", iconClassName)} />
- {children}
- </a>
- </TooltipTrigger>
+ <TooltipTrigger asChild>{link}</TooltipTrigger>
<TooltipContent side="bottom">{resolvedTitle}</TooltipContent>
</Tooltip>
</TooltipProvider>
diff --git a/apps/web/src/components/settings/PluginManagerCard.test.mjs b/apps/web/src/components/settings/PluginManagerCard.test.mjs
new file mode 100644
index 00000000..8c0f2f8a
--- /dev/null
+++ b/apps/web/src/components/settings/PluginManagerCard.test.mjs
@@ -0,0 +1,19 @@
+import { describe, expect, test } from "bun:test";
+import { readFileSync } from "node:fs";
+
+const source = readFileSync(new URL("./PluginManagerCard.tsx", import.meta.url), "utf8");
+
+describe("plugin manager card layout", () => {
+ test("uses one responsive grid for marketplace and installed extension cards", () => {
+ expect(source).toContain('const PLUGIN_CARD_GRID_CLASS_NAME = "grid grid-cols-1 gap-2 sm:grid-cols-2 xl:grid-cols-3";');
+ expect(source.match(/className=\{PLUGIN_CARD_GRID_CLASS_NAME\}/g)).toHaveLength(2);
+ expect(source).not.toContain("md:grid-cols-2");
+ });
+
+ test("uses GitHub icon links for marketplace and installed extension repositories", () => {
+ expect(source.match(/<GitHubRepositoryLink/g)).toHaveLength(2);
+ expect(source.match(/showTooltip=\{false\}/g)).toHaveLength(2);
+ expect(source).toContain("href={entry.repositoryUrl}");
+ expect(source).toContain("href={extension.source.repositoryUrl}");
+ });
+});
diff --git a/apps/web/src/components/settings/PluginManagerCard.tsx b/apps/web/src/components/settings/PluginManagerCard.tsx
index 948f07f8..d162fafc 100644
--- a/apps/web/src/components/settings/PluginManagerCard.tsx
+++ b/apps/web/src/components/settings/PluginManagerCard.tsx
@@ -10,7 +10,7 @@ import { Switch } from "@/components/ui/switch";
import type { EdgeEverPluginHost, InstalledExtension, RegisteredPluginCommand, RegisteredPluginPanel } from "@/lib/plugins/plugin-host";
import { PluginPanelDialog } from "@/components/plugins/PluginPanelDialog";
import { loadPluginMarketplace } from "@/lib/plugins/plugin-marketplace";
-import { GitHubMark } from "@/components/GitHubRepositoryLink";
+import { GitHubMark, GitHubRepositoryLink } from "@/components/GitHubRepositoryLink";
import { applyPluginUpdate, checkPluginUpdates, type PluginUpdateInfo } from "@/lib/plugins/plugin-updates";
import { PluginUpdateDialog } from "@/components/plugins/PluginUpdateDialog";
import { PluginSettingsSection } from "@/components/plugins/PluginSettingsSection";
@@ -27,6 +27,7 @@ import {
} from "@/lib/plugins/plugin-trust";
const permissionLabel = (permission: string) => permission.replace(":", " · ");
+const PLUGIN_CARD_GRID_CLASS_NAME = "grid grid-cols-1 gap-2 sm:grid-cols-2 xl:grid-cols-3";
const LegacyManualScheduledTasksSection = () => {
const { t } = useTranslation();
@@ -494,7 +495,7 @@ export const PluginManagerCard = ({
) : (
<>
{(marketplaceQuery.data?.entries.length ?? 0) > 0 ? (
- <div className="grid gap-2 md:grid-cols-2">
+ <div className={PLUGIN_CARD_GRID_CLASS_NAME}>
{(marketplaceQuery.data?.entries ?? []).map((entry) => {
const installed = snapshot.extensions.find((extension) => extension.manifest.id === entry.id);
const currentVerified = installed?.source.verified && installed.manifest.version === entry.verification.version;
@@ -515,15 +516,13 @@ export const PluginManagerCard = ({
</div>
<div className="mt-0.5 text-[10px] text-slate-400">{entry.author} · {entry.category} · v{entry.verification.version}</div>
</div>
- <a
+ <GitHubRepositoryLink
href={entry.repositoryUrl}
- target="_blank"
- rel="noreferrer"
- className="rounded p-1 text-slate-400 hover:bg-slate-100 hover:text-slate-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500/70"
- aria-label={t("plugins.marketplace.openRepository", { name: entry.name })}
- >
- <ExternalLink className="h-3.5 w-3.5" />
- </a>
+ label={t("plugins.marketplace.openRepository", { name: entry.name })}
+ showTooltip={false}
+ className="h-7 w-7 shrink-0 justify-center rounded p-1 text-slate-400 hover:bg-slate-100 hover:text-slate-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500/70"
+ iconClassName="h-3.5 w-3.5"
+ />
</div>
<p className="mt-2 line-clamp-2 text-xs leading-5 text-slate-500">{entry.description}</p>
<Button
@@ -574,7 +573,7 @@ export const PluginManagerCard = ({
{t("plugins.empty")}
</div>
) : (
- <div className="grid gap-2 sm:grid-cols-2 xl:grid-cols-3">
+ <div className={PLUGIN_CARD_GRID_CLASS_NAME}>
{snapshot.extensions.map((extension) => {
const id = extension.manifest.id;
const availableUpdate = updateQuery.data?.updates.find((update) => update.pluginId === id);
@@ -617,19 +616,24 @@ export const PluginManagerCard = ({
</span>
</div>
{extension.manifest.description ? <p className="mt-1 line-clamp-2 text-xs leading-5 text-slate-500">{extension.manifest.description}</p> : null}
+ </div>
+ <div className="flex shrink-0 items-center gap-1">
{extension.source.repositoryUrl ? (
- <a className="mt-1 flex max-w-full items-center gap-1 text-[11px] text-slate-400 hover:text-emerald-700" href={extension.source.repositoryUrl} target="_blank" rel="noreferrer">
- <GitHubMark className="h-3 w-3 shrink-0" />
- <span className="truncate">{extension.source.repositoryUrl.replace("https://github.com/", "")}</span>
- </a>
+ <GitHubRepositoryLink
+ href={extension.source.repositoryUrl}
+ label={t("plugins.marketplace.openRepository", { name: extension.manifest.name })}
+ showTooltip={false}
+ className="h-7 w-7 justify-center rounded p-1 text-slate-400 hover:bg-slate-100 hover:text-slate-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500/70"
+ iconClassName="h-3.5 w-3.5"
+ />
) : null}
+ <Switch
+ aria-label={t("plugins.toggle", { name: extension.manifest.name })}
+ checked={extension.enabled}
+ disabled={pendingId === id}
+ onCheckedChange={(enabled) => toggleExtension(extension, enabled)}
+ />
</div>
- <Switch
- aria-label={t("plugins.toggle", { name: extension.manifest.name })}
- checked={extension.enabled}
- disabled={pendingId === id}
- onCheckedChange={(enabled) => toggleExtension(extension, enabled)}
- />
</div>
{extension.manifest.type === "plugin" && extension.manifest.permissions.length > 0 ? (
diff --git a/apps/web/src/lib/plugins/plugin-marketplace.test.mjs b/apps/web/src/lib/plugins/plugin-marketplace.test.mjs
index bd042bd1..1b3d1715 100644
--- a/apps/web/src/lib/plugins/plugin-marketplace.test.mjs
+++ b/apps/web/src/lib/plugins/plugin-marketplace.test.mjs
@@ -8,7 +8,6 @@ describe("bundled plugin marketplace", () => {
expect(registry.entries.map((entry) => entry.id)).not.toContain("org.edgeever.examples.recent-notes");
expect(registry.entries.map((entry) => entry.id)).not.toContain("org.edgeever.themes.nord-emerald");
for (const entry of registry.entries) {
- expect(entry.distribution.type).toBe("manifest");
if (entry.distribution.type !== "manifest") continue;
const relativeManifestPath = entry.distribution.manifestUrl.replace(/^\/extensions\//, "");
const manifestFileUrl = new URL(`../../../public/extensions/${relativeManifestPath}`, import.meta.url);
@@ -20,4 +19,23 @@ describe("bundled plugin marketplace", () => {
}
}
});
+
+ test("pins the official AI RSS release and all distributed assets", async () => {
+ const registry = parseMarketplaceRegistry(await Bun.file(new URL("../../../public/extensions/registry.json", import.meta.url)).json());
+ const entry = registry.entries.find((candidate) => candidate.id === "org.edgeever.plugins.ai-rss");
+
+ expect(entry).toMatchObject({
+ publisher: "edgeever",
+ repositoryUrl: "https://github.com/tianma-if/edgeever-ai-rss",
+ distribution: { type: "github", repositoryUrl: "https://github.com/tianma-if/edgeever-ai-rss" },
+ verification: {
+ version: "0.5.2",
+ checksums: {
+ manifestJson: "b8063f246730da33f9cee342670ca776c9319eb5a07585cb44f8641d49caa989",
+ mainJs: "46bc00002a647f1f087ac2444e02192ec5ae2d1f04719e027de9386e8bf04934",
+ stylesCss: "05cd135a1fe70c3f38d34850a2e9abf6b0c0530b09477960036f567375b2082e",
+ },
+ },
+ });
+ });
});