MCPcopy Create free account

hub / github.com/vercel/examples / functions

Functions2,748 in github.com/vercel/examples

↓ 1 callersFunctionrobotsTxtData
({url, shopId}: {shopId?: string; url?: string})
framework-boilerplates/hydrogen-2/app/routes/[robots.txt].tsx:50
↓ 1 callersFunctionrobotsTxtData
({url}: {url: string})
framework-boilerplates/hydrogen/src/routes/robots.txt.server.ts:21
↓ 1 callersFunctionrunCommand
({ writer }: Params)
apps/vibe-coding-platform/ai/tools/run-command.ts:13
↓ 1 callersFunctionrunFFmpeg
(args []string, totalUs int64, send func(message))
container-images/demo/apps/ffmpeg/transform.go:230
↓ 1 callersFunctionrunJob
(req request, send func(message))
container-images/demo/apps/ffmpeg/transform.go:130
↓ 1 callersFunctionrun_agent_flow
Run the agent and stream tool progress as SSE chunks.
python/vibe-coding-ide/backend/src/agent/agent.py:86
↓ 1 callersFunctionsaveName
(name: string)
websockets/next-chat/lib/identity.ts:39
↓ 1 callersFunctionsavePersistedState
(state: PersistedState)
python/vibe-coding-ide/frontend/src/lib/persistence.ts:43
↓ 1 callersFunctionseed
()
storage/postgres-starter/lib/seed.ts:5
↓ 1 callersFunctionseed
()
storage/postgres-kysely/lib/seed.ts:3
↓ 1 callersFunctionseed
()
storage/postgres-sveltekit/src/routes/+page.server.js:6
↓ 1 callersFunctionseed
()
storage/postgres-drizzle/lib/seed.ts:5
↓ 1 callersFunctionselect_rails_app_cwd
Heuristic: auto-select Rails app root (folder containing bin/rails) for Rails-related commands.
python/vibe-coding-ide/backend/src/sandbox/command.py:60
↓ 1 callersFunctionselect_safe_cwd
Resolve a safe working directory under the sandbox's base cwd. Absolute paths outside the sandbox root are ignored. Relative paths are resolv
python/vibe-coding-ide/backend/src/sandbox/command.py:7
↓ 1 callersFunctionsendGPTResponse
(event: Event)
solutions/slackbot/api/_chat.ts:12
↓ 1 callersFunctionserialize
(children: Children)
starter/cms-payload/components/RichText/serialize.tsx:21
↓ 1 callersFunctionsetBucket
(bucket: string)
edge-middleware/ab-testing-simple/pages/home/[bucket].tsx:8
↓ 1 callersFunctionsetBucket
(bucket: string)
edge-middleware/ab-testing-simple/pages/marketing/original.tsx:8
↓ 1 callersFunctionsetBucket
(bucket: string)
edge-middleware/ab-testing-simple/pages/marketing/[bucket].tsx:8
↓ 1 callersFunctionsetCurrentChatThread
( projectId: string, threadId: string )
python/vibe-coding-ide/frontend/src/lib/persistence.ts:293
↓ 1 callersFunctionsetPostHogInstance
(posthog: PostHog)
edge-middleware/feature-flag-posthog/lib/posthog.ts:43
↓ 1 callersFunctionsetUserCookie
(res: NextResponse)
edge-middleware/jwt-authentication/lib/auth.ts:35
↓ 1 callersFunctionset_run_payload
Store the base payload for a run id using Vercel Runtime Cache.
python/vibe-coding-ide/backend/src/run_store.py:21
↓ 1 callersFunctionsetupConfigcat
()
edge-middleware/feature-flag-configcat/scripts/configcat.js:13
↓ 1 callersFunctionsetupCountryInfo
()
edge-middleware/geolocation/scripts/countries.js:7
↓ 1 callersFunctionsetupSandbox
( sandbox: { runCommand: RunCommandFn }, sandboxId: string, config: typeof DEFAULT_CONFIG & { githubToke
guides/sandbox-voice-agent/app/api/sandbox/create/route.ts:130
↓ 1 callersFunctionsetupUpstash
()
edge-middleware/redirects-upstash/scripts/upstash.js:42
↓ 1 callersFunctionshopSitemap
(data: SitemapQueryData, baseUrl: string)
framework-boilerplates/hydrogen/src/routes/sitemap.xml.server.ts:53
↓ 1 callersMethodsignup
( data: { username: string; password: string }, res: NextApiResponse )
solutions/testing/apps/main-site/lib/db.ts:17
↓ 1 callersFunctionsleep
(ms: number)
cdn/custom-error-pages-app-dir/app/slow-page/page.tsx:4
↓ 1 callersFunctionsleep
(ms: number)
cdn/custom-error-pages-public-dir/app/slow-page/page.tsx:4
↓ 1 callersFunctionslugField
(fieldToUse = 'title', overrides)
starter/cms-payload/payload/fields/slug.ts:7
↓ 1 callersFunctionslugify
(str)
solutions/blog/app/components/mdx.tsx:56
↓ 1 callersFunctionslugify
* Generates a slug for based on the given string. * * @param str - The string to slugify * @returns
solutions/testing/apps/main-site/lib/data-testid.ts:13
↓ 1 callersFunctionslugify
* Generates a slug for based on the given string. * * @param str - The string to slugify * @returns
internal/packages/playwright/src/shared/utils/data-testid.ts:13
↓ 1 callersFunctionsplitLines
(s string)
container-images/demo/apps/doom/engine.go:135
↓ 1 callersFunctionstartEngine
startEngine boots a virtual X server and launches the Doom engine inside it. Both processes live for the lifetime of the container.
container-images/demo/apps/doom/engine.go:25
↓ 1 callersFunctionstartHeartbeat
()
websockets/nitro/app/hooks/use-realtime.ts:126
↓ 1 callersFunctionstartHeartbeat
()
websockets/nuxt/app/composables/useRealtime.ts:114
↓ 1 callersMethodstartHeartbeat
()
websockets/next-chat/lib/chat/index.ts:56
↓ 1 callersFunctionstartHydrogenServer
()
framework-boilerplates/hydrogen/tests/utils.ts:23
↓ 1 callersFunctionstartMobileNavAnim
()
framework-boilerplates/hexo/themes/landscape/source/js/script.js:144
↓ 1 callersFunctionstartNewChatThread
(projectId: string)
python/vibe-coding-ide/frontend/src/lib/persistence.ts:270
↓ 1 callersFunctionstatsig
* Fetch wrapper for the Statsig API
edge-middleware/ab-testing-statsig/lib/statsig-api.ts:7
↓ 1 callersFunctionstatusFor
( connectionState: ConnectionState, presence: Presence | null )
websockets/next-chat/components/Header.tsx:5
↓ 1 callersFunctionstop
()
framework-boilerplates/hexo/themes/landscape/source/fancybox/jquery.fancybox.js:460
↓ 1 callersFunctionstopMobileNavAnim
()
framework-boilerplates/hexo/themes/landscape/source/js/script.js:148
↓ 1 callersFunctionstreamFrames
streamFrames runs ffmpeg x11grab and emits each JPEG frame via send().
container-images/demo/apps/doom/stream.go:106
↓ 1 callersFunctionstream_reply
(ws, messages)
websockets/flask-ai-chat/backend/main.py:26
↓ 1 callersFunctionstringify
(obj: Record<string, string | number | null | undefined>)
edge-middleware/ip-blocking-datadome/lib/datadome.ts:188
↓ 1 callersFunctionstringify
(obj: Record<string, string | number | null | undefined>)
edge-middleware/bot-protection-datadome/lib/datadome.ts:207
↓ 1 callersFunctiontimeAgo
(timestamp: Date, timeOnly?: boolean)
storage/postgres-starter/lib/utils.ts:3
↓ 1 callersFunctiontimeAgo
(timestamp: Date, timeOnly?: boolean)
storage/postgres-kysely/lib/utils.ts:3
↓ 1 callersFunctiontimeAgo
(timestamp: Date, timeOnly?: boolean)
storage/postgres-drizzle/lib/utils.ts:3
↓ 1 callersFunctiontimestamp
(ts: number)
websockets/next-chat/components/Message.tsx:5
↓ 1 callersFunctiontimestamp
(label)
starter/cms-payload/utilities/timestamp.ts:1
↓ 1 callersFunctiontoHeaders
( reqHeaders: Headers, dataDomeResHeaders: Headers, listKey: string )
edge-middleware/ip-blocking-datadome/lib/datadome.ts:146
↓ 1 callersFunctiontoHeaders
( reqHeaders: Headers, dataDomeResHeaders: Headers, listKey: string )
edge-middleware/bot-protection-datadome/lib/datadome.ts:165
↓ 1 callersFunctiontoKebabCase
(string)
starter/cms-payload/utilities/toKebabCase.ts:1
↓ 1 callersFunctiontoWebRequest
(req: express.Request)
guides/express-weather-mcp-server/src/index.ts:292
↓ 1 callersFunctionto_predicate
(pat: str)
python/vibe-coding-ide/backend/src/agent/utils.py:179
↓ 1 callersFunctiontoastAlert
(toast: Omit<ToastProps, 'id'>)
guides/sandbox-voice-agent/components/livekit/alert-toast.tsx:14
↓ 1 callersFunctiontools
({ modelId, writer }: Params)
apps/vibe-coding-platform/ai/tools/index.ts:13
↓ 1 callersFunctiontrackSourceToProtocol
(source: Track.Source)
guides/sandbox-voice-agent/components/livekit/agent-control-bar/hooks/use-publish-permissions.ts:4
↓ 1 callersFunctiontransformName
(str)
plopfile.mjs:2
↓ 1 callersFunctiontruncateRequestData
(requestData: Record<string, string | number | null | undefined>)
edge-middleware/bot-protection-datadome/lib/datadome.ts:223
↓ 1 callersMethodunregister
Stop tracking a socket (on close); a no-op for unknown sockets.
websockets/next-chat/lib/chat/broadcast/types.ts:14
↓ 1 callersFunctionupdate
()
python/vibe-coding-ide/frontend/src/components/ThreePane.tsx:40
↓ 1 callersFunctionupdate
(interval: string)
solutions/cron/pages/api/cron/[cron].ts:15
↓ 1 callersFunctionupdateAddress
( customerAccessToken: string, request: HydrogenRequest, params: HydrogenApiRouteOptions['params'], qu
framework-boilerplates/hydrogen/src/routes/account/address/[addressId].server.ts:62
↓ 1 callersFunctionupdateFields
* Writes a json file that describes the schema used for the Contentful template.
internal/scripts/update-fields.ts:11
↓ 1 callersFunctionupdateNode
(nodes: FileNode[])
apps/vibe-coding-platform/components/file-explorer/file-explorer.tsx:39
↓ 1 callersFunctionupdateTemplate
({ examplePath, }: { examplePath: string })
internal/scripts/lib/contentful/update-template.ts:10
↓ 1 callersMethodupdateTodo
( username: string, id: string, data: { title?: string; done?: boolean }, req: NextApiRequest,
solutions/testing/apps/main-site/lib/db.ts:70
↓ 1 callersFunctionupsertCurrentChatThread
( projectId: string, runs: Record<string, Run>, order: string[] )
python/vibe-coding-ide/frontend/src/lib/persistence.ts:174
↓ 1 callersFunctionupsertThreadById
( projectId: string, threadId: string, runs: Record<string, Run>, order: string[] )
python/vibe-coding-ide/frontend/src/lib/persistence.ts:212
↓ 1 callersFunctionupsert_user_project_sandbox
(user_id: str, project_id: str, name: str, sandbox_id: str)
python/vibe-coding-ide/backend/src/run_store.py:84
↓ 1 callersFunctionupsert_user_sandbox
(user_id: str, name: str, sandbox_id: str)
python/vibe-coding-ide/backend/src/run_store.py:60
↓ 1 callersFunctionupstash
* Upstash REST and Edge API utils. * Note: We use this lib in multiple demos, feel free to * use it in your own projects.
edge-middleware/redirects-upstash/lib/upstash.ts:6
↓ 1 callersFunctionupstashRest
( args: any[], options?: { pipeline: boolean } )
edge-middleware/redirects-upstash/lib/upstash.ts:34
↓ 1 callersFunctionurl
(pathname: string)
framework-boilerplates/hydrogen/tests/utils.ts:29
↓ 1 callersFunctionuseAgentErrors
()
guides/sandbox-voice-agent/hooks/useAgentErrors.tsx:5
↓ 1 callersFunctionuseAgentEvents
({ onSetPreviewUrl, onRefreshPreview, isActiveRun, }: UseAgentEventsProps)
python/vibe-coding-ide/frontend/src/hooks/useAgentEvents.tsx:17
↓ 1 callersFunctionuseAgentStream
({ onMessage }: UseAgentStreamProps)
python/vibe-coding-ide/frontend/src/hooks/useAgentStream.tsx:9
↓ 1 callersFunctionuseAutoScroll
(scrollContentContainer?: Element | null)
guides/sandbox-voice-agent/components/livekit/scroll-area/hooks/useAutoScroll.ts:5
↓ 1 callersFunctionuseAvailableModels
()
apps/vibe-coding-platform/components/model-selector/use-available-models.tsx:11
↓ 1 callersFunctionuseAvailableModels
()
apps/vibe-coding-platform/components/settings/use-available-models.tsx:11
↓ 1 callersFunctionuseBackgroundColor
()
starter/cms-payload/components/BackgroundColor/index.tsx:11
↓ 1 callersFunctionuseBootstrap
()
flags-sdk/experimentation-statsig/statsig/statsig-provider.tsx:81
↓ 1 callersFunctionuseBootstrap
()
flags-sdk/launchdarkly/launchdarkly/launchdarkly-provider.tsx:75
↓ 1 callersFunctionuseBotdReady
()
edge-middleware/bot-protection-botd/lib/botd/script.tsx:62
↓ 1 callersFunctionuseChatSocket
()
websockets/next-chat/lib/useChatSocket.ts:43
↓ 1 callersFunctionuseConfigcat
()
edge-middleware/feature-flag-configcat/lib/use-configcat.tsx:41
↓ 1 callersFunctionuseDataStateMapper
()
apps/vibe-coding-platform/app/state.ts:117
↓ 1 callersFunctionuseDebugMode
(options: { logLevel?: LogLevel; enabled?: boolean } = {})
guides/sandbox-voice-agent/hooks/useDebug.ts:5
↓ 1 callersFunctionuseForceRender
(delay = 1000)
edge-middleware/clerk-authentication/utils/forceRender.jsx:3
↓ 1 callersFunctionuseForceRenderWhileValid
(ttl)
edge-middleware/clerk-authentication/components/statelessDoneRightSection/TokenCard.jsx:35
↓ 1 callersFunctionuseHypertune
()
edge-middleware/feature-flag-hypertune/generated/hypertune.react.tsx:133
↓ 1 callersFunctionuseInputControls
({ saveUserChoices = true, onDeviceError, }: UseInputControlsProps = {})
guides/sandbox-voice-agent/components/livekit/agent-control-bar/hooks/use-input-controls.ts:27
↓ 1 callersFunctionuseInterval
(callback, delay)
edge-middleware/clerk-authentication/components/statelessDoneRightSection/JWTDemo.jsx:8
← previousnext →601–700 of 2,748, ranked by callers