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
↓ 1 callers
Function
computeInputHash
(text: string)
integrations/smart-ingest/index.ts:199
↓ 1 callers
Function
constantTimeEqual
* Constant-time string comparison to avoid timing side channels when * validating x-brain-key. V8's `===` short-circuits on first byte diff; * in sh
integrations/smart-ingest/index.ts:178
↓ 1 callers
Function
contentFingerprint
(text: string)
recipes/email-history-import/pull-gmail.ts:641
↓ 1 callers
Function
contentFingerprint
(text)
recipes/x-twitter-import/import-x-twitter.mjs:54
↓ 1 callers
Function
contentFingerprint
(text)
recipes/grok-export-import/import-grok.mjs:42
↓ 1 callers
Function
contentFingerprint
(text)
recipes/journals-blogger-import/import-blogger.mjs:45
↓ 1 callers
Function
contentFingerprint
(text)
recipes/instagram-import/import-instagram.mjs:49
↓ 1 callers
Function
content_fingerprint
SHA-256 fingerprint of normalized content for DB-level dedup.
recipes/obsidian-vault-import/import-obsidian.py:472
↓ 1 callers
Function
content_hash
(body: str)
recipes/obsidian-vault-import/import-obsidian.py:468
↓ 1 callers
Function
convert_docx
(source: Path, output_dir: Path, prefer: str)
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:403
↓ 1 callers
Function
convert_pdf
(source: Path, output_dir: Path, prefer: str)
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:474
↓ 1 callers
Function
convert_pptx
(source: Path, output_dir: Path)
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:344
↓ 1 callers
Function
convert_text_file
(source: Path, output_dir: Path)
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:527
↓ 1 callers
Function
convert_xlsx
(source: Path, output_dir: Path)
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:280
↓ 1 callers
Function
countByEnriched
(config)
recipes/thought-enrichment/enrich-thoughts.mjs:631
↓ 1 callers
Function
countSemicolonClauses
(text)
recipes/atomizer/atomize-packs.mjs:134
↓ 1 callers
Function
countSentences
(text)
recipes/atomizer/atomize-packs.mjs:123
↓ 1 callers
Function
count_messages
Count total messages (all roles) that have extractable text content.
recipes/chatgpt-conversation-import/chatgpt_parser.py:279
↓ 1 callers
Function
createBot
()
recipes/vercel-neon-telegram/src/app/api/telegram/route.ts:8
↓ 1 callers
Function
createChildMemories
(parent, atomicTexts, providerName)
recipes/atomizer/atomize-packs.mjs:159
↓ 1 callers
Function
createInitialState
* Create an initial state record. The orchestrator persists this shape to * chrome.storage.local under a single key so SW wake-ups can rehydrate
integrations/chrome-capture-extension/lib/gemini-sync-state.js:59
↓ 1 callers
Function
createJob
( job: IngestionJob, sourceMetadata?: Record<string, unknown> | null, inputLength: number = 0, )
integrations/smart-ingest/index.ts:821
↓ 1 callers
Function
createOpenBrainMcp
()
recipes/vercel-neon-telegram/src/app/api/mcp/route.ts:14
↓ 1 callers
Function
createStateDefaults
()
integrations/chrome-capture-extension/background/service-worker.js:84
↓ 1 callers
Function
createSupabase
(env)
recipes/entity-wiki/generate-wiki.mjs:143
↓ 1 callers
Function
dedupeElements
(elements)
integrations/chrome-capture-extension/content-scripts/extractor-claude.js:42
↓ 1 callers
Function
defaultArgs
()
recipes/wiki-compiler/compile-wiki.mjs:39
↓ 1 callers
Function
deleteAction
()
dashboards/open-brain-dashboard-pro/app/thoughts/[id]/page.tsx:67
↓ 1 callers
Function
deleteAction
()
dashboards/open-brain-dashboard-next/app/thoughts/[id]/page.tsx:76
↓ 1 callers
Function
deleteIds
(ids)
recipes/fingerprint-dedup-backfill/delete-duplicates.mjs:135
↓ 1 callers
Function
deliverFile
(text, startDate, endDate, model, counts)
recipes/weekly-digest/weekly-digest.mjs:599
↓ 1 callers
Function
deliverTelegram
(cfg, text)
recipes/weekly-digest/weekly-digest.mjs:575
↓ 1 callers
Function
deriveAgentMemoryUrl
(restUrl?: string)
dashboards/open-brain-dashboard-next/lib/agent-memory.ts:16
↓ 1 callers
Function
descriptionFromTitle
(title)
scripts/update-readme-contributions.mjs:106
↓ 1 callers
Function
detachFromAllTabs
()
integrations/chrome-capture-extension/background/gemini-debugger.js:252
↓ 1 callers
Function
detectDefaultProvider
()
recipes/atomizer/lib/atomize-text.mjs:40
↓ 1 callers
Function
detectSensitivity
(text)
recipes/thought-enrichment/backfill-sensitivity.mjs:65
↓ 1 callers
Function
detectSensitivity
(text)
recipes/gmail-smart-pull/scripts/lib/sensitivity.mjs:57
↓ 1 callers
Function
detectSensitivity
(text: string)
integrations/entity-extraction-worker/_shared/helpers.ts:415
↓ 1 callers
Function
detectSensitivity
(text: string)
integrations/consolidation-workers/_shared/helpers.ts:415
↓ 1 callers
Function
detectSensitivity
(text)
integrations/chrome-capture-extension/lib/sensitivity.js:65
↓ 1 callers
Function
driveConversation
(syncTabId, conversationId)
integrations/chrome-capture-extension/background/gemini-sync.js:380
↓ 1 callers
Function
duplicatesResponse
(url)
docs/walkthroughs/ob1-agent-dashboard/demo-rest-server.mjs:202
↓ 1 callers
Function
editAction
(formData: FormData)
dashboards/open-brain-dashboard-pro/app/thoughts/[id]/page.tsx:58
↓ 1 callers
Function
editAction
(formData: FormData)
dashboards/open-brain-dashboard-next/app/thoughts/[id]/page.tsx:67
↓ 1 callers
Function
embedText
(text: string)
integrations/entity-extraction-worker/_shared/helpers.ts:97
↓ 1 callers
Function
embedText
(text: string)
integrations/consolidation-workers/_shared/helpers.ts:97
↓ 1 callers
Function
embed_batch
Embed up to 2048 strings in a single OpenRouter call.
recipes/readwise-import/import-readwise.py:138
↓ 1 callers
Function
emitQueue
(candidates, parentsByChild, outPath)
recipes/provenance-chains/eval.mjs:496
↓ 1 callers
Function
ensureBrainBridge
()
recipes/repo-learning-coach/server/brain.ts:47
↓ 1 callers
Function
ensureContactsCache
(args)
recipes/gmail-smart-pull/scripts/pull-gmail.mjs:245
↓ 1 callers
Function
ensureScriptsExist
()
recipes/wiki-compiler/compile-wiki.mjs:165
↓ 1 callers
Function
escapeHtml
(s)
recipes/gmail-smart-pull/scripts/pull-gmail.mjs:488
↓ 1 callers
Function
escapeLikePattern
(s: string)
integrations/enhanced-mcp/_shared/helpers.ts:897
↓ 1 callers
Function
escapeThoughtContent
* Neutralize attempts to break out of the <thought_content> envelope. * Any literal closing tag in user content is softened by injecting a * zero-wi
integrations/consolidation-workers/metadata-norm/index.ts:140
↓ 1 callers
Function
escapeThoughtContent
(text)
skills/auto-capture-claude-code/session-end-capture.mjs:142
↓ 1 callers
Function
escapeThoughtTags
(text)
recipes/thought-enrichment/enrich-thoughts.mjs:882
↓ 1 callers
Function
exportTable
Export one table, streaming rows to disk.
recipes/brain-backup/backup-brain.mjs:192
↓ 1 callers
Function
extractAddressesFromHeader
(headerValue)
recipes/gmail-smart-pull/scripts/pull-gmail.mjs:262
↓ 1 callers
Function
extractConversationId
()
integrations/chrome-capture-extension/content-scripts/extractor-claude.js:189
↓ 1 callers
Function
extractConversationId
()
integrations/chrome-capture-extension/content-scripts/extractor-chatgpt.js:86
↓ 1 callers
Function
extractConversationId
()
integrations/chrome-capture-extension/content-scripts/extractor-gemini.js:91
↓ 1 callers
Function
extractEntities
Try LLM providers in OB1 priority order: OpenRouter → OpenAI → Anthropic.
integrations/entity-extraction-worker/index.ts:288
↓ 1 callers
Function
extractHistoryTurn
(turn, fallbackCapturedAt)
integrations/chrome-capture-extension/lib/extractor-gemini-history.js:171
↓ 1 callers
Function
extractJsonRpcId
* Best-effort extraction of the JSON-RPC `id` from a raw request body. * Returns null when the body is missing, not JSON, or not a JSON-RPC * shape
server/index.ts:556
↓ 1 callers
Function
extractMessageText
* Extract text from a ChatGPT message's content. * Content has { content_type, parts[] }. We join the text parts.
integrations/chrome-capture-extension/lib/sync-chatgpt.js:247
↓ 1 callers
Function
extractMessageText
* Extract plain text from a message's content blocks. * Content is an array of blocks; we extract text from 'text' type blocks.
integrations/chrome-capture-extension/lib/sync-claude.js:186
↓ 1 callers
Function
extractMetadata
(text: string)
recipes/email-history-import/pull-gmail.ts:606
↓ 1 callers
Function
extractMetadata
(text: string)
recipes/source-filtering/backfill-metadata.ts:67
↓ 1 callers
Function
extractMetadata
( content: string, )
recipes/vercel-neon-telegram/src/lib/ai.ts:13
↓ 1 callers
Function
extractMetadata
* Call your LLM of choice to extract structured metadata from raw text. * * OpenAI direct: * POST https://api.openai.com/v1/chat/completions *
recipes/schema-aware-routing/index.ts:96
↓ 1 callers
Function
extractMetadata
(text: string)
integrations/open-brain-rest/index.ts:201
↓ 1 callers
Function
extractMetadata
( text: string, )
integrations/entity-extraction-worker/_shared/helpers.ts:307
↓ 1 callers
Function
extractMetadata
(text: string)
integrations/kubernetes-deployment/index.ts:105
↓ 1 callers
Function
extractMetadata
( text: string, )
integrations/smart-ingest/_shared/helpers.ts:393
↓ 1 callers
Function
extractMetadata
( text: string, )
integrations/consolidation-workers/_shared/helpers.ts:307
↓ 1 callers
Function
extractMetadata
(text: string)
server/index.ts:66
↓ 1 callers
Function
extractTextFromParts
(part: GmailMessagePart)
recipes/email-history-import/pull-gmail.ts:415
↓ 1 callers
Function
extractTextFromParts
(part)
recipes/gmail-smart-pull/scripts/pull-gmail.mjs:689
↓ 1 callers
Function
extractThoughts
(text: string, budget: BudgetTracker)
integrations/smart-ingest/index.ts:564
↓ 1 callers
Function
extract_conversation_metadata
Extract free metadata from conversation export JSON (zero API cost).
recipes/chatgpt-conversation-import/chatgpt_parser.py:293
↓ 1 callers
Function
extract_conversations
Extract conversations from a ChatGPT export zip or extracted directory. Handles both single conversations.json and the multi-file format (con
recipes/chatgpt-conversation-import/chatgpt_parser.py:60
↓ 1 callers
Function
extract_conversations
Extract conversation rows from the 'Conversations' sheet. Returns list of dicts with keys: uuid, created, updated, title, answer_text.
recipes/perplexity-conversation-import/import-perplexity.py:204
↓ 1 callers
Function
extract_date
Extract date from frontmatter or file mtime. Returns ISO date string.
recipes/obsidian-vault-import/import-obsidian.py:198
↓ 1 callers
Function
extract_memory_rows
Extract memory rows from the 'Memory' sheet. Returns list of dicts with all memory columns.
recipes/perplexity-conversation-import/import-perplexity.py:275
↓ 1 callers
Function
extract_prompts
Extract prompt blocks from the markdown file.
recipes/infographic-generator/generate.py:42
↓ 1 callers
Function
extract_shape_text
(shape, collector: list[str])
skills/heavy-file-ingestion/scripts/convert_heavy_file.py:334
↓ 1 callers
Function
fenceSnippets
(payload)
recipes/entity-wiki/generate-wiki.mjs:497
↓ 1 callers
Function
fetchAgentMemories
( apiKey: string, params: { workspace_id: string; project_id?: string; review_status?: string;
dashboards/open-brain-dashboard-next/lib/agent-memory.ts:57
↓ 1 callers
Function
fetchAgentMemory
( apiKey: string, memoryId: string )
dashboards/open-brain-dashboard-next/lib/agent-memory.ts:92
↓ 1 callers
Function
fetchAnthropicLLM
(system: string, user: string)
integrations/consolidation-workers/metadata-norm/index.ts:268
↓ 1 callers
Function
fetchAnthropicMetadata
Fetch metadata from Anthropic Messages API.
integrations/entity-extraction-worker/_shared/helpers.ts:225
↓ 1 callers
Function
fetchAnthropicMetadata
Fetch metadata from Anthropic Messages API.
integrations/smart-ingest/_shared/helpers.ts:288
↓ 1 callers
Function
fetchAnthropicMetadata
Fetch metadata from Anthropic Messages API.
integrations/enhanced-mcp/_shared/helpers.ts:257
↓ 1 callers
Function
fetchAnthropicMetadata
Fetch metadata from Anthropic Messages API.
integrations/consolidation-workers/_shared/helpers.ts:225
↓ 1 callers
Function
fetchAuditCorpus
(days: number)
recipes/editorial-policy/auditor/index.ts:94
↓ 1 callers
Function
fetchBatch
(afterId, { includeCount = false } = {}, retries = 4)
recipes/thought-enrichment/backfill-type.mjs:86
↓ 1 callers
Function
fetchBatch
(cursorId, batchSize)
recipes/fingerprint-dedup-backfill/backfill-fingerprints.mjs:97
↓ 1 callers
Function
fetchBatch
(cursorId, batchSize)
recipes/fingerprint-dedup-backfill/delete-duplicates.mjs:96
↓ 1 callers
Function
fetchBook
(bookId: number)
integrations/readwise-capture/index.ts:63
← previous
next →
701–800 of 1,804, ranked by callers