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
↓ 8 callers
Function
N
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 8 callers
Function
R
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 8 callers
Function
Rt
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 8 callers
Function
Se
(e={})
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 8 callers
Function
Ut
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 8 callers
Function
addUtcDays
(date: Date, days: number)
packages/ui/src/lib/period.ts:21
↓ 8 callers
Function
asRecord
(value: unknown)
gen.pollinations.ai/src/routes/realtime.ts:198
↓ 8 callers
Function
call_pollinations_api
Call pollinations.ai API with retry logic and exponential backoff Args: system_prompt: System prompt for the AI user_prompt: User
social/scripts/common.py:284
↓ 8 callers
Method
chat
* Create a chat completion (OpenAI-compatible). * Automatically retries up to 3 times with exponential backoff on retriable failures. *
packages/sdk/src/client.ts:979
↓ 8 callers
Function
cn
(...classes: (string | undefined | false | null)[])
apps/ai-dungeon-master/src/components/ui/select.tsx:8
↓ 8 callers
Function
createFireworksModelConfig
( overrides: ModelOverride = {}, )
gen.pollinations.ai/src/text/configs/providerConfigs.ts:88
↓ 8 callers
Function
createMicroServiceWrapper
(emailConfig: EmailConfig)
apps/micro/src/wrapper.ts:32
↓ 8 callers
Function
createTestR2Bucket
()
shared/test/mocks/r2.ts:16
↓ 8 callers
Function
createTextCacheApp
()
gen.pollinations.ai/test/text-cache.test.ts:29
↓ 8 callers
Function
earningsRow
(overrides: Record<string, unknown> = {})
enter.pollinations.ai/test/account-earnings.test.ts:9
↓ 8 callers
Function
ensure
(date: string)
pollinations.ai/src/hooks/useDiaryData.ts:141
↓ 8 callers
Function
firstString
( ...values: Array<string | null | undefined> )
enter.pollinations.ai/src/utils/stripe-billing.ts:852
↓ 8 callers
Function
fn
(t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 8 callers
Function
genDocsUrl
(hash = "")
enter.pollinations.ai/frontend/src/config.ts:37
↓ 8 callers
Function
getCostDefinition
(model: ModelName)
shared/registry/registry.ts:406
↓ 8 callers
Function
getRegisteredServers
( type: ServerType, )
gen.pollinations.ai/src/image/availableServers.ts:99
↓ 8 callers
Function
isContentPolicyViolation
( message: string | null | undefined, )
gen.pollinations.ai/src/image/utils/contentModeration.ts:37
↓ 8 callers
Function
isPortkeyChatCompletionsRequest
(request: Request)
gen.pollinations.ai/src/community-endpoints.test.ts:41
↓ 8 callers
Function
jt
(e)
apps/operation/quest-dashboard/assets/bundle.js:4
↓ 8 callers
Function
me
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 8 callers
Function
page
(body)
apps/oauth-client-demo/server.js:45
↓ 8 callers
Function
parseForm
(request: Request)
enter.pollinations.ai/test/mocks/stripe.ts:563
↓ 8 callers
Function
parseGithubIdList
(raw: string | undefined | null)
shared/auth/github-id-list.ts:47
↓ 8 callers
Function
parsePositiveInt
( value: FormDataEntryValue | null, field: string, )
gen.pollinations.ai/src/routes/audio.ts:2281
↓ 8 callers
Function
questToCard
(quest: QuestDefinition)
enter.pollinations.ai/src/services/quests/types.ts:54
↓ 8 callers
Method
register_tool_handler
(self, name: str, handler: callable)
apps/polly/src/services/pollinations.py:129
↓ 8 callers
Function
resolveSeed
(seed: number | undefined)
packages/sdk/src/client.ts:86
↓ 8 callers
Function
send
(res, status, body, headers = {})
apps/oauth-client-demo/server.js:58
↓ 8 callers
Function
sheetRange
(tab, r1, c1, r2, c2)
apps/operation/finance/lib/fleet-layout.mjs:45
↓ 8 callers
Function
step
(name, fn)
packages/mcp/test-mcp-client.js:33
↓ 8 callers
Function
useTranslate
( items: T[], field: K, )
pollinations.ai/src/hooks/useTranslate.ts:11
↓ 8 callers
Method
verifyConnection
()
apps/micro/src/wrapper.ts:28
↓ 8 callers
Method
withRetries
* Run `fn` with exponential-backoff retries on retriable errors. * `attempt` is passed into `fn` so callers can recompute per-attempt * stat
packages/sdk/src/client.ts:317
↓ 7 callers
Function
An
(e,t,n,r)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 7 callers
Function
En
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 7 callers
Function
Et
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 7 callers
Function
Yt
(e,t)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 7 callers
Function
_display_name
Get display name for a result: login if available, else github_id.
enter.pollinations.ai/src/tier-progression/flows/spore_to_seed.py:100
↓ 7 callers
Function
addUtcDays
(date: Date, days: number)
enter.pollinations.ai/src/routes/account.ts:195
↓ 7 callers
Function
applySafety
( c: SafetyContext, text: string, bodySafe?: SafeValue, )
gen.pollinations.ai/src/middleware/safety.ts:34
↓ 7 callers
Function
base64ToBuffer
(base64: string)
gen.pollinations.ai/src/image/utils/imageDownload.ts:8
↓ 7 callers
Function
buildUrl
(path, params = {}, includeAuth = false)
packages/mcp/src/utils/coreUtils.js:57
↓ 7 callers
Function
call
(name, args = {})
packages/mcp/test-mcp-client.js:44
↓ 7 callers
Function
cn
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 7 callers
Function
discordApiCall
* Helper function to handle Discord API calls with error handling
apps/discord-bot-family/src-functional/bot-loop.ts:120
↓ 7 callers
Function
embeddingsResponse
( responseModel: string, data: EmbeddingData[], usage: Usage, )
gen.pollinations.ai/src/embeddings/handler.ts:236
↓ 7 callers
Function
escapeHtml
(value)
apps/oauth-client-demo/server.js:36
↓ 7 callers
Function
fakeLog
()
gen.pollinations.ai/src/byop-markup.test.ts:41
↓ 7 callers
Function
fakeStatsEnv
(price: number, model = "openai")
gen.pollinations.ai/src/byop-markup.test.ts:26
↓ 7 callers
Function
fixWavHeader
(buffer: ArrayBuffer)
gen.pollinations.ai/src/routes/audio.ts:187
↓ 7 callers
Function
formatWhisperResponse
( json: WhisperVerboseJson, responseFormat: string | null, usageHeaders: Record<string, string>, )
gen.pollinations.ai/src/routes/audio.ts:2368
↓ 7 callers
Function
generate_platform_post
Generate a platform post from a summary/digest. Args: platform: 'twitter', 'instagram', 'reddit', 'linkedin', 'discord' summary:
social/scripts/common.py:709
↓ 7 callers
Function
getPollenPackByAmount
( amountUsd: number | null | undefined, )
shared/pollen-packs.ts:68
↓ 7 callers
Function
getPollenPackByKey
(packKey: string)
shared/pollen-packs.ts:58
↓ 7 callers
Function
getPriceDefinition
(model: ModelName)
shared/registry/registry.ts:413
↓ 7 callers
Method
get_pr
Get full details of a pull request using GraphQL.
apps/polly/src/services/github_pr.py:135
↓ 7 callers
Function
handleVideoOptionChange
(key, value)
apps/chat/src/components/GenerationOptionsModal.jsx:38
↓ 7 callers
Method
image
* Get the raw image data for a hosted image * @param imageId The ID of the image (UUID or custom ID) * @returns ReadableStream of image byte
enter.pollinations.ai/worker-runtime.d.ts:10100
↓ 7 callers
Function
insertDeviceCode
Insert a device code directly into D1.
enter.pollinations.ai/test/device-auth.test.ts:10
↓ 7 callers
Function
intervened
( assessment: NonNullable<BedrockResponse["assessments"]>[0], outputs?: BedrockResponse["outputs"], )
gen.pollinations.ai/test/safety.test.ts:65
↓ 7 callers
Function
mockReplicateFetch
( requests: ReplicateRequest[], metrics: Record<string, number> = { predict_time: 1 }, )
gen.pollinations.ai/test/image/prunaModel.test.ts:26
↓ 7 callers
Function
modelsListHandler
( getEntries: ( c: Context<Env>, ) => GenerationModelEntry[] | Promise<GenerationM
gen.pollinations.ai/src/routes/proxy.ts:227
↓ 7 callers
Function
normalize
(rawRows, vendorsMap)
apps/operation/finance/lib/normalize.mjs:17
↓ 7 callers
Function
parseCsv
(text, { filename = "<input>" } = {})
apps/operation/finance/lib/parse-csv.mjs:53
↓ 7 callers
Function
parseSafeFeatures
(value: SafeValue)
shared/schemas/safety.ts:48
↓ 7 callers
Function
putCode
Park an authorization code in KV the way POST /api/oauth/code does.
enter.pollinations.ai/test/oauth-code.test.ts:26
↓ 7 callers
Function
reduceAdjustmentsToEventFields
( adjustments: BillingAdjustment[] | undefined, )
gen.pollinations.ai/src/middleware/track.ts:647
↓ 7 callers
Function
refName
(schema: Schema)
gen.pollinations.ai/scripts/generate-apidocs.ts:78
↓ 7 callers
Function
remapUpstreamStatus
(status: number)
shared/error.ts:324
↓ 7 callers
Function
requireTinybirdReadToken
(env: CloudflareBindings)
enter.pollinations.ai/src/services/tinybird.ts:87
↓ 7 callers
Function
sanitizeAuthorizeAccountPermissions
( permissions: string[] | null | undefined, )
shared/auth/authorize-config.ts:46
↓ 7 callers
Function
sanitizeString
(str: string)
gen.pollinations.ai/src/image/util.ts:6
↓ 7 callers
Method
saveConfig
* Save configuration to localStorage and companion JSON file
apps/slidepainter/src/utils/clientImageConfig.ts:178
↓ 7 callers
Function
scrape_url
( url: str, extraction_strategy: str | None = None, schema: dict[str, Any] | None = None, inst
apps/polly/src/services/web_scraper.py:130
↓ 7 callers
Method
setCursor
(t)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 7 callers
Function
startOfUtcDay
(year: number, monthIndex: number, day: number)
enter.pollinations.ai/src/routes/account.ts:229
↓ 7 callers
Function
syncImageEnvironment
(env: CloudflareBindings)
gen.pollinations.ai/src/image/handler.ts:64
↓ 7 callers
Function
testModel
(model: ModelName = "openai")
gen.pollinations.ai/src/byop-markup.test.ts:51
↓ 7 callers
Function
updateForm
(key: keyof EndpointFormState, value: string)
enter.pollinations.ai/frontend/src/components/community-endpoints/community-endpoint-dialog.tsx:83
↓ 7 callers
Function
write
(file, buf)
tools/icons/src/cli.js:159
↓ 6 callers
Function
At
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
Bn
(e,t,n=!1)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
C
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
Fn
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 6 callers
Function
Ft
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
Ge
(...e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
Ln
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
On
(e,t,n)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
Pn
(e)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 6 callers
Function
Sn
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 6 callers
Function
Tn
(e,t=new Date)
apps/operation/quest-dashboard/assets/bundle.js:29
↓ 6 callers
Function
Xe
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
Ye
()
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
Ze
(e)
apps/operation/quest-dashboard/assets/bundle.js:2
↓ 6 callers
Function
_datasets
Coerce data['datasets'] to a list of {label, values} dicts.
apps/polly/src/services/chart_renderer.py:214
← previous
next →
301–400 of 5,304, ranked by callers