feedscout 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -17
- package/dist/blogrolls/defaults.cjs +1 -3
- package/dist/blogrolls/defaults.js +1 -2
- package/dist/blogrolls/extractors.cjs +6 -9
- package/dist/blogrolls/extractors.js +6 -9
- package/dist/blogrolls/index.cjs +6 -9
- package/dist/blogrolls/index.d.cts +1 -1
- package/dist/blogrolls/index.d.ts +1 -1
- package/dist/blogrolls/index.js +1 -4
- package/dist/blogrolls.cjs +4 -5
- package/dist/blogrolls.js +1 -2
- package/dist/common/discover/index.cjs +60 -21
- package/dist/common/discover/index.js +58 -19
- package/dist/common/discover/utils.cjs +30 -9
- package/dist/common/discover/utils.js +28 -8
- package/dist/common/locales.cjs +127 -8
- package/dist/common/locales.js +116 -2
- package/dist/common/types.cjs +10 -0
- package/dist/common/types.d.cts +23 -5
- package/dist/common/types.d.ts +23 -5
- package/dist/common/types.js +10 -0
- package/dist/common/uris/feed/index.cjs +12 -0
- package/dist/common/uris/feed/index.d.cts +6 -0
- package/dist/common/uris/feed/index.d.ts +6 -0
- package/dist/common/uris/feed/index.js +12 -0
- package/dist/common/uris/feed/types.d.cts +9 -0
- package/dist/common/uris/feed/types.d.ts +9 -0
- package/dist/common/uris/guess/index.cjs +2 -4
- package/dist/common/uris/guess/index.d.cts +2 -1
- package/dist/common/uris/guess/index.d.ts +2 -1
- package/dist/common/uris/guess/index.js +1 -3
- package/dist/common/uris/guess/types.d.cts +3 -1
- package/dist/common/uris/guess/types.d.ts +3 -1
- package/dist/common/uris/guess/utils.cjs +5 -4
- package/dist/common/uris/guess/utils.d.cts +3 -1
- package/dist/common/uris/guess/utils.d.ts +3 -1
- package/dist/common/uris/guess/utils.js +5 -3
- package/dist/common/uris/headers/index.cjs +2 -4
- package/dist/common/uris/headers/index.js +1 -3
- package/dist/common/uris/html/handlers.cjs +2 -4
- package/dist/common/uris/html/handlers.js +1 -3
- package/dist/common/uris/html/index.cjs +2 -4
- package/dist/common/uris/html/index.js +1 -3
- package/dist/common/uris/index.cjs +23 -17
- package/dist/common/uris/index.js +19 -13
- package/dist/common/uris/platform/index.cjs +3 -5
- package/dist/common/uris/platform/index.d.cts +7 -0
- package/dist/common/uris/platform/index.d.ts +7 -0
- package/dist/common/uris/platform/index.js +3 -4
- package/dist/common/uris/platform/types.d.cts +4 -2
- package/dist/common/uris/platform/types.d.ts +4 -2
- package/dist/common/utils.cjs +25 -8
- package/dist/common/utils.d.cts +2 -2
- package/dist/common/utils.d.ts +2 -2
- package/dist/common/utils.js +23 -7
- package/dist/favicons/defaults.cjs +60 -0
- package/dist/favicons/defaults.d.cts +18 -0
- package/dist/favicons/defaults.d.ts +18 -0
- package/dist/favicons/defaults.js +53 -0
- package/dist/favicons/extractors.cjs +13 -0
- package/dist/favicons/extractors.d.cts +7 -0
- package/dist/favicons/extractors.d.ts +7 -0
- package/dist/favicons/extractors.js +13 -0
- package/dist/favicons/index.cjs +29 -0
- package/dist/favicons/index.d.cts +7 -0
- package/dist/favicons/index.d.ts +7 -0
- package/dist/favicons/index.js +29 -0
- package/dist/favicons/platform/handlers/bluesky.cjs +27 -0
- package/dist/favicons/platform/handlers/bluesky.js +27 -0
- package/dist/favicons/platform/handlers/codeberg.cjs +18 -0
- package/dist/favicons/platform/handlers/codeberg.js +18 -0
- package/dist/favicons/platform/handlers/deviantart.cjs +29 -0
- package/dist/favicons/platform/handlers/deviantart.js +29 -0
- package/dist/favicons/platform/handlers/github.cjs +18 -0
- package/dist/favicons/platform/handlers/github.js +18 -0
- package/dist/favicons/platform/handlers/githubGist.cjs +18 -0
- package/dist/favicons/platform/handlers/githubGist.js +18 -0
- package/dist/favicons/platform/handlers/lobsters.cjs +21 -0
- package/dist/favicons/platform/handlers/lobsters.js +21 -0
- package/dist/favicons/platform/handlers/mastodon.cjs +36 -0
- package/dist/favicons/platform/handlers/mastodon.js +34 -0
- package/dist/favicons/platform/handlers/reddit.cjs +41 -0
- package/dist/favicons/platform/handlers/reddit.js +41 -0
- package/dist/favicons/platform/handlers/sourceforge.cjs +21 -0
- package/dist/favicons/platform/handlers/sourceforge.js +21 -0
- package/dist/favicons/platform/handlers/tumblr.cjs +16 -0
- package/dist/favicons/platform/handlers/tumblr.js +16 -0
- package/dist/favicons/types.d.cts +4 -0
- package/dist/favicons/types.d.ts +4 -0
- package/dist/favicons.cjs +12 -0
- package/dist/favicons.d.cts +4 -0
- package/dist/favicons.d.ts +4 -0
- package/dist/favicons.js +3 -0
- package/dist/feeds/defaults.cjs +66 -37
- package/dist/feeds/defaults.d.cts +2 -2
- package/dist/feeds/defaults.d.ts +2 -2
- package/dist/feeds/defaults.js +52 -23
- package/dist/feeds/extractors.cjs +1 -3
- package/dist/feeds/extractors.js +1 -3
- package/dist/feeds/index.cjs +6 -8
- package/dist/feeds/index.d.cts +1 -1
- package/dist/feeds/index.d.ts +1 -1
- package/dist/feeds/index.js +1 -3
- package/dist/feeds/platform/handlers/behance.cjs +10 -6
- package/dist/feeds/platform/handlers/behance.js +10 -6
- package/dist/feeds/platform/handlers/blogspot.cjs +19 -8
- package/dist/feeds/platform/handlers/blogspot.js +19 -7
- package/dist/feeds/platform/handlers/bluesky.cjs +7 -6
- package/dist/feeds/platform/handlers/bluesky.js +7 -6
- package/dist/feeds/platform/handlers/codeberg.cjs +69 -0
- package/dist/feeds/platform/handlers/codeberg.js +67 -0
- package/dist/feeds/platform/handlers/csdn.cjs +19 -0
- package/dist/feeds/platform/handlers/csdn.js +19 -0
- package/dist/feeds/platform/handlers/dailymotion.cjs +10 -6
- package/dist/feeds/platform/handlers/dailymotion.js +10 -6
- package/dist/feeds/platform/handlers/deviantart.cjs +20 -8
- package/dist/feeds/platform/handlers/deviantart.js +18 -8
- package/dist/feeds/platform/handlers/devto.cjs +10 -6
- package/dist/feeds/platform/handlers/devto.js +10 -6
- package/dist/feeds/platform/handlers/douban.cjs +54 -0
- package/dist/feeds/platform/handlers/douban.js +54 -0
- package/dist/feeds/platform/handlers/github.cjs +37 -16
- package/dist/feeds/platform/handlers/github.js +35 -16
- package/dist/feeds/platform/handlers/githubGist.cjs +17 -17
- package/dist/feeds/platform/handlers/githubGist.js +15 -17
- package/dist/feeds/platform/handlers/gitlab.cjs +18 -8
- package/dist/feeds/platform/handlers/gitlab.js +18 -8
- package/dist/feeds/platform/handlers/goodreads.cjs +39 -0
- package/dist/feeds/platform/handlers/goodreads.js +39 -0
- package/dist/feeds/platform/handlers/hashnode.cjs +16 -0
- package/dist/feeds/platform/handlers/hashnode.js +16 -0
- package/dist/feeds/platform/handlers/hatenablog.cjs +53 -0
- package/dist/feeds/platform/handlers/hatenablog.js +53 -0
- package/dist/feeds/platform/handlers/itchio.cjs +88 -0
- package/dist/feeds/platform/handlers/itchio.js +88 -0
- package/dist/feeds/platform/handlers/kickstarter.cjs +10 -6
- package/dist/feeds/platform/handlers/kickstarter.js +10 -6
- package/dist/feeds/platform/handlers/letterboxd.cjs +42 -0
- package/dist/feeds/platform/handlers/letterboxd.js +42 -0
- package/dist/feeds/platform/handlers/lobsters.cjs +35 -12
- package/dist/feeds/platform/handlers/lobsters.js +34 -12
- package/dist/feeds/platform/handlers/mastodon.cjs +40 -0
- package/dist/feeds/platform/handlers/mastodon.js +40 -0
- package/dist/feeds/platform/handlers/medium.cjs +26 -10
- package/dist/feeds/platform/handlers/medium.js +26 -10
- package/dist/feeds/platform/handlers/paragraph.cjs +21 -0
- package/dist/feeds/platform/handlers/paragraph.js +21 -0
- package/dist/feeds/platform/handlers/pinterest.cjs +6 -10
- package/dist/feeds/platform/handlers/pinterest.js +6 -10
- package/dist/feeds/platform/handlers/producthunt.cjs +14 -7
- package/dist/feeds/platform/handlers/producthunt.js +14 -7
- package/dist/feeds/platform/handlers/reddit.cjs +35 -12
- package/dist/feeds/platform/handlers/reddit.js +34 -12
- package/dist/feeds/platform/handlers/soundcloud.cjs +6 -5
- package/dist/feeds/platform/handlers/soundcloud.js +6 -5
- package/dist/feeds/platform/handlers/sourceforge.cjs +20 -0
- package/dist/feeds/platform/handlers/sourceforge.js +19 -0
- package/dist/feeds/platform/handlers/stackExchange.cjs +37 -0
- package/dist/feeds/platform/handlers/stackExchange.js +37 -0
- package/dist/feeds/platform/handlers/steam.cjs +26 -0
- package/dist/feeds/platform/handlers/steam.js +26 -0
- package/dist/feeds/platform/handlers/substack.cjs +6 -5
- package/dist/feeds/platform/handlers/substack.js +6 -5
- package/dist/feeds/platform/handlers/tumblr.cjs +13 -7
- package/dist/feeds/platform/handlers/tumblr.js +12 -7
- package/dist/feeds/platform/handlers/v2ex.cjs +33 -0
- package/dist/feeds/platform/handlers/v2ex.js +33 -0
- package/dist/feeds/platform/handlers/vimeo.cjs +68 -0
- package/dist/feeds/platform/handlers/vimeo.js +68 -0
- package/dist/feeds/platform/handlers/wordpress.cjs +46 -12
- package/dist/feeds/platform/handlers/wordpress.js +46 -12
- package/dist/feeds/platform/handlers/wpengine.cjs +10 -0
- package/dist/feeds/platform/handlers/wpengine.js +11 -0
- package/dist/feeds/platform/handlers/ximalaya.cjs +19 -0
- package/dist/feeds/platform/handlers/ximalaya.js +19 -0
- package/dist/feeds/platform/handlers/youtube.cjs +35 -13
- package/dist/feeds/platform/handlers/youtube.js +35 -13
- package/dist/feeds.cjs +4 -5
- package/dist/feeds.js +1 -2
- package/dist/hubs/discover/index.cjs +7 -9
- package/dist/hubs/discover/index.js +1 -3
- package/dist/hubs/discover/utils.cjs +1 -3
- package/dist/hubs/discover/utils.js +1 -2
- package/dist/hubs/feed/index.cjs +1 -3
- package/dist/hubs/feed/index.js +1 -3
- package/dist/hubs/headers/index.cjs +3 -5
- package/dist/hubs/headers/index.js +1 -3
- package/dist/hubs/html/index.cjs +3 -5
- package/dist/hubs/html/index.js +1 -3
- package/dist/hubs.js +1 -1
- package/dist/index.cjs +8 -7
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/methods.cjs +13 -10
- package/dist/methods.d.cts +3 -1
- package/dist/methods.d.ts +3 -1
- package/dist/methods.js +3 -2
- package/dist/utils.cjs +3 -4
- package/dist/utils.js +1 -2
- package/package.json +15 -5
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const require_utils = require(
|
|
2
|
-
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
3
2
|
//#region src/feeds/platform/handlers/kickstarter.ts
|
|
4
3
|
const hosts = ["kickstarter.com", "www.kickstarter.com"];
|
|
5
4
|
const kickstarterHandler = {
|
|
@@ -9,10 +8,15 @@ const kickstarterHandler = {
|
|
|
9
8
|
resolve: (url) => {
|
|
10
9
|
const { pathname } = new URL(url);
|
|
11
10
|
const pathSegments = pathname.split("/").filter(Boolean);
|
|
12
|
-
if (pathSegments.length >= 3 && pathSegments[0] === "projects") return [
|
|
13
|
-
|
|
11
|
+
if (pathSegments.length >= 3 && pathSegments[0] === "projects") return [{
|
|
12
|
+
uri: `https://www.kickstarter.com/projects/${pathSegments[1]}/${pathSegments[2]}/posts.atom`,
|
|
13
|
+
hint: require_utils.composeHint("kickstarter:updates")
|
|
14
|
+
}];
|
|
15
|
+
return [{
|
|
16
|
+
uri: "https://www.kickstarter.com/projects/feed.atom",
|
|
17
|
+
hint: require_utils.composeHint("kickstarter:projects")
|
|
18
|
+
}];
|
|
14
19
|
}
|
|
15
20
|
};
|
|
16
|
-
|
|
17
21
|
//#endregion
|
|
18
|
-
exports.kickstarterHandler = kickstarterHandler;
|
|
22
|
+
exports.kickstarterHandler = kickstarterHandler;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { isHostOf } from "../../../common/utils.js";
|
|
2
|
-
|
|
1
|
+
import { composeHint, isHostOf } from "../../../common/utils.js";
|
|
3
2
|
//#region src/feeds/platform/handlers/kickstarter.ts
|
|
4
3
|
const hosts = ["kickstarter.com", "www.kickstarter.com"];
|
|
5
4
|
const kickstarterHandler = {
|
|
@@ -9,10 +8,15 @@ const kickstarterHandler = {
|
|
|
9
8
|
resolve: (url) => {
|
|
10
9
|
const { pathname } = new URL(url);
|
|
11
10
|
const pathSegments = pathname.split("/").filter(Boolean);
|
|
12
|
-
if (pathSegments.length >= 3 && pathSegments[0] === "projects") return [
|
|
13
|
-
|
|
11
|
+
if (pathSegments.length >= 3 && pathSegments[0] === "projects") return [{
|
|
12
|
+
uri: `https://www.kickstarter.com/projects/${pathSegments[1]}/${pathSegments[2]}/posts.atom`,
|
|
13
|
+
hint: composeHint("kickstarter:updates")
|
|
14
|
+
}];
|
|
15
|
+
return [{
|
|
16
|
+
uri: "https://www.kickstarter.com/projects/feed.atom",
|
|
17
|
+
hint: composeHint("kickstarter:projects")
|
|
18
|
+
}];
|
|
14
19
|
}
|
|
15
20
|
};
|
|
16
|
-
|
|
17
21
|
//#endregion
|
|
18
|
-
export { kickstarterHandler };
|
|
22
|
+
export { kickstarterHandler };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
2
|
+
//#region src/feeds/platform/handlers/letterboxd.ts
|
|
3
|
+
const hosts = ["letterboxd.com", "www.letterboxd.com"];
|
|
4
|
+
const excludedPaths = [
|
|
5
|
+
"about",
|
|
6
|
+
"activity",
|
|
7
|
+
"api-beta",
|
|
8
|
+
"apps",
|
|
9
|
+
"contact",
|
|
10
|
+
"create-account",
|
|
11
|
+
"films",
|
|
12
|
+
"journal",
|
|
13
|
+
"legal",
|
|
14
|
+
"lists",
|
|
15
|
+
"members",
|
|
16
|
+
"news",
|
|
17
|
+
"pro",
|
|
18
|
+
"search",
|
|
19
|
+
"settings",
|
|
20
|
+
"showdown",
|
|
21
|
+
"sign-in",
|
|
22
|
+
"welcome",
|
|
23
|
+
"year-in-review"
|
|
24
|
+
];
|
|
25
|
+
const letterboxdHandler = {
|
|
26
|
+
match: (url) => {
|
|
27
|
+
return require_utils.isHostOf(url, hosts);
|
|
28
|
+
},
|
|
29
|
+
resolve: (url) => {
|
|
30
|
+
const { pathname } = new URL(url);
|
|
31
|
+
const pathSegments = pathname.split("/").filter(Boolean);
|
|
32
|
+
if (pathSegments.length === 0) return [];
|
|
33
|
+
const username = pathSegments[0];
|
|
34
|
+
if (require_utils.isAnyOf(username, excludedPaths)) return [];
|
|
35
|
+
return [{
|
|
36
|
+
uri: `https://letterboxd.com/${username}/rss/`,
|
|
37
|
+
hint: require_utils.composeHint("letterboxd:diary")
|
|
38
|
+
}];
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
exports.letterboxdHandler = letterboxdHandler;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { composeHint, isAnyOf, isHostOf } from "../../../common/utils.js";
|
|
2
|
+
//#region src/feeds/platform/handlers/letterboxd.ts
|
|
3
|
+
const hosts = ["letterboxd.com", "www.letterboxd.com"];
|
|
4
|
+
const excludedPaths = [
|
|
5
|
+
"about",
|
|
6
|
+
"activity",
|
|
7
|
+
"api-beta",
|
|
8
|
+
"apps",
|
|
9
|
+
"contact",
|
|
10
|
+
"create-account",
|
|
11
|
+
"films",
|
|
12
|
+
"journal",
|
|
13
|
+
"legal",
|
|
14
|
+
"lists",
|
|
15
|
+
"members",
|
|
16
|
+
"news",
|
|
17
|
+
"pro",
|
|
18
|
+
"search",
|
|
19
|
+
"settings",
|
|
20
|
+
"showdown",
|
|
21
|
+
"sign-in",
|
|
22
|
+
"welcome",
|
|
23
|
+
"year-in-review"
|
|
24
|
+
];
|
|
25
|
+
const letterboxdHandler = {
|
|
26
|
+
match: (url) => {
|
|
27
|
+
return isHostOf(url, hosts);
|
|
28
|
+
},
|
|
29
|
+
resolve: (url) => {
|
|
30
|
+
const { pathname } = new URL(url);
|
|
31
|
+
const pathSegments = pathname.split("/").filter(Boolean);
|
|
32
|
+
if (pathSegments.length === 0) return [];
|
|
33
|
+
const username = pathSegments[0];
|
|
34
|
+
if (isAnyOf(username, excludedPaths)) return [];
|
|
35
|
+
return [{
|
|
36
|
+
uri: `https://letterboxd.com/${username}/rss/`,
|
|
37
|
+
hint: composeHint("letterboxd:diary")
|
|
38
|
+
}];
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//#endregion
|
|
42
|
+
export { letterboxdHandler };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const require_utils = require(
|
|
2
|
-
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
3
2
|
//#region src/feeds/platform/handlers/lobsters.ts
|
|
4
3
|
const hosts = ["lobste.rs"];
|
|
5
4
|
const tagPathRegex = /^\/t\/([a-zA-Z0-9,_-]+)/;
|
|
@@ -13,22 +12,46 @@ const lobstersHandler = {
|
|
|
13
12
|
resolve: (url) => {
|
|
14
13
|
const { pathname } = new URL(url);
|
|
15
14
|
const tagMatch = pathname.match(tagPathRegex);
|
|
16
|
-
if (tagMatch?.[1]) return [
|
|
15
|
+
if (tagMatch?.[1]) return [{
|
|
16
|
+
uri: `https://lobste.rs/t/${tagMatch[1]}.rss`,
|
|
17
|
+
hint: require_utils.composeHint("lobsters:tag")
|
|
18
|
+
}];
|
|
17
19
|
const domainMatch = pathname.match(domainPathRegex);
|
|
18
|
-
if (domainMatch?.[1]) return [
|
|
20
|
+
if (domainMatch?.[1]) return [{
|
|
21
|
+
uri: `https://lobste.rs/domains/${domainMatch[1]}.rss`,
|
|
22
|
+
hint: require_utils.composeHint("lobsters:domain")
|
|
23
|
+
}];
|
|
19
24
|
const userMatch = pathname.match(userPathRegex);
|
|
20
|
-
if (userMatch?.[1]) return [
|
|
25
|
+
if (userMatch?.[1]) return [{
|
|
26
|
+
uri: `https://lobste.rs/~${userMatch[1]}/stories.rss`,
|
|
27
|
+
hint: require_utils.composeHint("lobsters:stories")
|
|
28
|
+
}];
|
|
21
29
|
const topMatch = pathname.match(topPathRegex);
|
|
22
30
|
if (topMatch) {
|
|
23
31
|
const period = topMatch[1];
|
|
24
|
-
if (period) return [
|
|
25
|
-
|
|
32
|
+
if (period) return [{
|
|
33
|
+
uri: `https://lobste.rs/top/${period}/rss`,
|
|
34
|
+
hint: require_utils.composeHint("lobsters:top")
|
|
35
|
+
}];
|
|
36
|
+
return [{
|
|
37
|
+
uri: "https://lobste.rs/top/rss",
|
|
38
|
+
hint: require_utils.composeHint("lobsters:top")
|
|
39
|
+
}];
|
|
26
40
|
}
|
|
27
|
-
if (pathname === "/newest" || pathname === "/newest/") return [
|
|
28
|
-
|
|
29
|
-
|
|
41
|
+
if (pathname === "/newest" || pathname === "/newest/") return [{
|
|
42
|
+
uri: "https://lobste.rs/newest.rss",
|
|
43
|
+
hint: require_utils.composeHint("lobsters:newest")
|
|
44
|
+
}];
|
|
45
|
+
if (pathname === "/comments" || pathname === "/comments/") return [{
|
|
46
|
+
uri: "https://lobste.rs/comments.rss",
|
|
47
|
+
hint: require_utils.composeHint("lobsters:comments")
|
|
48
|
+
}];
|
|
49
|
+
return [{
|
|
50
|
+
uri: "https://lobste.rs/rss",
|
|
51
|
+
hint: require_utils.composeHint("lobsters:stories")
|
|
52
|
+
}];
|
|
30
53
|
}
|
|
31
54
|
};
|
|
32
|
-
|
|
33
55
|
//#endregion
|
|
34
|
-
exports.
|
|
56
|
+
exports.hosts = hosts;
|
|
57
|
+
exports.lobstersHandler = lobstersHandler;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { isHostOf } from "../../../common/utils.js";
|
|
2
|
-
|
|
1
|
+
import { composeHint, isHostOf } from "../../../common/utils.js";
|
|
3
2
|
//#region src/feeds/platform/handlers/lobsters.ts
|
|
4
3
|
const hosts = ["lobste.rs"];
|
|
5
4
|
const tagPathRegex = /^\/t\/([a-zA-Z0-9,_-]+)/;
|
|
@@ -13,22 +12,45 @@ const lobstersHandler = {
|
|
|
13
12
|
resolve: (url) => {
|
|
14
13
|
const { pathname } = new URL(url);
|
|
15
14
|
const tagMatch = pathname.match(tagPathRegex);
|
|
16
|
-
if (tagMatch?.[1]) return [
|
|
15
|
+
if (tagMatch?.[1]) return [{
|
|
16
|
+
uri: `https://lobste.rs/t/${tagMatch[1]}.rss`,
|
|
17
|
+
hint: composeHint("lobsters:tag")
|
|
18
|
+
}];
|
|
17
19
|
const domainMatch = pathname.match(domainPathRegex);
|
|
18
|
-
if (domainMatch?.[1]) return [
|
|
20
|
+
if (domainMatch?.[1]) return [{
|
|
21
|
+
uri: `https://lobste.rs/domains/${domainMatch[1]}.rss`,
|
|
22
|
+
hint: composeHint("lobsters:domain")
|
|
23
|
+
}];
|
|
19
24
|
const userMatch = pathname.match(userPathRegex);
|
|
20
|
-
if (userMatch?.[1]) return [
|
|
25
|
+
if (userMatch?.[1]) return [{
|
|
26
|
+
uri: `https://lobste.rs/~${userMatch[1]}/stories.rss`,
|
|
27
|
+
hint: composeHint("lobsters:stories")
|
|
28
|
+
}];
|
|
21
29
|
const topMatch = pathname.match(topPathRegex);
|
|
22
30
|
if (topMatch) {
|
|
23
31
|
const period = topMatch[1];
|
|
24
|
-
if (period) return [
|
|
25
|
-
|
|
32
|
+
if (period) return [{
|
|
33
|
+
uri: `https://lobste.rs/top/${period}/rss`,
|
|
34
|
+
hint: composeHint("lobsters:top")
|
|
35
|
+
}];
|
|
36
|
+
return [{
|
|
37
|
+
uri: "https://lobste.rs/top/rss",
|
|
38
|
+
hint: composeHint("lobsters:top")
|
|
39
|
+
}];
|
|
26
40
|
}
|
|
27
|
-
if (pathname === "/newest" || pathname === "/newest/") return [
|
|
28
|
-
|
|
29
|
-
|
|
41
|
+
if (pathname === "/newest" || pathname === "/newest/") return [{
|
|
42
|
+
uri: "https://lobste.rs/newest.rss",
|
|
43
|
+
hint: composeHint("lobsters:newest")
|
|
44
|
+
}];
|
|
45
|
+
if (pathname === "/comments" || pathname === "/comments/") return [{
|
|
46
|
+
uri: "https://lobste.rs/comments.rss",
|
|
47
|
+
hint: composeHint("lobsters:comments")
|
|
48
|
+
}];
|
|
49
|
+
return [{
|
|
50
|
+
uri: "https://lobste.rs/rss",
|
|
51
|
+
hint: composeHint("lobsters:stories")
|
|
52
|
+
}];
|
|
30
53
|
}
|
|
31
54
|
};
|
|
32
|
-
|
|
33
55
|
//#endregion
|
|
34
|
-
export { lobstersHandler };
|
|
56
|
+
export { hosts, lobstersHandler };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
2
|
+
const require_mastodon = require("../../../favicons/platform/handlers/mastodon.cjs");
|
|
3
|
+
//#region src/feeds/platform/handlers/mastodon.ts
|
|
4
|
+
const isProfilePath = (pathname) => {
|
|
5
|
+
const segments = pathname.split("/").filter(Boolean);
|
|
6
|
+
return segments.length >= 1 && segments[0].startsWith("@");
|
|
7
|
+
};
|
|
8
|
+
const isTagPath = (pathname) => {
|
|
9
|
+
const segments = pathname.split("/").filter(Boolean);
|
|
10
|
+
return segments.length >= 2 && segments[0] === "tags";
|
|
11
|
+
};
|
|
12
|
+
const mastodonHandler = {
|
|
13
|
+
match: (url, content, headers) => {
|
|
14
|
+
try {
|
|
15
|
+
const { pathname } = new URL(url);
|
|
16
|
+
if (!isProfilePath(pathname) && !isTagPath(pathname)) return false;
|
|
17
|
+
if (content && require_mastodon.isMastodonHtml(content)) return true;
|
|
18
|
+
if (headers && require_mastodon.isMastodonHeaders(headers)) return true;
|
|
19
|
+
} catch {}
|
|
20
|
+
return false;
|
|
21
|
+
},
|
|
22
|
+
resolve: (url) => {
|
|
23
|
+
try {
|
|
24
|
+
const { origin, pathname } = new URL(url);
|
|
25
|
+
const userMatch = pathname.match(/^\/@([^/]+)/);
|
|
26
|
+
if (userMatch?.[1]) return [{
|
|
27
|
+
uri: `${origin}/@${userMatch[1]}.rss`,
|
|
28
|
+
hint: require_utils.composeHint("mastodon:posts")
|
|
29
|
+
}];
|
|
30
|
+
const tagMatch = pathname.match(/^\/tags\/([^/]+)/);
|
|
31
|
+
if (tagMatch?.[1]) return [{
|
|
32
|
+
uri: `${origin}/tags/${tagMatch[1]}.rss`,
|
|
33
|
+
hint: require_utils.composeHint("mastodon:tag")
|
|
34
|
+
}];
|
|
35
|
+
} catch {}
|
|
36
|
+
return [];
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.mastodonHandler = mastodonHandler;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { composeHint } from "../../../common/utils.js";
|
|
2
|
+
import { isMastodonHeaders, isMastodonHtml } from "../../../favicons/platform/handlers/mastodon.js";
|
|
3
|
+
//#region src/feeds/platform/handlers/mastodon.ts
|
|
4
|
+
const isProfilePath = (pathname) => {
|
|
5
|
+
const segments = pathname.split("/").filter(Boolean);
|
|
6
|
+
return segments.length >= 1 && segments[0].startsWith("@");
|
|
7
|
+
};
|
|
8
|
+
const isTagPath = (pathname) => {
|
|
9
|
+
const segments = pathname.split("/").filter(Boolean);
|
|
10
|
+
return segments.length >= 2 && segments[0] === "tags";
|
|
11
|
+
};
|
|
12
|
+
const mastodonHandler = {
|
|
13
|
+
match: (url, content, headers) => {
|
|
14
|
+
try {
|
|
15
|
+
const { pathname } = new URL(url);
|
|
16
|
+
if (!isProfilePath(pathname) && !isTagPath(pathname)) return false;
|
|
17
|
+
if (content && isMastodonHtml(content)) return true;
|
|
18
|
+
if (headers && isMastodonHeaders(headers)) return true;
|
|
19
|
+
} catch {}
|
|
20
|
+
return false;
|
|
21
|
+
},
|
|
22
|
+
resolve: (url) => {
|
|
23
|
+
try {
|
|
24
|
+
const { origin, pathname } = new URL(url);
|
|
25
|
+
const userMatch = pathname.match(/^\/@([^/]+)/);
|
|
26
|
+
if (userMatch?.[1]) return [{
|
|
27
|
+
uri: `${origin}/@${userMatch[1]}.rss`,
|
|
28
|
+
hint: composeHint("mastodon:posts")
|
|
29
|
+
}];
|
|
30
|
+
const tagMatch = pathname.match(/^\/tags\/([^/]+)/);
|
|
31
|
+
if (tagMatch?.[1]) return [{
|
|
32
|
+
uri: `${origin}/tags/${tagMatch[1]}.rss`,
|
|
33
|
+
hint: composeHint("mastodon:tag")
|
|
34
|
+
}];
|
|
35
|
+
} catch {}
|
|
36
|
+
return [];
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { mastodonHandler };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const require_utils = require(
|
|
2
|
-
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
3
2
|
//#region src/feeds/platform/handlers/medium.ts
|
|
4
3
|
const hosts = ["medium.com", "www.medium.com"];
|
|
5
4
|
const excludedPaths = [
|
|
@@ -18,30 +17,47 @@ const mediumHandler = {
|
|
|
18
17
|
const lowerHostname = hostname.toLowerCase();
|
|
19
18
|
if (hosts.includes(lowerHostname)) {
|
|
20
19
|
const userMatch = pathname.match(/^\/@([^/]+)/);
|
|
21
|
-
if (userMatch?.[1]) return [
|
|
20
|
+
if (userMatch?.[1]) return [{
|
|
21
|
+
uri: `https://medium.com/feed/@${userMatch[1]}`,
|
|
22
|
+
hint: require_utils.composeHint("medium:posts")
|
|
23
|
+
}];
|
|
22
24
|
const tagMatch = pathname.match(/^\/tag\/([^/]+)/);
|
|
23
|
-
if (tagMatch?.[1]) return [
|
|
25
|
+
if (tagMatch?.[1]) return [{
|
|
26
|
+
uri: `https://medium.com/feed/tag/${tagMatch[1]}`,
|
|
27
|
+
hint: require_utils.composeHint("medium:tag")
|
|
28
|
+
}];
|
|
24
29
|
const pubTagMatch = pathname.match(/^\/([^/@][^/]+)\/tagged\/([^/]+)/);
|
|
25
30
|
if (pubTagMatch?.[1] && pubTagMatch?.[2]) {
|
|
26
31
|
const publication = pubTagMatch[1];
|
|
27
32
|
const tag = pubTagMatch[2];
|
|
28
|
-
if (!require_utils.isAnyOf(publication, excludedPaths)) return [
|
|
33
|
+
if (!require_utils.isAnyOf(publication, excludedPaths)) return [{
|
|
34
|
+
uri: `https://medium.com/feed/${publication}/tagged/${tag}`,
|
|
35
|
+
hint: require_utils.composeHint("medium:tagged")
|
|
36
|
+
}];
|
|
29
37
|
}
|
|
30
38
|
const pubMatch = pathname.match(/^\/([^/@][^/]+)/);
|
|
31
39
|
if (pubMatch?.[1]) {
|
|
32
40
|
const publication = pubMatch[1];
|
|
33
|
-
if (!require_utils.isAnyOf(publication, excludedPaths)) return [
|
|
41
|
+
if (!require_utils.isAnyOf(publication, excludedPaths)) return [{
|
|
42
|
+
uri: `https://medium.com/feed/${publication}`,
|
|
43
|
+
hint: require_utils.composeHint("medium:publication")
|
|
44
|
+
}];
|
|
34
45
|
}
|
|
35
46
|
}
|
|
36
47
|
if (lowerHostname.endsWith(".medium.com") && lowerHostname !== "medium.com" && lowerHostname !== "www.medium.com") {
|
|
37
48
|
const subdomain = lowerHostname.replace(".medium.com", "");
|
|
38
49
|
const tagMatch = pathname.match(/^\/tagged\/([^/]+)/);
|
|
39
|
-
if (tagMatch?.[1]) return [
|
|
40
|
-
|
|
50
|
+
if (tagMatch?.[1]) return [{
|
|
51
|
+
uri: `https://medium.com/feed/${subdomain}/tagged/${tagMatch[1]}`,
|
|
52
|
+
hint: require_utils.composeHint("medium:tagged")
|
|
53
|
+
}];
|
|
54
|
+
return [{
|
|
55
|
+
uri: `https://medium.com/feed/${subdomain}`,
|
|
56
|
+
hint: require_utils.composeHint("medium:publication")
|
|
57
|
+
}];
|
|
41
58
|
}
|
|
42
59
|
return [];
|
|
43
60
|
}
|
|
44
61
|
};
|
|
45
|
-
|
|
46
62
|
//#endregion
|
|
47
|
-
exports.mediumHandler = mediumHandler;
|
|
63
|
+
exports.mediumHandler = mediumHandler;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { isAnyOf, isHostOf, isSubdomainOf } from "../../../common/utils.js";
|
|
2
|
-
|
|
1
|
+
import { composeHint, isAnyOf, isHostOf, isSubdomainOf } from "../../../common/utils.js";
|
|
3
2
|
//#region src/feeds/platform/handlers/medium.ts
|
|
4
3
|
const hosts = ["medium.com", "www.medium.com"];
|
|
5
4
|
const excludedPaths = [
|
|
@@ -18,30 +17,47 @@ const mediumHandler = {
|
|
|
18
17
|
const lowerHostname = hostname.toLowerCase();
|
|
19
18
|
if (hosts.includes(lowerHostname)) {
|
|
20
19
|
const userMatch = pathname.match(/^\/@([^/]+)/);
|
|
21
|
-
if (userMatch?.[1]) return [
|
|
20
|
+
if (userMatch?.[1]) return [{
|
|
21
|
+
uri: `https://medium.com/feed/@${userMatch[1]}`,
|
|
22
|
+
hint: composeHint("medium:posts")
|
|
23
|
+
}];
|
|
22
24
|
const tagMatch = pathname.match(/^\/tag\/([^/]+)/);
|
|
23
|
-
if (tagMatch?.[1]) return [
|
|
25
|
+
if (tagMatch?.[1]) return [{
|
|
26
|
+
uri: `https://medium.com/feed/tag/${tagMatch[1]}`,
|
|
27
|
+
hint: composeHint("medium:tag")
|
|
28
|
+
}];
|
|
24
29
|
const pubTagMatch = pathname.match(/^\/([^/@][^/]+)\/tagged\/([^/]+)/);
|
|
25
30
|
if (pubTagMatch?.[1] && pubTagMatch?.[2]) {
|
|
26
31
|
const publication = pubTagMatch[1];
|
|
27
32
|
const tag = pubTagMatch[2];
|
|
28
|
-
if (!isAnyOf(publication, excludedPaths)) return [
|
|
33
|
+
if (!isAnyOf(publication, excludedPaths)) return [{
|
|
34
|
+
uri: `https://medium.com/feed/${publication}/tagged/${tag}`,
|
|
35
|
+
hint: composeHint("medium:tagged")
|
|
36
|
+
}];
|
|
29
37
|
}
|
|
30
38
|
const pubMatch = pathname.match(/^\/([^/@][^/]+)/);
|
|
31
39
|
if (pubMatch?.[1]) {
|
|
32
40
|
const publication = pubMatch[1];
|
|
33
|
-
if (!isAnyOf(publication, excludedPaths)) return [
|
|
41
|
+
if (!isAnyOf(publication, excludedPaths)) return [{
|
|
42
|
+
uri: `https://medium.com/feed/${publication}`,
|
|
43
|
+
hint: composeHint("medium:publication")
|
|
44
|
+
}];
|
|
34
45
|
}
|
|
35
46
|
}
|
|
36
47
|
if (lowerHostname.endsWith(".medium.com") && lowerHostname !== "medium.com" && lowerHostname !== "www.medium.com") {
|
|
37
48
|
const subdomain = lowerHostname.replace(".medium.com", "");
|
|
38
49
|
const tagMatch = pathname.match(/^\/tagged\/([^/]+)/);
|
|
39
|
-
if (tagMatch?.[1]) return [
|
|
40
|
-
|
|
50
|
+
if (tagMatch?.[1]) return [{
|
|
51
|
+
uri: `https://medium.com/feed/${subdomain}/tagged/${tagMatch[1]}`,
|
|
52
|
+
hint: composeHint("medium:tagged")
|
|
53
|
+
}];
|
|
54
|
+
return [{
|
|
55
|
+
uri: `https://medium.com/feed/${subdomain}`,
|
|
56
|
+
hint: composeHint("medium:publication")
|
|
57
|
+
}];
|
|
41
58
|
}
|
|
42
59
|
return [];
|
|
43
60
|
}
|
|
44
61
|
};
|
|
45
|
-
|
|
46
62
|
//#endregion
|
|
47
|
-
export { mediumHandler };
|
|
63
|
+
export { mediumHandler };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
2
|
+
//#region src/feeds/platform/handlers/paragraph.ts
|
|
3
|
+
const hosts = ["paragraph.com", "www.paragraph.com"];
|
|
4
|
+
const userPathRegex = /^\/@([^/]+)/;
|
|
5
|
+
const paragraphHandler = {
|
|
6
|
+
match: (url) => {
|
|
7
|
+
return require_utils.isHostOf(url, hosts);
|
|
8
|
+
},
|
|
9
|
+
resolve: (url) => {
|
|
10
|
+
const { pathname } = new URL(url);
|
|
11
|
+
const userMatch = pathname.match(userPathRegex);
|
|
12
|
+
if (!userMatch?.[1]) return [];
|
|
13
|
+
const username = userMatch[1];
|
|
14
|
+
return [{
|
|
15
|
+
uri: [`https://paragraph.com/@${username}/feed`, `https://paragraph.com/@${username}/rss`],
|
|
16
|
+
hint: require_utils.composeHint("paragraph:blog")
|
|
17
|
+
}];
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.paragraphHandler = paragraphHandler;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { composeHint, isHostOf } from "../../../common/utils.js";
|
|
2
|
+
//#region src/feeds/platform/handlers/paragraph.ts
|
|
3
|
+
const hosts = ["paragraph.com", "www.paragraph.com"];
|
|
4
|
+
const userPathRegex = /^\/@([^/]+)/;
|
|
5
|
+
const paragraphHandler = {
|
|
6
|
+
match: (url) => {
|
|
7
|
+
return isHostOf(url, hosts);
|
|
8
|
+
},
|
|
9
|
+
resolve: (url) => {
|
|
10
|
+
const { pathname } = new URL(url);
|
|
11
|
+
const userMatch = pathname.match(userPathRegex);
|
|
12
|
+
if (!userMatch?.[1]) return [];
|
|
13
|
+
const username = userMatch[1];
|
|
14
|
+
return [{
|
|
15
|
+
uri: [`https://paragraph.com/@${username}/feed`, `https://paragraph.com/@${username}/rss`],
|
|
16
|
+
hint: composeHint("paragraph:blog")
|
|
17
|
+
}];
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { paragraphHandler };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const require_utils = require(
|
|
2
|
-
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
3
2
|
//#region src/feeds/platform/handlers/pinterest.ts
|
|
4
3
|
const hosts = [
|
|
5
4
|
"pinterest.com",
|
|
@@ -35,14 +34,11 @@ const pinterestHandler = {
|
|
|
35
34
|
if (pathSegments.length === 0) return [];
|
|
36
35
|
const username = pathSegments[0];
|
|
37
36
|
if (require_utils.isAnyOf(username, excludedPaths)) return [];
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
return [`https://www.pinterest.com/${username}/feed.rss`];
|
|
37
|
+
return [{
|
|
38
|
+
uri: `https://www.pinterest.com/${username}/feed.rss`,
|
|
39
|
+
hint: require_utils.composeHint("pinterest:pins")
|
|
40
|
+
}];
|
|
44
41
|
}
|
|
45
42
|
};
|
|
46
|
-
|
|
47
43
|
//#endregion
|
|
48
|
-
exports.pinterestHandler = pinterestHandler;
|
|
44
|
+
exports.pinterestHandler = pinterestHandler;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { isAnyOf, isHostOf } from "../../../common/utils.js";
|
|
2
|
-
|
|
1
|
+
import { composeHint, isAnyOf, isHostOf } from "../../../common/utils.js";
|
|
3
2
|
//#region src/feeds/platform/handlers/pinterest.ts
|
|
4
3
|
const hosts = [
|
|
5
4
|
"pinterest.com",
|
|
@@ -35,14 +34,11 @@ const pinterestHandler = {
|
|
|
35
34
|
if (pathSegments.length === 0) return [];
|
|
36
35
|
const username = pathSegments[0];
|
|
37
36
|
if (isAnyOf(username, excludedPaths)) return [];
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
return [`https://www.pinterest.com/${username}/feed.rss`];
|
|
37
|
+
return [{
|
|
38
|
+
uri: `https://www.pinterest.com/${username}/feed.rss`,
|
|
39
|
+
hint: composeHint("pinterest:pins")
|
|
40
|
+
}];
|
|
44
41
|
}
|
|
45
42
|
};
|
|
46
|
-
|
|
47
43
|
//#endregion
|
|
48
|
-
export { pinterestHandler };
|
|
44
|
+
export { pinterestHandler };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const require_utils = require(
|
|
2
|
-
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
3
2
|
//#region src/feeds/platform/handlers/producthunt.ts
|
|
4
3
|
const hosts = ["producthunt.com", "www.producthunt.com"];
|
|
5
4
|
const topicPathRegex = /^\/topics\/([a-zA-Z0-9_-]+)/;
|
|
@@ -11,12 +10,20 @@ const producthuntHandler = {
|
|
|
11
10
|
resolve: (url) => {
|
|
12
11
|
const { pathname } = new URL(url);
|
|
13
12
|
const topicMatch = pathname.match(topicPathRegex);
|
|
14
|
-
if (topicMatch?.[1]) return [
|
|
13
|
+
if (topicMatch?.[1]) return [{
|
|
14
|
+
uri: `https://www.producthunt.com/feed?topic=${topicMatch[1]}`,
|
|
15
|
+
hint: require_utils.composeHint("producthunt:topic")
|
|
16
|
+
}];
|
|
15
17
|
const categoryMatch = pathname.match(categoryPathRegex);
|
|
16
|
-
if (categoryMatch?.[1]) return [
|
|
17
|
-
|
|
18
|
+
if (categoryMatch?.[1]) return [{
|
|
19
|
+
uri: `https://www.producthunt.com/feed?category=${categoryMatch[1]}`,
|
|
20
|
+
hint: require_utils.composeHint("producthunt:category")
|
|
21
|
+
}];
|
|
22
|
+
return [{
|
|
23
|
+
uri: "https://www.producthunt.com/feed",
|
|
24
|
+
hint: require_utils.composeHint("producthunt:products")
|
|
25
|
+
}];
|
|
18
26
|
}
|
|
19
27
|
};
|
|
20
|
-
|
|
21
28
|
//#endregion
|
|
22
|
-
exports.producthuntHandler = producthuntHandler;
|
|
29
|
+
exports.producthuntHandler = producthuntHandler;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { isHostOf } from "../../../common/utils.js";
|
|
2
|
-
|
|
1
|
+
import { composeHint, isHostOf } from "../../../common/utils.js";
|
|
3
2
|
//#region src/feeds/platform/handlers/producthunt.ts
|
|
4
3
|
const hosts = ["producthunt.com", "www.producthunt.com"];
|
|
5
4
|
const topicPathRegex = /^\/topics\/([a-zA-Z0-9_-]+)/;
|
|
@@ -11,12 +10,20 @@ const producthuntHandler = {
|
|
|
11
10
|
resolve: (url) => {
|
|
12
11
|
const { pathname } = new URL(url);
|
|
13
12
|
const topicMatch = pathname.match(topicPathRegex);
|
|
14
|
-
if (topicMatch?.[1]) return [
|
|
13
|
+
if (topicMatch?.[1]) return [{
|
|
14
|
+
uri: `https://www.producthunt.com/feed?topic=${topicMatch[1]}`,
|
|
15
|
+
hint: composeHint("producthunt:topic")
|
|
16
|
+
}];
|
|
15
17
|
const categoryMatch = pathname.match(categoryPathRegex);
|
|
16
|
-
if (categoryMatch?.[1]) return [
|
|
17
|
-
|
|
18
|
+
if (categoryMatch?.[1]) return [{
|
|
19
|
+
uri: `https://www.producthunt.com/feed?category=${categoryMatch[1]}`,
|
|
20
|
+
hint: composeHint("producthunt:category")
|
|
21
|
+
}];
|
|
22
|
+
return [{
|
|
23
|
+
uri: "https://www.producthunt.com/feed",
|
|
24
|
+
hint: composeHint("producthunt:products")
|
|
25
|
+
}];
|
|
18
26
|
}
|
|
19
27
|
};
|
|
20
|
-
|
|
21
28
|
//#endregion
|
|
22
|
-
export { producthuntHandler };
|
|
29
|
+
export { producthuntHandler };
|