Files
go-task/website/Taskfile.yml
Valentin Maerten cb7b4dc235 feat(website): refresh adopters list and add discovery tool
Reshuffles the adopters list to lead with big brands (Docker, HashiCorp,
Microsoft, Vercel, Google Cloud, AWS) followed by high-profile OSS
(FerretDB, Tyk, Outline, etc.), so the section reads as strong social
proof rather than a niche catalog.

Adds website/scripts/find-adopters, a small Go CLI that sidesteps the
1000-result cap on GitHub Code Search by partitioning queries per star
bucket (and per pushed-year when a bucket overflows), then enriches
every hit via a batched GraphQL call. The result is a ranked TSV/JSON
of adopter candidates, filterable by min stars and owner type, that
can be rerun periodically to keep the list fresh. Exposed via
`task find-adopters` in website/Taskfile.yml.
2026-04-19 13:26:18 +02:00

64 lines
1.3 KiB
YAML

version: '3'
tasks:
install:
desc: Setup VitePress locally
cmds:
- pnpm install
sources:
- package.json
- pnpm-lock.yaml
default:
desc: Start website
deps: [install]
aliases: [s, start]
vars:
HOST: '{{default "0.0.0.0" .HOST}}'
PORT: '{{default "3001" .PORT}}'
cmds:
- pnpm dev --host={{.HOST}} --port={{.PORT}}
lint:
desc: Lint website
deps: [install]
cmds:
- pnpm lint
build:
desc: Build website
deps: [install]
cmds:
- pnpm build
preview:
desc: Preview Website
deps: [build]
aliases: [serve]
vars:
HOST: '{{default "localhost" .HOST}}'
PORT: '{{default "3001" .PORT}}'
cmds:
- pnpm preview --host={{.HOST}} --port={{.PORT}}
clean:
desc: Clean temp directories
cmds:
- rm -rf ./vitepress/dist
deploy:next:
desc: Build and deploy next.taskfile.dev
cmds:
- pnpm netlify deploy --prod --site=4e13dfcf-fc0d-4bec-ad60-b918a8dc3942
deploy:prod:
desc: Build and deploy taskfile.dev
cmds:
- pnpm netlify deploy --prod --site=e625bc6a-1cd3-465d-ad30-7bbddaeb4f31
find-adopters:
desc: Scan GitHub for every public repo using Task and output a ranked list
dir: scripts/find-adopters
cmds:
- go run . {{.CLI_ARGS}}