diff --git a/apps/desktop/package.json b/apps/desktop/package.json index a9e2ec05b..4999d310b 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -7,7 +7,7 @@ "author": "Folo Team", "homepage": "https://github.com/RSSNext", "repository": { - "url": "https://github.com/RSSNext/follow", + "url": "https://github.com/RSSNext/Folo", "type": "git" }, "main": "./dist/main/index.js", diff --git a/apps/desktop/src/renderer/src/modules/discover/form.tsx b/apps/desktop/src/renderer/src/modules/discover/form.tsx index 015305087..039472b63 100644 --- a/apps/desktop/src/renderer/src/modules/discover/form.tsx +++ b/apps/desktop/src/renderer/src/modules/discover/form.tsx @@ -15,6 +15,7 @@ import { Input } from "@follow/components/ui/input/index.js" import { ResponsiveSelect } from "@follow/components/ui/select/responsive.js" import { getBackgroundGradient } from "@follow/utils/color" import { zodResolver } from "@hookform/resolvers/zod" +import { repository } from "@pkg" import { useMutation } from "@tanstack/react-query" import { m } from "framer-motion" import { produce } from "immer" @@ -50,6 +51,7 @@ const info: Record< prefix?: string[] showModal?: boolean default?: string + bottom?: React.ReactNode } > = { search: { @@ -60,12 +62,34 @@ const info: Record< default: "https://", prefix: ["https://", "http://"], showModal: true, + bottom: ( + + + Folo Flavored Feed Spec + + ), }, rsshub: { label: "discover.rss_hub_route", prefix: ["rsshub://"], default: "rsshub://", showModal: true, + bottom: ( + + + RSSHub Docs + + ), }, } @@ -304,6 +328,7 @@ export function DiscoverForm({ type = "search" }: { type?: string }) { )} +