u/Ok_Woodpecker_9104

▲ 0 r/github

ChatGPT quietly became the #2 referrer in my repo's traffic dashboard, passing Google

maintainer of a small design-system extraction CLI here. checked the insights/traffic tab on my repo this week: chatgpt.com sent 22 visits in 14 days, google sent 21, reddit sent 1. three weeks ago chatgpt was at 5.

i never did anything to optimize for this. best guess: the readme is structured like a direct answer to "how do i extract a website's design tokens", and LLMs cite it when people ask.

curious if other maintainers are seeing ai assistants show up in their referring sites. is this a blip or is "GEO" actually becoming a thing for dev tools? worth checking your own traffic dashboard, the data is under insights > traffic and almost nobody opens it.

reddit.com
u/Ok_Woodpecker_9104 — 1 day ago

built a cli that extracts design systems from any url. ran it on 10 popular dev/saas sites and the dark-mode variance was wild.

i built brandmd because i kept watching ai coding tools generate the same generic ui regardless of which site i was cloning the vibe of. so it extracts the colors, typography, spacing, and dark-mode tokens straight from any live url into a DESIGN.md file claude code / cursor / gemini cli / codex can read.

i ran it on 10 popular dev/saas sites to test. the dark-mode variance is much bigger than i expected.

richest dark-mode design systems:

  • supabase: 12 distinct colors
  • linear, notion, raycast: 11 each
  • cursor: 10

these teams treat dark mode as a first-class design surface, not an afterthought.

leanest:

  • anthropic: 5 colors
  • stripe: 7

marketing-first sites where the dark surface is minimal.

other patterns:

  • 8 of 10 sites snap to a 4px spacing grid. figma and raycast use 8px.
  • supabase's brand is genuinely green-saturated (#3FCF8E, #16B674 show up across surfaces)
  • anthropic uses warm yellow neutrals (#FAF9F5 + #B0AEA5)
  • stripe and linear both default to 4px corner radius for buttons

what i could not extract from css alone:

  • illustration style, photography mood
  • copywriting voice and microcopy patterns
  • motion principles (can guess from transition rules, not the actual feel)
  • accessibility decisions baked in figma but stripped in build

drop a site in the comments and i'll run it. (link to repo in first comment.)

reddit.com
u/Ok_Woodpecker_9104 — 1 month ago
▲ 18 r/git

How I solved multi-account git identity with `includeIf`, what about `gh` CLI?

i had two github accounts and kept committing under the wrong one.

the fix that stuck wasn't a wrapper script. it was includeIf in ~/.gitconfig.

[user]
    name = personal name
    email = personal@email.com

[includeIf "gitdir:~/Sites/projects/work/"]
    path = ~/.gitconfig-work

then ~/.gitconfig-work has the work identity:

[user]
    name = work name
    email = work@email.com

git identity switches automatically based on which directory i'm in. cd into a work repo and commits use the work identity. cd anywhere else and it's personal.

zero tools. no wrapper command to remember.

what this DOESN'T solve: gh cli itself. gh uses whichever account is globally active, regardless of includeIf. you still have to gh auth switch manually.

i opened cli/cli#12628 to explore making gh switch based on the same config. curious how others handle the gh side today.

reddit.com
u/Ok_Woodpecker_9104 — 2 months ago