Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Younesfdj/gitfut
/ functions
Functions
208 in github.com/Younesfdj/gitfut
⨍
Functions
208
◇
Types & classes
29
↓ 1 callers
Function
chunk
(arr: T[], size: number)
lib/github/client.ts:216
↓ 1 callers
Function
clamp
(x: number, lo: number, hi: number)
lib/scoring/attributes.ts:9
↓ 1 callers
Function
countryForLogin
(login: string, location: string | null | undefined)
lib/geo.ts:117
↓ 1 callers
Function
create
()
lib/redis.ts:9
↓ 1 callers
Function
deferred
()
tests/scout.test.ts:27
↓ 1 callers
Function
deriveMetrics
(s: Signals)
lib/scoring/attributes.ts:98
↓ 1 callers
Function
derivePlaystyles
(s: Signals)
lib/scoring/playstyles.ts:35
↓ 1 callers
Function
deriveSkillMoves
(s: Signals)
lib/scoring/attributes.ts:16
↓ 1 callers
Function
deriveStyle
(s: Signals)
lib/scoring/attributes.ts:49
↓ 1 callers
Function
deriveWeakFoot
(stats: Stats)
lib/scoring/attributes.ts:28
↓ 1 callers
Function
deriveWorkRate
(stats: Stats)
lib/scoring/attributes.ts:38
↓ 1 callers
Function
fallback
(username: string)
app/api/card-image/[username]/route.tsx:30
↓ 1 callers
Function
fetchDataUri
(url: string)
lib/og/renderCard.tsx:71
↓ 1 callers
Function
fetchLifetime
( login: string, tok: PoolToken, createdYear: number, currentYear: number, nowIso: string, )
lib/github/client.ts:225
↓ 1 callers
Function
flush
()
tests/scout.test.ts:37
↓ 1 callers
Function
getScoutCount
()
lib/analytics.ts:19
↓ 1 callers
Function
hash
(s: string)
lib/share.ts:22
↓ 1 callers
Function
legacyScore
(s: Signals)
lib/scoring/engine.ts:126
↓ 1 callers
Function
lerp
(a: number, b: number, t: number)
lib/scoring/engine.ts:20
↓ 1 callers
Function
lifetimeQuery
(years: number[], currentYear: number, nowIso: string)
lib/github/client.ts:201
↓ 1 callers
Function
lines
(c: Card)
lib/share.ts:13
↓ 1 callers
Function
normalize
(user: UserNode, lifetimeContributions: number)
lib/github/client.ts:294
↓ 1 callers
Function
normalizeLogin
(username: string)
lib/scout.ts:28
↓ 1 callers
Function
pickFinish
(overall: number, L: number, recentSpike: boolean, login: string)
lib/scoring/engine.ts:138
↓ 1 callers
Function
pointsToUS
(segments: string[])
lib/geo.ts:76
↓ 1 callers
Function
positionFromShape
(st: Stats)
lib/scoring/engine.ts:96
↓ 1 callers
Function
prefersReducedMotion
()
hooks/useReveal.ts:7
↓ 1 callers
Function
punAt
(tick: number)
lib/puns.ts:19
↓ 1 callers
Function
rawStats
(s: Signals)
lib/scoring/engine.ts:26
↓ 1 callers
Function
readCache
(login: string)
lib/scout.ts:31
↓ 1 callers
Function
readCache
(login: string)
hooks/useScout.ts:9
↓ 1 callers
Function
renderCardImage
(card: Card)
lib/og/renderCard.tsx:212
↓ 1 callers
Function
resolveCountry
(card: Card, override: string | null)
app/api/card/[username]/route.ts:10
↓ 1 callers
Function
score99
(value: number, ref: number)
lib/scoring/attributes.ts:12
↓ 1 callers
Function
signalsFromPayload
(p: RawPayload, now = Date.now())
lib/github/signals.ts:10
↓ 1 callers
Function
spike
(p: Profile, c: number)
lib/scoring/engine.ts:78
↓ 1 callers
Function
tryCard
(username: string)
app/u/[username]/opengraph-image.tsx:33
↓ 1 callers
Function
useClickOutside
( ref: RefObject<T | null>, active: boolean, onOutside: () => void, )
hooks/useClickOutside.ts:10
↓ 1 callers
Function
useReveal
(finish: Finish)
hooks/useReveal.ts:15
↓ 1 callers
Function
weightedOVR
(stats: Stats, family: Family)
lib/scoring/engine.ts:119
↓ 1 callers
Function
wrap
(index: number, count: number)
lib/comboboxNav.ts:28
↓ 1 callers
Function
writeCache
(login: string, card: Card)
lib/scout.ts:42
↓ 1 callers
Function
zscore
(raw: Stats)
lib/scoring/engine.ts:57
Function
AppShell
({ stars, scoutCount }: { stars: number | null; scoutCount: number | null })
components/AppShell.tsx:14
Function
AttributeRow
({ label, children }: { label: string; children: React.ReactNode })
components/ScoutReport.tsx:89
Function
AttributesPanel
({ card }: { card: Card })
components/ScoutReport.tsx:348
Function
Background
()
components/Background.tsx:43
Function
BuyMeACoffee
()
components/BuyMeACoffee.tsx:13
Function
CardActions
({ card, targetRef, storyRef, canonicalCountry = "", }: { card: Card; targetRef: React.RefObject<H
components/CardActions.tsx:103
Function
CardFan
({ cards, onPick }: Props)
components/CardFan.tsx:16
Function
ContribGrid
()
components/Background.tsx:7
Function
Error
({ error, reset }: { error: Error & { digest?: string }; reset: () => void })
app/error.tsx:12
Function
FlagPicker
({ value, onChange }: Props)
components/FlagPicker.tsx:32
Function
FooterCredit
()
components/FooterCredit.tsx:29
Function
GET
(req: Request, { params }: { params: Promise<{ username: string }> })
app/api/card-image/[username]/route.tsx:16
Function
GET
(req: Request, { params }: { params: Promise<{ username: string }> })
app/api/card/[username]/route.ts:14
Function
GithubMark
({ size = 16 }: { size?: number })
components/GithubStar.tsx:7
Function
GithubStar
({ stars }: { stars: number | null })
components/GithubStar.tsx:27
Function
GlobalError
({ error, reset, }: { error: Error & { digest?: string }; reset: () => void; })
app/global-error.tsx:10
Function
Home
()
app/page.tsx:34
Function
HowItWorksModal
({ onClose }: { onClose: () => void })
components/HowItWorksModal.tsx:47
Function
Image
()
app/opengraph-image.tsx:16
Function
Image
({ params }: { params: Promise<{ username: string }> })
app/u/[username]/opengraph-image.tsx:41
Function
LinkedInLogo
({ size = 16 }: { size?: number })
components/CardActions.tsx:25
Function
LoadingScreen
({ login }: { login?: string })
components/LoadingScreen.tsx:9
Function
Mascot
({ size = 220, className, animate = true }: MascotProps)
components/Mascot.tsx:19
Function
MetricBar
({ metric, accent, index = 0 }: { metric: Metric; accent: string; index?: number })
components/ScoutReport.tsx:152
Function
MetricsPanel
({ card }: { card: Card })
components/ScoutReport.tsx:386
Function
NotFound
()
app/not-found.tsx:48
Function
NotScouted
({ username, error }: { username: string; error: GithubError })
app/u/[username]/page.tsx:45
Function
OffsideFlag
()
app/not-found.tsx:14
Function
Page
({ params, searchParams, }: { params: Promise<{ username: string }>; searchParams: Promise<{ country?:
app/u/[username]/page.tsx:70
Function
PlayerCard
({ card }: { card: Card })
components/PlayerCard.tsx:62
Function
PlaystyleList
({ playstyles, accent }: { playstyles: Playstyle[]; accent: string })
components/ScoutReport.tsx:122
Function
ReportHeader
({ card }: { card: Card })
components/ScoutReport.tsx:223
Function
ResultView
({ card, onBack, onCountryChange, stars, canonicalCountry = "", }: Props)
components/ResultView.tsx:42
Function
RootLayout
({ children }: { children: React.ReactNode })
app/layout.tsx:70
Function
ScoutForm
({ loading, error, scoutCount, onScout, onOpenModal, }: Props)
components/ScoutForm.tsx:18
Function
ScoutRoute
({ card: initial, stars, canonicalCountry, }: { card: Card; stars: number | null; canonicalCountry
app/u/[username]/ScoutRoute.tsx:14
Function
Section
({ title, accent, className, children, }: { title: string; accent: string; className?: string;
components/ScoutReport.tsx:100
Function
Stagger
({ step, children, className }: { step: number; children: React.ReactNode; className?: string })
components/ScoutReport.tsx:198
Function
StarRating
({ value, accent }: { value: number; accent: string })
components/ScoutReport.tsx:79
Function
Tip
({ text, align = "center", children, }: { text: string; align?: "left" | "right" | "center"; child
components/ScoutReport.tsx:56
Function
XLogo
({ size = 16 }: { size?: number })
components/CardActions.tsx:17
Function
XMark
({ size = 13 }: { size?: number })
components/FooterCredit.tsx:4
Function
copyLink
()
components/CardActions.tsx:246
Function
frame
(now: number)
lib/confetti.ts:60
Function
generateMetadata
({ params }: { params: Promise<{ username: string }> })
app/u/[username]/page.tsx:28
Function
gql
(query: string, login: string, tok: PoolToken, retries = 1)
lib/github/client.ts:113
Function
handle
(e: Event)
hooks/useClickOutside.ts:17
Function
handleScout
(name: string)
components/AppShell.tsx:32
Function
hideOnError
(e)
components/ScoutReport.tsx:40
Function
hideOnError
(e)
components/PlayerCard.tsx:58
Function
nativeShare
()
components/CardActions.tsx:166
Function
onAvatarError
(e)
components/PlayerCard.tsx:70
Function
onCountryChange
(code: string)
app/u/[username]/ScoutRoute.tsx:26
Function
onKey
(e: KeyboardEvent)
components/HowItWorksModal.tsx:54
Function
onSearchKeyDown
(e: React.KeyboardEvent)
components/FlagPicker.tsx:76
Function
onTriggerKeyDown
(e: React.KeyboardEvent)
components/FlagPicker.tsx:69
Function
rewrites
()
next.config.ts:9
← previous
next →
101–200 of 208, ranked by callers