Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/examples
/ functions
Functions
2,748 in github.com/vercel/examples
⨍
Functions
2,748
◇
Types & classes
418
↳
Endpoints
58
↓ 1 callers
Function
handleRequest
( request: Request, responseStatusCode: number, responseHeaders: Headers, remixContext: EntryContext,
framework-boilerplates/hydrogen-2/app/entry.server.tsx:6
↓ 1 callers
Function
handleSubmit
()
python/vibe-coding-ide/frontend/src/components/NewProjectModal.tsx:208
↓ 1 callers
Method
handleUpgrade
(ws: WebSocket)
websockets/next-chat/lib/chat/index.ts:204
↓ 1 callers
Function
handler
(req, reply)
starter/fastify/api/index.js:11
↓ 1 callers
Function
index
(request)
python/django/example/views.py:6
↓ 1 callers
Function
infer_ready_patterns_and_port
Infer readiness patterns and default port for common servers (Go, Uvicorn, Rack/Sinatra, Rails).
python/vibe-coding-ide/backend/src/sandbox/command.py:147
↓ 1 callers
Function
initialize
()
toolbar/toolbar-launchdarkly/app/launchdarkly.ts:4
↓ 1 callers
Function
initials
(name: string)
websockets/nitro/app/components/presence-bar.tsx:19
↓ 1 callers
Function
initials
(name: string)
websockets/next-chat/lib/avatar.ts:28
↓ 1 callers
Function
injectKey
injectKey sends a keydown or keyup to the Doom window via xdotool. We target the window explicitly and deliberately omit --clearmodifiers: that flag
container-images/demo/apps/doom/stream.go:165
↓ 1 callers
Function
injectMouseButton
injectMouseButton presses or releases a mouse button (1=fire by default).
container-images/demo/apps/doom/stream.go:198
↓ 1 callers
Function
injectMouseMove
injectMouseMove turns the player by moving the pointer relative to its current position. Doom reads horizontal mouse motion as turning.
container-images/demo/apps/doom/stream.go:187
↓ 1 callers
Function
isBinaryImage
(filename)
python/vibe-coding-ide/frontend/scripts/build-templates.js:142
↓ 1 callers
Function
isImageSafe
(file: File)
solutions/mint-nft/helpers/sanitize.helpers.ts:55
↓ 1 callers
Function
isLongText
(text: string | undefined)
python/vibe-coding-ide/frontend/src/components/Chat/ChatTimeline/index.tsx:29
↓ 1 callers
Function
isNewArrival
(date: string, daysOld = 30)
framework-boilerplates/hydrogen/src/lib/utils.ts:51
↓ 1 callers
Function
isRemoteFile
(uri: string)
guides/sandbox-voice-agent/app/(app)/opengraph-image.tsx:28
↓ 1 callers
Function
isScrollable
(el)
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:34
↓ 1 callers
Function
isStackId
(id: string)
python/vibe-coding-ide/frontend/src/templates.ts:38
↓ 1 callers
Function
isValidSlackRequest
(request: Request, body: any)
solutions/slackbot/api/events.ts:8
↓ 1 callers
Function
list_recent_jobs
()
python/celery/worker/store.py:48
↓ 1 callers
Function
loadName
()
websockets/next-chat/lib/identity.ts:31
↓ 1 callers
Function
loadNewUrl
()
apps/vibe-coding-platform/components/preview/preview.tsx:43
↓ 1 callers
Function
loadOrCreateClientId
()
websockets/next-chat/lib/identity.ts:18
↓ 1 callers
Function
loadPersistedState
()
python/vibe-coding-ide/frontend/src/lib/persistence.ts:23
↓ 1 callers
Function
logContent
(command: Command)
apps/vibe-coding-platform/components/commands-logs/command-logs.tsx:49
↓ 1 callers
Function
main
Run administrative tasks.
python/django/manage.py:8
↓ 1 callers
Function
main
Run administrative tasks.
python/django-notes/manage.py:18
↓ 1 callers
Function
main
Run administrative tasks.
python/django-rest-framework/manage.py:8
↓ 1 callers
Function
main
()
starter/mcp-api-wrapper/scripts/test-client.mjs:6
↓ 1 callers
Function
main
()
starter/mcp-api-wrapper/scripts/test-streamable-http-client.mjs:6
↓ 1 callers
Function
main
()
framework-boilerplates/redwoodjs/api/db/seed.js:8
↓ 1 callers
Function
make_task_id
()
python/vibe-coding-ide/backend/src/api/agent.py:39
↓ 1 callers
Function
matchingTextColor
(color: string)
solutions/microfrontends/packages/acme-utils/src/index.ts:15
↓ 1 callers
Function
maybe_wrap_with_bundler
If running Ruby apps directly, wrap with `bundle exec` when a Gemfile exists.
python/vibe-coding-ide/backend/src/sandbox/command.py:128
↓ 1 callers
Function
normalizePredictiveSearchResults
( predictiveSearch: PredictiveSearchQuery['predictiveSearch'], locale: LoaderArgs['params']['locale'], )
framework-boilerplates/hydrogen-2/app/routes/api.predictive-search.tsx:114
↓ 1 callers
Function
normalizeURL
normalizeURL validates and defaults the scheme to https.
container-images/demo/apps/browser/main.go:183
↓ 1 callers
Method
onAddUser
( ws: WebSocket, conn: ConnState, frame: Extract<ClientFrame, { type: 'add user' }> )
websockets/next-chat/lib/chat/index.ts:124
↓ 1 callers
Method
onNewMessage
( ws: WebSocket, conn: ConnState, frame: Extract<ClientFrame, { type: 'new message' }> )
websockets/next-chat/lib/chat/index.ts:177
↓ 1 callers
Function
onSubmit
(e: FormEvent<HTMLFormElement>)
solutions/testing/apps/main-site/pages/signup.tsx:9
↓ 1 callers
Function
output
output executes a command on the Doom display and returns trimmed stdout.
container-images/demo/apps/doom/engine.go:119
↓ 1 callers
Function
parseClaims
(claims)
edge-middleware/clerk-authentication/utils/token.js:5
↓ 1 callers
Function
parseFrontmatter
(fileContent: string)
solutions/blog/app/blog/utils.ts:11
↓ 1 callers
Function
parseItem
(customPrefixes = {})
framework-boilerplates/hydrogen/src/lib/utils.ts:142
↓ 1 callers
Function
parseStackId
( id: string )
python/vibe-coding-ide/frontend/src/templates.ts:42
↓ 1 callers
Function
parseToken
(token)
edge-middleware/clerk-authentication/utils/token.js:1
↓ 1 callers
Function
passwordValidation
(form: HTMLFormElement & FormElements)
framework-boilerplates/hydrogen/src/components/account/AccountPasswordResetForm.client.tsx:26
↓ 1 callers
Function
passwordValidation
( form: HTMLFormElement & {password: HTMLInputElement}, )
framework-boilerplates/hydrogen/src/components/account/AccountActivateForm.client.tsx:21
↓ 1 callers
Method
path
()
solutions/testing/packages/playwright/shared/pages/signup-page.ts:4
↓ 1 callers
Method
path
()
solutions/testing/packages/playwright/shared/pages/todo-page.ts:5
↓ 1 callers
Function
pathIsComplex
* Check if a path uses path matching * test path contains any of the following characters: :, (, {, ?, +, *. * * @param string path * @returns
app-directory/redirect-with-fallback/redirects.js:21
↓ 1 callers
Function
pluralToSingularSearchType
* Converts a plural search type to a singular search type * @param type - The plural search type * @returns The singular search type * * @example
framework-boilerplates/hydrogen-2/app/components/Search.tsx:462
↓ 1 callers
Method
presenceIsOnline
Is this clientId currently within the staleness window?
websockets/next-chat/lib/chat/store/types.ts:19
↓ 1 callers
Method
presencePruneStale
Remove entries that stopped heartbeating; return them so the caller can * announce the departures.
websockets/next-chat/lib/chat/store/types.ts:22
↓ 1 callers
Method
presenceSnapshot
Online count + a sample of names for the avatar stack. Null signals a * backend error so the caller can skip the broadcast rather than show bad
websockets/next-chat/lib/chat/store/types.ts:26
↓ 1 callers
Function
probeDurationMicros
(path string)
container-images/demo/apps/ffmpeg/transform.go:216
↓ 1 callers
Function
proxy
(request: NextRequest)
flags-sdk/reflag/proxy.ts:11
↓ 1 callers
Function
randomColor
()
solutions/microfrontends/packages/acme-utils/src/index.ts:4
↓ 1 callers
Function
randomEmail
()
solutions/auth-with-ory/cypress/integration/pages.spec.js:3
↓ 1 callers
Function
randomNick
()
websockets/next-chat/components/Login.tsx:32
↓ 1 callers
Function
randomPassword
()
solutions/auth-with-ory/cypress/integration/pages.spec.js:2
↓ 1 callers
Function
readDirRecursive
(dir, baseDir = dir)
python/vibe-coding-ide/frontend/scripts/build-templates.js:147
↓ 1 callers
Function
readMDXFile
(filePath)
solutions/blog/app/blog/utils.ts:33
↓ 1 callers
Method
recentMessages
Recent messages within the history window, oldest → newest.
websockets/next-chat/lib/chat/store/types.ts:12
↓ 1 callers
Method
recordMessage
Append a message to the capped recent-history buffer.
websockets/next-chat/lib/chat/store/types.ts:10
↓ 1 callers
Function
redirectIsComplex
(redirect)
app-directory/redirect-with-fallback/redirects.js:25
↓ 1 callers
Function
redirectToFirstVariant
({ product, request, }: { product: ProductFragment; request: Request; })
framework-boilerplates/hydrogen-2/app/routes/products.$handle.tsx:82
↓ 1 callers
Function
redirects
(req: NextRequest)
edge-middleware/redirects-upstash/lib/redirects.ts:14
↓ 1 callers
Function
refreshIframe
()
apps/vibe-coding-platform/components/preview/preview.tsx:29
↓ 1 callers
Function
registerLifecycleStatus
registerLifecycleStatus forwards Chromium page lifecycle events to the UI as human-readable status updates (e.g. DOMContentLoaded, load, networkIdle).
container-images/demo/apps/browser/events.go:12
↓ 1 callers
Function
registerRouteHandler
( context: BrowserContext, baseURL?: string )
solutions/testing/packages/playwright/integration/utils/register-route-handler.ts:6
↓ 1 callers
Function
registerRoutes
(router *gin.Engine)
services/nextjs-gin/backend/cmd/api/main.go:32
↓ 1 callers
Method
reject
(reason?: any)
apps/vibe-coding-platform/lib/deferred.ts:21
↓ 1 callers
Function
removeCookie
(name: string)
edge-middleware/feature-flag-split/app/page.tsx:38
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/openfeature/lib/actions.ts:36
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/experimentation-statsig/lib/actions.ts:36
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/launchdarkly/lib/actions.ts:36
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/growthbook/lib/actions.ts:36
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/flagsmith/lib/actions.ts:34
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/hypertune/lib/actions.ts:41
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/posthog/lib/actions.ts:34
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/reflag/lib/actions.ts:34
↓ 1 callers
Function
removeFromCart
(item: CartItem)
flags-sdk/vercel/lib/actions.ts:34
↓ 1 callers
Function
removeRuleById
(customRuleId: string)
edge-middleware/ip-blocking-datadome/lib/datadome-ip.ts:36
↓ 1 callers
Method
removeTodo
( username: string, id: string, req: NextApiRequest, res: NextApiResponse )
solutions/testing/apps/main-site/lib/db.ts:87
↓ 1 callers
Function
remove_user_project_sandbox
(user_id: str, project_id: str, name: str)
python/vibe-coding-ide/backend/src/run_store.py:90
↓ 1 callers
Function
remove_user_sandbox
(user_id: str, name: str)
python/vibe-coding-ide/backend/src/run_store.py:66
↓ 1 callers
Method
render
()
solutions/platforms-slate-supabase/components/Cloudinary.js:32
↓ 1 callers
Function
renderFileIcon
(path: string)
python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:104
↓ 1 callers
Function
renderFileRow
(node: TreeNode, depth: number)
python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:409
↓ 1 callers
Function
renderFolderNode
(node: TreeNode, depth: number)
python/vibe-coding-ide/frontend/src/components/Editor/FileTree.tsx:477
↓ 1 callers
Function
renderIcon
(icon: string)
python/vibe-coding-ide/frontend/src/components/NewProjectModal.tsx:49
↓ 1 callers
Function
renderUrlTag
({ url, lastMod, changeFreq, image, }: { url: string; lastMod?: string; changeFreq?: string; i
framework-boilerplates/hydrogen/src/routes/sitemap.xml.server.ts:117
↓ 1 callers
Function
reportWebVitals
framework-boilerplates/create-react-app/src/reportWebVitals.js:1
↓ 1 callers
Function
reset
()
storage/blob-starter/components/uploader.tsx:15
↓ 1 callers
Function
resetForm
()
framework-boilerplates/hydrogen/src/components/account/AccountLoginForm.client.tsx:66
↓ 1 callers
Function
resetVariant
()
edge-middleware/feature-flag-posthog/pages/index.tsx:5
↓ 1 callers
Function
resizeImage
( file: File, maxWidth: number, maxHeight: number )
solutions/mint-nft/helpers/sanitize.helpers.ts:3
↓ 1 callers
Function
resolveToFromType
( { customPrefixes, pathname, type, }: { customPrefixes: Record<string, string>; pathn
framework-boilerplates/hydrogen/src/lib/utils.ts:71
↓ 1 callers
Function
resume_agent_flow
Resume the agent run after code execution and stream SSE chunks. Reconstructs the agent context with the provided execution result, runs the
python/vibe-coding-ide/backend/src/agent/agent.py:225
← previous
next →
501–600 of 2,748, ranked by callers