Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pollinations/pollinations
/ functions
Functions
5,304 in github.com/pollinations/pollinations
⨍
Functions
5,304
◇
Types & classes
961
↳
Endpoints
20
↓ 22 callers
Method
waitUntil
(promise: Promise<any>)
enter.pollinations.ai/worker-runtime.d.ts:421
↓ 21 callers
Function
H
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 21 callers
Method
clone
* The **`clone()`** method of the Request interface creates a copy of the current `Request` object. * * [MDN Reference](https://developer.mo
enter.pollinations.ai/worker-runtime.d.ts:1720
↓ 21 callers
Method
count
* The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called. * * [MDN Referenc
enter.pollinations.ai/worker-runtime.d.ts:103
↓ 21 callers
Function
ensureUpstreamOk
( response: Response, requestUrl: string | URL, )
shared/error.ts:68
↓ 21 callers
Function
fetchWorker
(path: string, init: RequestInit)
gen.pollinations.ai/test/generation-vcr.test.ts:391
↓ 21 callers
Function
getOnlyUser
()
enter.pollinations.ai/test/quests.test.ts:85
↓ 21 callers
Function
mockReplicateFetch
(requests: ReplicateRequest[])
gen.pollinations.ai/test/image/seedreamModel.test.ts:26
↓ 21 callers
Method
remove
()
enter.pollinations.ai/worker-runtime.d.ts:1518
↓ 21 callers
Method
removeItem
(key: string)
packages/sdk/src/react/oauth.ts:47
↓ 21 callers
Method
setAttribute
(name: string, value: string)
pollinations.ai/src/worker.ts:12
↓ 20 callers
Function
T
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 20 callers
Method
_has_auth
(self)
apps/polly/src/services/github_pr.py:128
↓ 20 callers
Method
accept
()
enter.pollinations.ai/worker-runtime.d.ts:3035
↓ 20 callers
Function
asArr
(v: unknown)
gen.pollinations.ai/scripts/generate-apidocs.ts:62
↓ 20 callers
Function
cn
(...inputs: ClassValue[])
apps/ai-dungeon-master/src/components/ui/utils.tsx:4
↓ 20 callers
Function
consumeAndWait
(result: Awaited<ReturnType<typeof dispatch>>)
gen.pollinations.ai/test/text-cache.test.ts:100
↓ 20 callers
Function
fetchUpstream
( url: string, options: FetchUpstreamOptions = {}, )
gen.pollinations.ai/src/image/utils/fetchUpstream.ts:19
↓ 20 callers
Function
fetchWorker
( path: string, env = envWithEnter(), init: RequestInit = {}, )
gen.pollinations.ai/test/index.test.ts:26
↓ 20 callers
Function
requireKey
()
packages/polli-cli/src/lib/api.ts:14
↓ 19 callers
Method
_get_headers
Get standard GitHub API headers.
apps/polly/src/services/github.py:68
↓ 19 callers
Function
buildUsageHeaders
( modelUsed: string, usage: Usage, )
shared/registry/usage-headers.ts:238
↓ 19 callers
Function
ce
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 19 callers
Method
exec
(query: string, ...bindings: any[])
enter.pollinations.ai/worker-runtime.d.ts:3082
↓ 19 callers
Function
pipe
(...transforms: TransformFn[])
gen.pollinations.ai/src/text/transforms/pipe.ts:6
↓ 19 callers
Function
recordRequest
( c: Context, state: MockStripeState, form?: URLSearchParams, )
enter.pollinations.ai/test/mocks/stripe.ts:567
↓ 19 callers
Method
reply
* Reply to the sender of this email message with a new EmailMessage object. * @param message The reply message. * @returns A promise that re
enter.pollinations.ai/worker-runtime.d.ts:9871
↓ 19 callers
Function
ve
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 18 callers
Method
abort
()
enter.pollinations.ai/worker-runtime.d.ts:1937
↓ 18 callers
Function
createAutoTopUpInvoiceEvent
( type: | "invoice.paid" | "invoice.payment_succeeded" | "invoice.payment_failed"
enter.pollinations.ai/test/integration/stripe.test.ts:69
↓ 18 callers
Function
docsIcon
(body: string)
gen.pollinations.ai/src/routes/docs.ts:97
↓ 18 callers
Function
fetchWorker
(path: string, init: RequestInit = {})
gen.pollinations.ai/test/embeddings/embeddings.test.ts:283
↓ 18 callers
Method
render
()
apps/reimagine/src/components/ErrorBoundary.tsx:37
↓ 18 callers
Function
se
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 18 callers
Method
sendMail
(message: EmailMessage)
apps/micro/src/wrapper.ts:24
↓ 18 callers
Function
setApiKey
(key)
packages/mcp/src/utils/authUtils.js:6
↓ 18 callers
Method
unshift
(t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 17 callers
Method
_has_auth
Check if any auth method is available (sync check).
apps/polly/src/services/github.py:61
↓ 17 callers
Function
openaiUsageToUsage
(openaiUsage: { prompt_tokens: number; completion_tokens: number; total_tokens: number; prompt
shared/registry/usage-headers.ts:76
↓ 17 callers
Method
trace
* The **`console.trace()`** static method outputs a stack trace to the console. * * [MDN Reference](https://developer.mozilla.org/docs/Web/A
enter.pollinations.ai/worker-runtime.d.ts:194
↓ 17 callers
Function
withSafetyHeaders
( c: SafetyContext, response: Response, )
gen.pollinations.ai/src/middleware/safety.ts:160
↓ 17 callers
Function
y
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 16 callers
Function
W
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 16 callers
Function
X
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 16 callers
Function
addMessage
(role, content, customId = null, metadata = {})
apps/chat/src/hooks/useChat.js:95
↓ 16 callers
Function
authHeaders
(sessionToken: string)
enter.pollinations.ai/test/account-usage.test.ts:5
↓ 16 callers
Function
b
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 16 callers
Function
buildEmbeddingsBody
(extra: Record<string, unknown> = {})
gen.pollinations.ai/test/embeddings/embeddings.test.ts:56
↓ 16 callers
Function
ci
(name: string)
pollinations.ai/src/hooks/useApps.ts:50
↓ 16 callers
Method
getAttribute
(name: string)
enter.pollinations.ai/worker-runtime.d.ts:1483
↓ 16 callers
Function
ie
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 16 callers
Function
insertAutoTopUpAttempt
({ id = crypto.randomUUID(), userId, invoiceId, status = "pending", amountUsd = 10, co
enter.pollinations.ai/test/integration/stripe.test.ts:123
↓ 16 callers
Function
m
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 16 callers
Function
notify
(message, type = "info")
apps/catgpt/script.js:103
↓ 15 callers
Function
_github_headers
Standard GitHub API headers.
social/scripts/common.py:446
↓ 15 callers
Method
blob
()
enter.pollinations.ai/worker-runtime.d.ts:1966
↓ 15 callers
Function
createTestApiKey
(opts: CreateTestApiKeyOptions = {})
shared/test/fixtures/api-keys.ts:56
↓ 15 callers
Function
getCohortFromCountry
( country: string | null | undefined, )
enter.pollinations.ai/src/utils/currency-router.ts:45
↓ 15 callers
Method
group
* The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by
enter.pollinations.ai/worker-runtime.d.ts:139
↓ 15 callers
Function
jsonResponse
(body: unknown)
gen.pollinations.ai/test/assemblyai-transcription.test.ts:10
↓ 15 callers
Function
priceNumber
(pricing: ApiPricing | undefined, field: PriceField)
enter.pollinations.ai/frontend/src/components/models/model-catalog.ts:139
↓ 15 callers
Function
requireApiKey
()
packages/mcp/src/utils/authUtils.js:60
↓ 15 callers
Function
set
(l,i)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 15 callers
Function
track
(eventType: EventType)
gen.pollinations.ai/src/middleware/track.ts:139
↓ 14 callers
Function
Ee
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 14 callers
Method
_get_headers
(self)
apps/polly/src/services/github_pr.py:118
↓ 14 callers
Function
assertStagingAccess
( env: { ENVIRONMENT?: string; STAGING_ALLOWED_GITHUB_IDS?: string; STAGING_ALLOWE
shared/auth/api-key.ts:61
↓ 14 callers
Method
cancel
* The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled. * * [MDN Reference]
enter.pollinations.ai/worker-runtime.d.ts:2133
↓ 14 callers
Function
cf
(url, headers, init = {})
apps/_scripts/deploy-app.js:54
↓ 14 callers
Function
escapeCSV
(val: string | number | boolean | null)
enter.pollinations.ai/src/routes/account.ts:174
↓ 14 callers
Function
f
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 14 callers
Method
get_session
(self)
apps/polly/src/services/github_pr.py:101
↓ 14 callers
Function
handleBalanceDeduction
(params: DeductionParams)
shared/billing/track-helpers.ts:122
↓ 14 callers
Function
mockCustomer
( id: string, email = "test@example.com", )
enter.pollinations.ai/test/mocks/stripe.ts:506
↓ 14 callers
Function
numeric
(value: unknown)
gen.pollinations.ai/src/routes/realtime.ts:204
↓ 14 callers
Method
request
(t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 14 callers
Function
roundPollenLedgerAmount
(amount: number)
shared/billing/precision.ts:9
↓ 14 callers
Function
sheetRange
(r1, c1, r2, c2)
apps/operation/finance/lib/layout.mjs:43
↓ 14 callers
Function
stripLeadingHeading
(md: string)
gen.pollinations.ai/src/routes/docs.ts:173
↓ 14 callers
Function
updateMessage
(messageId, updates)
apps/chat/src/hooks/useChat.js:130
↓ 14 callers
Function
v
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 14 callers
Function
x
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 13 callers
Function
He
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 13 callers
Function
atomicDeductUserBalance
( db: DrizzleD1Database, userId: string, amount: number, isPaidOnly = false, )
shared/billing/deduction.ts:21
↓ 13 callers
Function
auth
(options: AuthOptions)
enter.pollinations.ai/src/middleware/auth.ts:43
↓ 13 callers
Function
be
(e,t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 13 callers
Function
callSeedreamAPI
( prompt: string, safeParams: ImageParams, )
gen.pollinations.ai/src/image/models/seedreamReplicateModel.ts:343
↓ 13 callers
Function
cn
(...inputs: ClassValue[])
pollinations.ai/src/utils.ts:4
↓ 13 callers
Function
createAzureModelConfig
( apiKey: string | undefined, endpoint: string | undefined, modelName: string, overrides: Mode
gen.pollinations.ai/src/text/configs/providerConfigs.ts:57
↓ 13 callers
Method
element
(el: CfElement)
pollinations.ai/src/worker.ts:17
↓ 13 callers
Function
envWithEnter
( fetch: Fetcher["fetch"] = async () => new Response("enter"), )
gen.pollinations.ai/test/index.test.ts:15
↓ 13 callers
Function
formPost
(params: Record<string, string>)
enter.pollinations.ai/test/oauth-code.test.ts:44
↓ 13 callers
Function
formatActivityPollen
(value: number)
enter.pollinations.ai/frontend/src/components/activity/format-activity-pollen.ts:21
↓ 13 callers
Function
makeResponse
( body: unknown, init: { ok?: boolean; status?: number; contentType?: string;
packages/sdk/src/client.test.ts:15
↓ 13 callers
Function
newClient
(overrides: Record<string, unknown> = {})
packages/sdk/src/client.test.ts:69
↓ 13 callers
Function
resolveModel
( eventType: EventType, options?: ResolveModelOptions, )
gen.pollinations.ai/src/middleware/model.ts:86
↓ 13 callers
Function
run
(args, opts = {})
apps/operation/finance/lib/gog.mjs:48
↓ 12 callers
Function
Me
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 12 callers
Function
S
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 12 callers
Function
asRecord
(value: unknown)
gen.pollinations.ai/src/routes/docs.ts:849
← previous
next →
101–200 of 5,304, ranked by callers