Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NateBJones-Projects/OB1
/ functions
Functions
1,804 in github.com/NateBJones-Projects/OB1
⨍
Functions
1,804
◇
Types & classes
134
↓ 4 callers
Function
request
(method, resource, { query, body, prefer } = {})
recipes/entity-wiki/generate-wiki.mjs:155
↓ 4 callers
Function
require_module
(module_name: str, package_name: str)
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:65
↓ 4 callers
Function
resolveTimeoutMs
(envValue, fallback)
recipes/thought-enrichment/lib/memory-core.mjs:53
↓ 4 callers
Function
runSync
(type, platform)
integrations/chrome-capture-extension/popup/popup.js:528
↓ 4 callers
Function
sanitizeStringArray
(value, { maxItems, maxLen })
recipes/thought-enrichment/enrich-thoughts.mjs:899
↓ 4 callers
Function
save
(img: Image.Image, name: str)
docs/assets/agent-memory/promotional/build_promotional_assets.py:89
↓ 4 callers
Function
sb
(method, relPath, body, extraHeaders = {})
recipes/wiki-synthesis/scripts/backfill-gmail-wikis.mjs:100
↓ 4 callers
Function
spawnNode
(scriptPath, scriptArgs, envOverrides = {})
recipes/wiki-compiler/compile-wiki.mjs:181
↓ 4 callers
Function
stashDropForTab
(tabId)
integrations/chrome-capture-extension/background/gemini-debugger.js:146
↓ 4 callers
Function
supabaseHeaders
(config)
recipes/thought-enrichment/enrich-thoughts.mjs:654
↓ 4 callers
Function
tableExists
( supabase: { from: ( name: string, ) => { select: ( cols: string, opts?
integrations/enhanced-mcp/_shared/helpers.ts:914
↓ 4 callers
Function
tableInsert
(table, rows)
recipes/ob-graph/smoke-graph-rpcs.mjs:154
↓ 4 callers
Function
thoughtImportance
* Read the importance score for a thought. Enhanced-schema installs expose * a native `importance` column on public.thoughts; stock OB1 does not. *
recipes/weekly-digest/weekly-digest.mjs:399
↓ 4 callers
Function
timed
(label, fn)
recipes/ob-graph/smoke-graph-rpcs.mjs:58
↓ 4 callers
Function
unwrapSingle
( promise: QueryResult<T>, fallbackMessage: string, )
recipes/repo-learning-coach/server/db.ts:103
↓ 3 callers
Function
_default_config
()
integrations/hermes-agent-memory/plugin/__init__.py:82
↓ 3 callers
Function
_truncate_session
Truncate a session to first ~3000 tokens + last ~1000 tokens.
recipes/chatgpt-conversation-import/chatgpt_parser.py:335
↓ 3 callers
Function
agentMemoryFetch
( apiKey: string, path: string, init?: RequestInit )
dashboards/open-brain-dashboard-next/lib/agent-memory.ts:28
↓ 3 callers
Function
appendJsonl
(path, record)
recipes/gmail-smart-pull/scripts/pull-gmail.mjs:110
↓ 3 callers
Function
appendLog
(entry)
recipes/wiki-synthesis/scripts/backfill-gmail-wikis.mjs:134
↓ 3 callers
Function
asInteger
(value: unknown, fallback: number, min: number, max: number)
integrations/entity-extraction-worker/_shared/helpers.ts:47
↓ 3 callers
Function
asInteger
(value: unknown, fallback: number, min: number, max: number)
integrations/smart-ingest/_shared/helpers.ts:79
↓ 3 callers
Function
atomizeText
(text, opts = {})
recipes/atomizer/lib/atomize-text.mjs:245
↓ 3 callers
Function
build_zip_from_dir
(source_dir: Path, archive_path: Path)
skills/heavy-file-ingestion/scripts/build_client_exports.py:31
↓ 3 callers
Function
capture
(payload)
integrations/open-brain-rest/smoke/live-smoke.mjs:106
↓ 3 callers
Function
clientFromApi
(api: { pluginConfig?: unknown; config?: unknown })
integrations/openclaw-agent-memory/plugin/src/index.ts:7
↓ 3 callers
Function
computeContentFingerprint
(content: string)
integrations/enhanced-mcp/_shared/helpers.ts:562
↓ 3 callers
Function
delay
(ms)
integrations/chrome-capture-extension/background/gemini-sync.js:957
↓ 3 callers
Function
detachFromTab
(tabId)
integrations/chrome-capture-extension/background/gemini-debugger.js:224
↓ 3 callers
Function
detectSensitivity
(text: string)
integrations/enhanced-mcp/_shared/helpers.ts:535
↓ 3 callers
Function
embed
(text: string)
recipes/local-brain-no-mcp/functions/_shared/embed.ts:15
↓ 3 callers
Function
embedQuery
(env, text)
recipes/entity-wiki/generate-wiki.mjs:302
↓ 3 callers
Function
embedText
(text: string)
integrations/smart-ingest/_shared/helpers.ts:129
↓ 3 callers
Function
embedText
(text: string)
integrations/enhanced-mcp/_shared/helpers.ts:129
↓ 3 callers
Function
envVar
(name)
recipes/lint-sweep/lint-sweep.js:78
↓ 3 callers
Function
expandHome
* Expand a leading `~/` (or bare `~`) to the current user's home directory. * Only the prefix form is handled — embedded `~` elsewhere in the string
recipes/lint-sweep/lint-sweep.js:270
↓ 3 callers
Function
extractThoughtArray
(value: unknown)
integrations/smart-ingest/index.ts:309
↓ 3 callers
Function
extractThoughtId
(value: unknown)
integrations/smart-ingest/index.ts:350
↓ 3 callers
Function
extract_dialogue_text
Extract full dialogue with role prefixes and content-type dispatch. Includes both user and assistant messages. Applies content-type-aware ext
recipes/chatgpt-conversation-import/chatgpt_parser.py:247
↓ 3 callers
Function
fallbackMetadata
(text: string)
integrations/open-brain-rest/index.ts:231
↓ 3 callers
Function
fetchProvider
(p: MetadataProvider)
integrations/entity-extraction-worker/_shared/helpers.ts:319
↓ 3 callers
Function
fetchProvider
(p: MetadataProvider)
integrations/smart-ingest/_shared/helpers.ts:405
↓ 3 callers
Function
fetchProvider
(p: MetadataProvider)
integrations/enhanced-mcp/_shared/helpers.ts:412
↓ 3 callers
Function
fetchProvider
(p: MetadataProvider)
integrations/consolidation-workers/_shared/helpers.ts:319
↓ 3 callers
Function
fetchThoughts
( apiKey: string, params?: { page?: number; per_page?: number; type?: string; source_type?
dashboards/open-brain-dashboard-pro/lib/api.ts:75
↓ 3 callers
Function
fetchThoughts
( apiKey: string, params?: { page?: number; per_page?: number; type?: string; source_type?
dashboards/open-brain-dashboard-next/lib/api.ts:49
↓ 3 callers
Function
fetchWithRetry
(url, options, maxAttempts)
integrations/chrome-capture-extension/lib/sync-chatgpt.js:52
↓ 3 callers
Function
fetchWithTimeout
Wrap fetch with an AbortController so stuck upstreams can't exceed the timeout.
integrations/entity-extraction-worker/index.ts:73
↓ 3 callers
Function
formatDate
(dateStr: string)
dashboards/open-brain-dashboard-next/lib/format.ts:5
↓ 3 callers
Function
formatDate
(value: string | null)
recipes/repo-learning-coach/src/App.tsx:61
↓ 3 callers
Function
formatSyncTime
(isoString)
integrations/chrome-capture-extension/popup/popup.js:344
↓ 3 callers
Function
generateEmbedding
(text: string)
recipes/vercel-neon-telegram/src/lib/ai.ts:5
↓ 3 callers
Function
generate_embedding
Generate a 1536-dim embedding via OpenRouter (text-embedding-3-small).
recipes/chatgpt-conversation-import/import-chatgpt.py:463
↓ 3 callers
Function
getEmbedding
(text: string)
integrations/open-brain-rest/index.ts:183
↓ 3 callers
Function
getEmbedding
(text: string)
integrations/kubernetes-deployment/index.ts:85
↓ 3 callers
Function
getEmbedding
(text: string)
server/index.ts:46
↓ 3 callers
Function
getLessonRowBySlug
(slug: string)
recipes/repo-learning-coach/server/db.ts:158
↓ 3 callers
Function
getRetryQueue
()
integrations/chrome-capture-extension/background/service-worker.js:122
↓ 3 callers
Function
getSQL
()
recipes/vercel-neon-telegram/src/lib/db.ts:4
↓ 3 callers
Function
gmailFetch
(accessToken: string, path: string)
recipes/email-history-import/pull-gmail.ts:264
↓ 3 callers
Function
httpPost
(url, headers, body, retries = 2)
recipes/google-activity-import/import-google-activity.mjs:171
↓ 3 callers
Function
http_post_with_retry
POST with exponential backoff retry on transient failures.
recipes/perplexity-conversation-import/import-perplexity.py:141
↓ 3 callers
Function
humanSize
(bytes)
recipes/brain-backup/backup-brain.mjs:123
↓ 3 callers
Function
infer_next_step
(result: ConversionResult)
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:122
↓ 3 callers
Function
isAuthError
(err)
integrations/chrome-capture-extension/lib/sync-chatgpt.js:99
↓ 3 callers
Function
isAuthError
* Auth failures are permanent until the user logs back in. Repeating the * full sync (and its raw 401 error) every alarm tick is pure noise — the
integrations/chrome-capture-extension/lib/sync-claude.js:96
↓ 3 callers
Function
isConfigured
()
integrations/openclaw-agent-memory/plugin/src/index.ts:305
↓ 3 callers
Function
isFatalProviderError
* True for errors that are hard failures (bad auth, no quota, bad request). * * When we see one of these on the primary provider we should NOT fall
integrations/enhanced-mcp/_shared/helpers.ts:347
↓ 3 callers
Function
isRestricted
(row: DbThought | NormalizedThought)
integrations/open-brain-rest/index.ts:148
↓ 3 callers
Function
isTransientError
(err: unknown)
integrations/smart-ingest/_shared/helpers.ts:380
↓ 3 callers
Function
joinBack
(arr)
recipes/atomizer/re-atomize-gmail-thought.mjs:265
↓ 3 callers
Function
joinBack
(arr)
recipes/atomizer/backfill-gmail-correspondents.mjs:132
↓ 3 callers
Function
listThoughts
(url: URL)
integrations/open-brain-rest/index.ts:270
↓ 3 callers
Function
load
({ locals, url, }: { locals: App.Locals; url: URL; })
dashboards/open-brain-dashboard/src/routes/+layout.server.ts:3
↓ 3 callers
Function
loadActivityLog
()
integrations/chrome-capture-extension/popup/popup.js:178
↓ 3 callers
Function
loadSyncState
()
integrations/chrome-capture-extension/lib/sync-chatgpt.js:336
↓ 3 callers
Function
loadSyncState
* Load sync state (lastSyncAt, autoSyncEnabled, etc).
integrations/chrome-capture-extension/lib/sync-claude.js:280
↓ 3 callers
Function
logExtracted
(record)
recipes/gmail-smart-pull/scripts/pull-gmail.mjs:116
↓ 3 callers
Function
markAuthExpired
()
integrations/chrome-capture-extension/lib/sync-chatgpt.js:103
↓ 3 callers
Function
markAuthExpired
()
integrations/chrome-capture-extension/lib/sync-claude.js:100
↓ 3 callers
Function
normalizeStringList
(values: string[] | null | undefined)
recipes/work-operating-model-activation/index.ts:169
↓ 3 callers
Function
optionalNullableInteger
()
integrations/openclaw-agent-memory/plugin/src/tool-schemas.js:7
↓ 3 callers
Function
pairKey
(p: DuplicatePair)
dashboards/open-brain-dashboard-pro/app/duplicates/page.tsx:170
↓ 3 callers
Function
pairKey
(p: DuplicatePair)
dashboards/open-brain-dashboard-next/app/duplicates/page.tsx:139
↓ 3 callers
Function
parseAtomsFromResponse
(raw)
recipes/atomizer/lib/atomize-text.mjs:98
↓ 3 callers
Function
parseExtractionResult
(rawText: string)
integrations/entity-extraction-worker/index.ts:238
↓ 3 callers
Function
parseList
(raw)
recipes/gmail-smart-pull/scripts/pull-gmail.mjs:836
↓ 3 callers
Function
parseResult
(raw: string)
integrations/entity-extraction-worker/_shared/helpers.ts:326
↓ 3 callers
Function
parseResult
(raw: string)
integrations/smart-ingest/_shared/helpers.ts:412
↓ 3 callers
Function
parseResult
(raw: string)
integrations/enhanced-mcp/_shared/helpers.ts:421
↓ 3 callers
Function
parseResult
(raw: string)
integrations/consolidation-workers/_shared/helpers.ts:326
↓ 3 callers
Function
parseTwitterJsFile
(content)
recipes/x-twitter-import/import-x-twitter.mjs:59
↓ 3 callers
Function
parse_iso
Parse an ISO-8601 string into a tz-aware UTC datetime. Accepts 'Z'.
recipes/readwise-import/import-readwise.py:77
↓ 3 callers
Function
parse_timestamp_iso
Parse a Perplexity timestamp string into ISO 8601 (UTC). Returns ISO string or None if parsing fails. Also handles datetime objects from open
recipes/perplexity-conversation-import/import-perplexity.py:177
↓ 3 callers
Method
prefetch
(self, query, *, session_id="")
integrations/hermes-agent-memory/plugin/tests/test_ob1_provider.py:40
↓ 3 callers
Function
readCaptureLog
(state)
integrations/chrome-capture-extension/background/service-worker.js:95
↓ 3 callers
Function
readJson
(request)
docs/walkthroughs/ob1-agent-dashboard/demo-rest-server.mjs:309
↓ 3 callers
Function
readRetryQueue
(state)
integrations/chrome-capture-extension/background/service-worker.js:99
↓ 3 callers
Function
redactSnippet
(raw, maxLen = 120)
recipes/atomizer/lib/atomize-text.mjs:75
↓ 3 callers
Function
refresh
()
integrations/chrome-capture-extension/popup/popup.js:226
← previous
next →
201–300 of 1,804, ranked by callers