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
|`GITHUB_TOKEN`| The GitHub token to authenticate API requests. | Yes | - |
40
-
|`SHOW_METRICS`| The metrics to show in the `README.md` file. | Yes | - |
41
-
|`WAKATIME_API_KEY`| The WakaTime API key to fetch coding activity statistics. | No | - |
42
-
|`WAKATIME_RANGE`| The range for WakaTime statistics (e.g., `last_7_days`, `last_30_days`, `last_6_months`, `last_year`, `all_time`). | No | last_7_days |
43
-
|`WAKATIME_DATA`| The data to show from WakaTime statistics. | If `WAKATIME_API_KEY` is provided | - |
44
-
|`TIME_ZONE`| The timezone to use for statistics. | No | UTC |
45
-
|`TIME_LAYOUT`| The layout of the time to show in the last update time. | No | 2006-01-02 15:04:05 -0700 |
46
-
|`SHOW_LAST_UPDATE`| Whether to show the last update time in the `README.md` file. | No | - |
47
-
|`ONLY_MAIN_BRANCH`| Whether to fetch data only from the main branch. If you don’t set this, it will search for commits in all branches of the repository to count the number of commits, which might take more time. | No | - |
48
-
|`COMMIT_MESSAGE`| The commit message to use when updating the `README.md`. | No | 📝 Update README.md |
49
-
|`COMMIT_USER_NAME`| The name to use for the commit. | No | GitHub Action |
50
-
|`COMMIT_USER_EMAIL`| The email to use for the commit. | No |action@github.com|
51
-
|`SECTION_NAME`| The section name in the `README.md` to update. | No | readme-stats |
52
-
|`HIDE_REPO_INFO`| Whether to hide the repository information in action logs. | No | - |
53
-
|`PROGRESS_BAR_VERSION`| The version of the progress bar to use. | No | 1 |
54
-
|`EXCLUDE_FORK_REPOS`| Whether to exclude fork repositories from the metrics. | No | - |
55
-
|`LANGUAGES_AND_TOOLS`| The languages and tools that you used in your repositories. | No | - |
|`GITHUB_TOKEN`| The GitHub token to authenticate API requests. | Yes | - |
40
+
|`SHOW_METRICS`| The metrics to show in the `README.md` file. | Yes | - |
41
+
|`WAKATIME_API_KEY`| The WakaTime API key to fetch coding activity statistics. | No | - |
42
+
|`WAKATIME_RANGE`| The range for WakaTime statistics (e.g., `last_7_days`, `last_30_days`, `last_6_months`, `last_year`, `all_time`). | No | last_7_days |
43
+
|`WAKATIME_DATA`| The data to show from WakaTime statistics. | If `WAKATIME_API_KEY` is provided | - |
44
+
|`TIME_ZONE`| The timezone to use for statistics. | No | UTC |
45
+
|`TIME_LAYOUT`| The layout of the time to show in the last update time. | No | 2006-01-02 15:04:05 -0700 |
46
+
|`SHOW_LAST_UPDATE`| Whether to show the last update time in the `README.md` file. | No | - |
47
+
|`ONLY_MAIN_BRANCH`| Whether to fetch data only from the main branch. If you don’t set this, it will search for commits in all branches of the repository to count the number of commits, which might take more time. | No | - |
48
+
|`COMMIT_MESSAGE`| The commit message to use when updating the `README.md`. | No | 📝 Update README.md |
49
+
|`COMMIT_USER_NAME`| The name to use for the commit. | No | GitHub Action |
50
+
|`COMMIT_USER_EMAIL`| The email to use for the commit. | No |action@github.com|
51
+
|`SECTION_NAME`| The section name in the `README.md` to update. | No | readme-stats |
52
+
|`HIDE_REPO_INFO`| Whether to hide the repository information in action logs. | No | - |
53
+
|`PROGRESS_BAR_VERSION`| The version of the progress bar to use. | No | 1 |
54
+
|`EXCLUDE_FORK_REPOS`| Whether to exclude fork repositories from the metrics. | No | - |
55
+
|`LANGUAGES_AND_TOOLS`| The languages and tools that you used in your repositories. | No | - |
56
+
|`SIMPLIFY_COMMIT_TIMES_TITLE`| If you want to display a simplified title when using `COMMIT_TIMES_OF_DAY`, enable this option to show either "I'm An Early 🐤" or "I'm A Night 🦉" based on the commit time. | No | - |
56
57
57
58
### Metrics
58
59
The `SHOW_METRICS` environment variable is used to specify the metrics to show in the `README.md` file. You can choose from the following metrics:
59
60
60
-
**COMMIT_TIME_OF_DAY**: The time of day you make commits.
61
+
**COMMIT_TIMES_OF_DAY**: The distribution of your commits across different times of the day, such as morning, daytime, evening, and night.
61
62
62
63
**🕒 I'm An Afternoon Warrior 🥷🏻**
63
64
```
@@ -143,11 +144,11 @@ Use the `WAKATIME_DATA` environment variable to specify the data to show.
143
144
```
144
145
145
146
You can use the `WAKATIME_RANGE` environment variable to set the time range for WakaTime statistics. Each value will show a specific label as follows:
146
-
+`last_7_days`: 📊 This Week I Spent My Time On
147
-
+`last_30_days`: 📊 This Month I Spent My Time On
148
-
+`last_6_months`: 📊 In the Last 6 Months I Spent My Time On
149
-
+`last_year`: 📊 This Year I Spent My Time On
150
-
+`all_time`: 📊 All The Time I Spent On
147
+
+`last_7_days`: What I Focused On in the Last 7 Days
148
+
+`last_30_days`: How I Spent My Time Over the Last 30 Days
149
+
+`last_6_months`: Where My Time Went in the Last 6 Months
150
+
+`last_year`: My Time Highlights from Last Year
151
+
+`all_time`: How I’ve Used My Time Across All Time
151
152
152
153
**Note**: If you don't provide the `WAKATIME_API_KEY`, the `WAKATIME_SPENT_TIME` metric will not be shown.
0 commit comments