forked from kepano/clipper-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-repo-clipper.json
More file actions
53 lines (53 loc) · 1.14 KB
/
github-repo-clipper.json
File metadata and controls
53 lines (53 loc) · 1.14 KB
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
{
"schemaVersion": "0.1.0",
"name": "GitHub Repository",
"behavior": "create",
"noteNameFormat": "{{meta:name:octolytics-dimension-user_login}} {{selector:#repo-title-component a}}: {{selector:.Layout-sidebar p|first}}",
"path": "Clippings",
"noteContentFormat": "## README\n\n{{selectorHtml:article|markdown}}\n\n",
"properties": [
{
"name": "title",
"value": "{{selector:#repo-title-component a}}",
"type": "text"
},
{
"name": "owner",
"value": "{{meta:name:octolytics-dimension-user_login}}",
"type": "text"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "website",
"value": "{{selector:.Layout-sidebar a?href|first}}",
"type": "text"
},
{
"name": "description",
"value": "{{selector:.Layout-sidebar p|first}}",
"type": "text"
},
{
"name": "stars",
"value": "{{selector:#repo-stars-counter-star}}",
"type": "number"
},
{
"name": "tags",
"value": "github, repo, {{selector:.topic-tag|join:\\\", \\\"}}",
"type": "multitext"
},
{
"name": "created",
"value": "{{date}}",
"type": "date"
}
],
"triggers": [
"https://github.com/"
]
}