-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathRSS.ts
124 lines (123 loc) · 4.05 KB
/
RSS.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/**
* IT IS DEFINITION FOR RSS FEED
* If you want to get more feed, please add it
**/
import { RSSItem } from "./index";
const BASE_URL = "https://azu.github.io/github-search-rss";
// Query references
// https://docs.github.com/en/github/searching-for-information-on-github/understanding-the-search-syntax
// https://docs.github.com/en/github/searching-for-information-on-github/about-searching-on-github
// TYPE references
// https://docs.github.com/en/graphql/reference/queries#searchresultitemconnection
export const SEARCH_ITEMS: RSSItem[] = [
// Issue
{
title: "microsoft/TypeScript Iteration Plan",
query: "repo:microsoft/TypeScript is:issue label:Planning",
TYPE: "ISSUE",
link: `${BASE_URL}/typescript-iterator-plan.json`,
homepage: "https://github.com/search?q=repo%3Amicrosoft%2FTypeScript+is%3Aissue+label%3APlanning"
},
{
title: "w3ctag/design-reviews Design Issues",
query: "repo:w3ctag/design-reviews is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/w3ctag-design-reviews.json`
},
{
title: "npm/rfcs Issues",
query: "repo:npm/rfcs is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/npm-rfcs.json`
},
{
title: "npm/statusboard Issues",
query: "repo:npm/statusboard is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/npm-statusboard.json`
},
{
title: "github/roadmap Issues",
query: "repo:github/roadmap is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/github-roadmap.json`
},
{
title: "mozilla/standards-positions Issues",
query: "repo:mozilla/standards-positions is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/mozilla-standards-positions.json`
},
{
title: "WebKit/standards-positions Issues",
query: "repo:WebKit/standards-positions is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/WebKit-standards-positions.json`
},
{
title: "Fyrd/caniuse Issues",
query: 'repo:Fyrd/caniuse label:"Support data suggestion"',
TYPE: "ISSUE",
link: `${BASE_URL}/caniuse.json`
},
{
title: "org:wintercg Issues",
query: "org:wintercg is:open is:issue -repo:wintercg/admin",
TYPE: "ISSUE",
link: `${BASE_URL}/wintercg.json`
},
{
title: "repo:babel/proposals Issues",
query: "repo:babel/proposals is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/babel-proposals.json`
},
{
title: "repo:antifraudcg/proposals Issues",
query: "repo:antifraudcg/proposals is:issue",
TYPE: "ISSUE",
link: `${BASE_URL}/antifraudcg-proposals.json`
},
// Pull Request
{
// label:data:
title: "mdn/browser-compat-data update data",
query: "repo:mdn/browser-compat-data is:pr is:open",
TYPE: "ISSUE",
link: `${BASE_URL}/mdn-browser-compat-data.json`,
filter: (item) => {
return item.labels.some((label) => label.startsWith("data:"));
}
},
{
title: "mdn/content update content",
query: "repo:mdn/content is:pr is:open",
TYPE: "ISSUE",
link: `${BASE_URL}/mdn-content.json`
},
{
title: "Node.js notable changes",
query: "repo:nodejs/node label:notable-change is:pr is:closed -label:doc",
TYPE: "ISSUE",
link: `${BASE_URL}/nodejs-notable.json`
},
{
title: "whatwg/html changes",
query: 'repo:whatwg/html is:pr label:"impacts documentation"',
TYPE: "ISSUE",
link: `${BASE_URL}/whatwg-html.json`
},
{
title: "papers-we-love new papers",
query: 'repo:papers-we-love/papers-we-love is:pr is:merged add',
TYPE: "ISSUE",
link: `${BASE_URL}/papers-we-love.json`
},
// Repository
{
title: "LightWeight JavaScript repositories",
query: "lightweight language:javascript language:typescript sort:updated-desc",
TYPE: "REPOSITORY",
link: `${BASE_URL}/lightweight-javascript-repo.json`
}
];