From e07b96c2faf3d4d6851a4d49536782a5d27b9107 Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Fri, 15 May 2026 20:21:36 -0400 Subject: [PATCH] Finalize v1 of README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6be10d9..c451f63 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ color_low = "#F7C46A" swap_colors = true # Optional, defaults to true ``` -The colors swap, `color_low <--> color_max, color_mid <--> color_high` based on the user prefers setting by default. Set `swap_colors = false` to keep the same low-to-max color order in both light and dark modes. +The colors swap, `color_low <--> color_max, color_mid <--> color_high` based on a `@media (prefers-color-scheme: dark/light)` query. Set `swap_colors = false` to keep the same low-to-max color order regardless. ### Keeping activity in-sync @@ -94,6 +94,9 @@ If you aren't on a VPS and using actions to deploy your site ([that's how I depl ## Important Notes -- I originally wrote it in Typescript but thought go would be better to distribute to Hugo users (since you probably already have go installed) **so the go version is a completely vibed port**. I didn't look at the code, but it's probably fine? I did verify it's not sending credentials anywhere at least. +- I originally wrote it in Typescript but thought go would be better to distribute to Hugo users (since you probably already have go installed) **so the go version is a completely vibed port**. I didn't look at the code, but it's probably fine? - Private repo contributions are tracked, but they are anonymized in the activity.json. It shows up as `"private": ""`. -- I added Gitlab functionality but I don't use Gitlab so it may have issues. I set up a test account and did a quick test to make sure a new commit showed up, but good likelihood of edge cases. +- I added Gitlab functionality but, I don't use Gitlab so it may have issues. I set up a test account and did a quick test to make sure a new commit showed up, but good likelihood of edge cases. +- The activity script will deduplicate based on repo name. Example: You have a repo named `cool-project` on with 1 Github contribution, 8 Forgejo contributions, and 1 Gitlab contribution. This code will grab the daily activity for that project across all providers and pick the highest value for the day, 8. + +