You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional bonus of using pupeeter is that it can take screenshots, making it easy to convert SVGs to PNG output.
65
+
Additional bonus of using puppeteer is that it can take screenshots, making it easy to convert SVGs to PNG output.
66
66
67
67
### 💬 Gathering external data from GitHub APIs and Third-Party services
68
68
69
69
*metrics* mostly use GitHub APIs since it is its primary target. Most of the time, data are retrieved through GraphQL to save APIs requests, but it sometimes fallback on REST for other features. Octokit SDKs are used to make it easier.
70
70
71
71
As for other external services (Twitter, Spotify, PageSpeed, ...), metrics use their respective APIs, usually making https requests through [axios](https://github.com/axios/axios) and by following their documentation. It would be overkill to install entire SDKs for these since plugins rarely uses more than 2/3 calls.
72
72
73
-
In last resort, pupeeter is seldom used to scrap websites, though its use tends to make things slow and unstable (as it'll break upon HTML structural changes).
73
+
In last resort, puppeteer is seldom used to scrap websites, though its use tends to make things slow and unstable (as it'll break upon HTML structural changes).
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The following contributions are accepted:
20
20
<table>
21
21
<tr>
22
22
<th>Section</th>
23
-
<th>Editions</th>
23
+
<th>Changes</th>
24
24
<th>Additions</th>
25
25
<th>Notes</th>
26
26
</tr>
@@ -41,7 +41,7 @@ The following contributions are accepted:
41
41
<td>❌</td>
42
42
<td>
43
43
<ul>
44
-
<li>Templates editions are allowed with new features additions (but must remain consistent with current visuals)</li>
44
+
<li>Template changes are allowed with new features additions (but must remain consistent with current visuals)</li>
45
45
<li>New templates should use <a href="https://github.com/lowlighter/metrics/blob/master/source/templates/community/README.md">📕 Community templates</a> instead</li>
46
46
</ul>
47
47
</td>
@@ -73,7 +73,7 @@ The following contributions are accepted:
73
73
<td>❌</td>
74
74
<td>
75
75
<ul>
76
-
<li>Core editions impact all rendering process and should be avoided unless necessary</li>
76
+
<li>Core changes impact all rendering process and should be avoided unless necessary</li>
77
77
<li>New dependencies should be avoided when possible</li>
0 commit comments