Files
beardrive/cmd/bdrive
9f13c70b78 feat: ask for a GitHub star where it can't annoy anyone (#108)
* feat: ask for a GitHub star where it can't annoy anyone

Three surfaces, all passive or once-per-setup:

- `bdrive init` prints one line after a successful setup, TTY-only. init
  runs about once per project per machine, and the guard keeps it out of
  CI logs and any output a script parses — putting a star plea in
  repeating output is what got postinstall ads banned from npm.
- The hub sidebar gets a dim "Star on GitHub" link above the account row.
  A link that always sits there reads as social proof; a dismissible
  banner would need dismissal state and would still have interrupted.
- README grows star/pkg.go.dev/docs badges — until now the only
  user-facing link to the repo was the docs sidebar.

Covered by two checks: the CLI e2e asserts init stays silent about the
repo when stdout is piped, and a Playwright spec pins the sidebar link's
href/target and that nothing modal appears with it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FNgeJVcsXQ5sTfWLgCR4cv

* fix(webapp): the star link wears the GitHub mark, at 11px

A star glyph next to "Star on GitHub" said the same word twice; the mark
is what people scan for. lucide dropped its brand icons in v1, so the
path is inline rather than a second icon dependency for one glyph — and
it is filled, so it sits outside the `.ico` stroke sizing.

Text drops 12px → 11px to match the account email below it: this is the
dimmest thing in the sidebar on purpose.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FNgeJVcsXQ5sTfWLgCR4cv

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-02 09:09:39 +09:00
..