Rename GitHub metrics to Metrics
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 📊 GitHub metrics
|
||||
# 📊 Metrics
|
||||
|
||||
## 💪 Interested in contributing ?
|
||||
|
||||
|
||||
16
README.md
16
README.md
@@ -1,10 +1,10 @@
|
||||
# 📊 GitHub metrics
|
||||
# 📊 Metrics
|
||||
|
||||

|
||||
|
||||
Generates your metrics that you can embed everywhere !
|
||||
|
||||
[](https://metrics.lecoq.io)
|
||||
[](https://metrics.lecoq.io)
|
||||
|
||||
But there's more with [plugins](https://github.com/lowlighter/metrics/tree/master/src/plugins) and [templates](https://github.com/lowlighter/metrics/tree/master/src/templates) !
|
||||
|
||||
@@ -214,7 +214,7 @@ See all supported options in [action.yml](action.yml).
|
||||
Assuming your username is `my-github-user`, you can then embed your metrics in your repository readme like below :
|
||||
|
||||
```markdown
|
||||

|
||||

|
||||
```
|
||||
|
||||
<details>
|
||||
@@ -258,7 +258,7 @@ Go to the `Settings` of your personal repository to create a new secret and past
|
||||
Create a new workflow from the `Actions` tab of your personal repository and paste the following :
|
||||
|
||||
```yaml
|
||||
name: GitHub metrics
|
||||
name: Metrics
|
||||
on:
|
||||
# Schedule updates
|
||||
schedule: [{cron: "0 * * * *"}]
|
||||
@@ -306,7 +306,7 @@ Note that most of steps presented there are illustrative examples for this readm
|
||||
Edit your repository readme and add your metrics image :
|
||||
|
||||
```markdown
|
||||

|
||||

|
||||
```
|
||||
|
||||
</details>
|
||||
@@ -318,7 +318,7 @@ For conveniency, you can use the shared instance available at [metrics.lecoq.io]
|
||||
Assuming your username is `my-github-user`, you can embed your metrics in your repository readme like below :
|
||||
|
||||
```markdown
|
||||

|
||||

|
||||
```
|
||||
|
||||
Visit [metrics.lecoq.io](https://metrics.lecoq.io) for more informations.
|
||||
@@ -401,7 +401,7 @@ From your browser, you should be able to access your web instance on the port yo
|
||||
Edit your repository readme and add your metrics image from your server domain :
|
||||
|
||||
```markdown
|
||||

|
||||

|
||||
```
|
||||
|
||||
### 6. (optional) Setup as service on your instance
|
||||
@@ -413,7 +413,7 @@ Create a new service file `/etc/systemd/system/github_metrics.service` and paste
|
||||
|
||||
```
|
||||
[Unit]
|
||||
Description=GitHub metrics
|
||||
Description=Metrics
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
//Runner
|
||||
try {
|
||||
//Initialization
|
||||
console.log(`GitHub metrics`)
|
||||
console.log("─".repeat(64))
|
||||
console.log(`Metrics`)
|
||||
console.log("─".repeat(64))
|
||||
process.on("unhandledRejection", error => { throw error })
|
||||
|
||||
|
||||
@@ -118,13 +118,13 @@
|
||||
},
|
||||
//Embedded generated code
|
||||
embed() {
|
||||
return ``
|
||||
return ``
|
||||
},
|
||||
//GitHub action auto-generated code
|
||||
action() {
|
||||
return [
|
||||
`# Visit https://github.com/lowlighter/metrics/blob/master/action.yml for full reference`,
|
||||
`name: GitHub metrics`,
|
||||
`name: Metrics`,
|
||||
`on:`,
|
||||
` # Schedule updates`,
|
||||
` schedule: [{cron: "0 * * * *"}]`,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>GitHub metrics</title>
|
||||
<title>Metrics</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="A SVG image generator which includes activity, community and repositories metrics about your GitHub account that you can includes on your profile">
|
||||
<meta name="author" content="lowlighter">
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
<pre><%# -%>
|
||||
<% if (base.metadata) { %>
|
||||
<div class="banner"><%# -%>
|
||||
GitHub metrics generator <%= meta.version %>
|
||||
Metrics generator <%= meta.version %>
|
||||
These generated metrics comes with ABSOLUTELY NO
|
||||
WARRANTY, to the extent permitted by applicable law.
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
Reference in New Issue
Block a user