Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Some1Uknow/learn-solana
/ functions
Functions
368 in github.com/Some1Uknow/learn-solana
⨍
Functions
368
◇
Types & classes
71
↓ 103 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 34 callers
Function
createCanonical
(path: string)
lib/seo.ts:101
↓ 21 callers
Function
includes
(source, value)
scripts/check-seo-routes.mjs:21
↓ 20 callers
Function
check
(name, condition)
scripts/check-seo-routes.mjs:17
↓ 14 callers
Function
useAuth
()
hooks/use-auth.tsx:5
↓ 11 callers
Function
toast
({ ...props }: Toast)
hooks/use-toast.ts:145
↓ 9 callers
Function
authFetch
(input: string, init: AuthFetchOptions = {})
lib/auth/authFetch.ts:10
↓ 9 callers
Function
listExercisesByTrack
(track: string)
lib/challenges/exercises.ts:204
↓ 7 callers
Function
createNodeFromBlock
( kind: BlockKind, position: { x: number; y: number } )
lib/visual-builder/blocks.ts:112
↓ 7 callers
Function
read
(relativePath)
scripts/check-seo-routes.mjs:9
↓ 7 callers
Function
requirePrivyUser
(req: Request)
lib/auth/privy-server.ts:86
↓ 7 callers
Function
syncAppUser
(input: SyncAppUserInput)
lib/auth/app-user.ts:24
↓ 6 callers
Function
findAccount
( user: PrivyUserLike | null | undefined, predicate: (account: PrivyLinkedAccount) => boolean )
lib/auth/privy-user.ts:39
↓ 6 callers
Function
normalizeUrl
* Normalizes URL to ensure consistency: * - No trailing slashes (except root) * - No double slashes * - Proper encoding
app/sitemap.ts:26
↓ 5 callers
Function
dispatch
(action: Action)
hooks/use-toast.ts:136
↓ 5 callers
Function
generateLearnSolOgImage
( options: LearnSolOgOptions )
lib/og/learnsol.tsx:16
↓ 5 callers
Function
getExercise
(track: string, slugOrLegacyOrder: string)
lib/challenges/exercises.ts:208
↓ 5 callers
Function
getRuntimeLabProgram
(programId: string)
lib/runtime-lab/flows.ts:1473
↓ 5 callers
Function
getStore
()
stubs/asyncStorage.ts:3
↓ 5 callers
Function
normalizeIdentifier
(value: string, fallback: string)
lib/visual-builder/export-anchor.ts:38
↓ 4 callers
Function
detailKey
(enabled: boolean, programId?: string)
hooks/use-runtime-lab-progress.ts:39
↓ 4 callers
Function
getBlockDefinition
(kind: BlockKind)
lib/visual-builder/blocks.ts:105
↓ 4 callers
Function
getTrackMeta
(track: string)
lib/challenges/exercises.ts:240
↓ 4 callers
Function
listKey
(enabled: boolean)
hooks/use-runtime-lab-progress.ts:35
↓ 4 callers
Function
nullishToOptionalString
(schema: T)
lib/validation/userRegistration.ts:3
↓ 4 callers
Function
readOptionalString
(value: unknown)
app/api/auth/sync/route.ts:5
↓ 4 callers
Function
updatePointerInteraction
(value: number | null)
components/ui/globe.tsx:61
↓ 4 callers
Function
useSidebar
()
components/ui/sidebar.tsx:47
↓ 3 callers
Function
buildTemplateGraph
( nodes: TemplateNodeSpec[], edges: TemplateEdgeSpec[] )
lib/visual-builder/templates.ts:36
↓ 3 callers
Function
escapeRegex
(value)
scripts/check-seo-routes.mjs:13
↓ 3 callers
Function
getExerciseProgressKey
(track?: string)
hooks/use-exercise-progress.ts:29
↓ 3 callers
Function
getLatestProjectMtime
(sourcePaths: string[], fallback: Date)
app/sitemap.ts:42
↓ 3 callers
Function
getPrivyEmail
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:62
↓ 3 callers
Function
handleStepChange
(nextIndex: number)
app/tools/runtime-lab/[programId]/runtime-lab-program.client.tsx:177
↓ 3 callers
Function
normalizeBlockContent
(content: string)
lib/get-llm-text.ts:17
↓ 3 callers
Function
readString
()
lib/solana/fetchNftMetadata.ts:47
↓ 3 callers
Function
serializeProgress
(item: ProgressRecord)
app/api/tools/runtime-lab/progress/route.ts:39
↓ 2 callers
Function
absoluteUrl
(path: string)
components/learn/page-actions.tsx:81
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
hooks/use-toast.ts:61
↓ 2 callers
Function
asStringArray
(value: unknown)
lib/challenges/exercises.ts:77
↓ 2 callers
Function
buildCompletedProgressItem
( existing?: ExerciseProgressItem | null )
hooks/use-exercise-progress.ts:49
↓ 2 callers
Function
cachePromise
( key: string, setPromise: () => Promise<T>, )
components/fumadocs/mermaid.tsx:19
↓ 2 callers
Function
cleanContentForEmbedding
(content: string)
lib/mdx/processor.ts:151
↓ 2 callers
Function
createStarterGraph
()
lib/visual-builder/blocks.ts:140
↓ 2 callers
Function
fetchJson
(url: string)
hooks/use-runtime-lab-progress.ts:47
↓ 2 callers
Function
fetchOnChainMetadataFields
(connection: Connection, mintAddress: string)
lib/solana/fetchNftMetadata.ts:32
↓ 2 callers
Function
fixElement
(element: Element)
components/fumadocs/mermaid-with-zoom.tsx:347
↓ 2 callers
Function
formatCaseOutput
(value: string | undefined)
components/challenges/ChallengeEditorClient.tsx:50
↓ 2 callers
Function
formatTitledBlock
(title: string, content: string)
lib/get-llm-text.ts:37
↓ 2 callers
Function
generateSquares
(count: number)
components/ui/animated-grid-pattern.tsx:51
↓ 2 callers
Function
getMDXComponents
(components?: MDXComponents)
mdx-components.tsx:36
↓ 2 callers
Function
getPageImage
(page: InferPageType<typeof source>)
lib/source.ts:6
↓ 2 callers
Function
getPos
()
components/ui/animated-grid-pattern.tsx:43
↓ 2 callers
Function
getPrivyClient
()
lib/auth/privy-server.ts:42
↓ 2 callers
Function
getPrivyDisplayName
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:78
↓ 2 callers
Function
getPrivyProfileImage
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:104
↓ 2 callers
Function
getPrivyWalletAddress
(user: PrivyUserLike | null | undefined)
lib/auth/privy-user.ts:46
↓ 2 callers
Function
isPlainRecord
(value: unknown)
app/api/tools/runtime-lab/progress/route.ts:13
↓ 2 callers
Function
listExerciseTracks
()
lib/challenges/exercises.ts:200
↓ 2 callers
Function
normalizeMDXForLLMs
(markdown: string)
lib/get-llm-text.ts:84
↓ 2 callers
Function
normalizeStdout
(value: string)
app/api/challenges/run/route.ts:12
↓ 2 callers
Function
stringRecord
(value: unknown)
app/api/tools/runtime-lab/progress/route.ts:17
↓ 2 callers
Function
submitQuestion
(question: string)
components/docs-chat.tsx:112
↓ 2 callers
Function
toPascalCase
(value: string)
lib/visual-builder/export-anchor.ts:31
↓ 2 callers
Function
toSnakeCase
(value: string)
lib/visual-builder/export-anchor.ts:21
↓ 2 callers
Function
toTitleCase
(input: string)
app/learn/[[...slug]]/page.tsx:13
↓ 2 callers
Function
truncate
(value: string, maxLength: number)
lib/og/module.tsx:14
↓ 2 callers
Function
truncate
(value: string, limit: number)
app/og/challenges/[track]/[slug]/route.tsx:10
↓ 2 callers
Function
updateCanvasSize
()
components/ui/beams-background.tsx:65
↓ 2 callers
Function
updateMovement
(clientX: number)
components/ui/globe.tsx:68
↓ 2 callers
Function
useChatContext
()
components/chat-context.tsx:25
↓ 2 callers
Function
useExerciseProgress
(track?: string)
hooks/use-exercise-progress.ts:59
↓ 1 callers
Function
animate
()
components/ui/globe.tsx:106
↓ 1 callers
Function
animate
()
components/ui/beams-background.tsx:148
↓ 1 callers
Function
assertRemoteHistory
({ migrations, remoteRows })
scripts/drizzle-safe-migrate.mjs:49
↓ 1 callers
Function
backupAndMigrate
()
scripts/backup-and-migrate.ts:8
↓ 1 callers
Function
booleanRecord
(value: unknown)
app/api/tools/runtime-lab/progress/route.ts:28
↓ 1 callers
Function
buildChallengeSections
( track: string, challenges: T[] )
lib/challenges/track-groups.ts:133
↓ 1 callers
Function
buildPrompt
(title: string, pagePath: string, markdownPath: string)
components/learn/page-actions.tsx:86
↓ 1 callers
Function
bytesToHex
(bytes: Uint8Array)
hooks/use-app-wallet.tsx:13
↓ 1 callers
Function
calculateProgress
()
components/learn/reading-progress.tsx:16
↓ 1 callers
Function
clearGraph
()
lib/visual-builder/storage.ts:30
↓ 1 callers
Function
clearSavedProgress
()
app/tools/runtime-lab/[programId]/runtime-lab-program.client.tsx:151
↓ 1 callers
Function
convertFilePathToUrl
(filePath: string)
lib/mdx/processor.ts:138
↓ 1 callers
Function
createBeam
(width: number, height: number)
components/ui/beams-background.tsx:26
↓ 1 callers
Function
createEmbeddedWallet
()
hooks/use-app-wallet.tsx:59
↓ 1 callers
Function
createStarterNodes
()
lib/visual-builder/blocks.ts:130
↓ 1 callers
Function
deriveMetadataPda
(mint: PublicKey)
lib/solana/fetchNftMetadata.ts:20
↓ 1 callers
Function
dismiss
()
hooks/use-toast.ts:153
↓ 1 callers
Function
drawBeam
(ctx: CanvasRenderingContext2D, beam: Beam)
components/ui/beams-background.tsx:110
↓ 1 callers
Function
exportAnchorProgram
(graph: VisualBuilderGraph)
lib/visual-builder/export-anchor.ts:60
↓ 1 callers
Function
exportEmbeddedWallet
()
hooks/use-app-wallet.tsx:100
↓ 1 callers
Function
extractMermaidChart
(children: unknown)
mdx-components.tsx:16
↓ 1 callers
Function
extractPrivyAccessToken
(req: Request)
lib/auth/privy-server.ts:31
↓ 1 callers
Function
extractSections
(content: string)
lib/mdx/processor.ts:85
↓ 1 callers
Function
fetchExerciseProgress
(track: string)
hooks/use-exercise-progress.ts:33
↓ 1 callers
Function
fetchFullNftMetadata
(connection: Connection, mintAddress: string, opts?: { forceRefresh?: boolean })
lib/solana/fetchNftMetadata.ts:67
↓ 1 callers
Function
findRelevantContent
(userQuery: string)
lib/ai/embedding.ts:46
↓ 1 callers
Function
findStraySqlFiles
(migrations)
scripts/drizzle-safe-migrate.mjs:39
↓ 1 callers
Function
formatCallout
(type: string | undefined, content: string)
lib/get-llm-text.ts:23
next →
1–100 of 368, ranked by callers