MCPcopy Create free account

hub / github.com/NachoSEO/claudegram / functions

Functions472 in github.com/NachoSEO/claudegram

↓ 1 callersFunctionbuildProjectBrowserKeyboard
(state: ProjectBrowserState, entries: string[], totalPages: number)
src/bot/handlers/command.handler.ts:533
↓ 1 callersFunctionbuildProjectBrowserText
(state: ProjectBrowserState, totalDirs: number, totalPages: number)
src/bot/handlers/command.handler.ts:520
↓ 1 callersFunctionbuildRedditOutputPath
(ctx: Context, tokens: string[])
src/bot/handlers/command.handler.ts:1970
↓ 1 callersFunctionbuildToolList
(toolsCtx: McpToolsContext)
src/claude/mcp-tools.ts:60
↓ 1 callersMethodcheck
* Check if watchdog should fire warnings or timeout.
src/claude/agent-watchdog.ts:66
↓ 1 callersFunctioncheckExistingServer
(port: number)
src/providers/opencode-provider.ts:71
↓ 1 callersFunctionchunkAudio
( inputPath: string, outputDir: string, chunkDurationSec: number )
src/media/extract.ts:354
↓ 1 callersFunctionchunkText
(text: string, maxLen: number = GROQ_MAX_CHARS)
src/tts/tts.ts:54
↓ 1 callersFunctionclampSpeed
(speed: number)
src/tts/tts.ts:13
↓ 1 callersFunctionclearCancelled
(sessionKey: string)
src/claude/request-queue.ts:42
↓ 1 callersFunctionclearModel
(chatId: number)
src/claude/agent.ts:805
↓ 1 callersFunctionclearPersistedModel
(chatId: number)
src/providers/opencode-provider.ts:28
↓ 1 callersFunctioncompressCrf
(inputPath: string, outputPath: string)
src/reddit/vreddit.ts:382
↓ 1 callersFunctioncompressTwoPass
( inputPath: string, outputPath: string, targetSizeMB: number, durationSec: number )
src/reddit/vreddit.ts:412
↓ 1 callersFunctionconcatAndConvertAudio
* Concatenate multiple WAV buffers and convert to OGG/Opus using ffmpeg.
src/tts/tts.ts:148
↓ 1 callersFunctionconvertToTelegramMarkdown
(text: string)
src/telegram/markdown.ts:9
↓ 1 callersFunctionconvertWavToOgg
* Convert a single WAV buffer to OGG/Opus.
src/tts/tts.ts:200
↓ 1 callersFunctioncreateBot
()
src/bot/bot.ts:73
↓ 1 callersFunctioncreateClaudegramMcpServer
( toolsCtx: McpToolsContext )
src/claude/mcp-tools.ts:48
↓ 1 callersFunctioncreatePageWithUuidTitle
* Create a Telegraph page with a UUID-based title for unguessable URLs * The UUID becomes the URL slug, making pages unguessable
src/telegram/telegraph.ts:416
↓ 1 callersMethodcreateSession
(sessionKey: string, workingDirectory: string, conversationId?: string)
src/claude/session-manager.ts:46
↓ 1 callersFunctiondownloadSubtitles
( url: string, outputDir: string, format: SubtitleFormat, onRetry?: (msg: string) => void )
src/media/extract.ts:273
↓ 1 callersFunctiondownloadTelegramAudio
(botToken: string, filePath: string, destPath: string)
src/audio/transcribe.ts:63
↓ 1 callersFunctiondownloadVideo
( url: string, outputDir: string, onRetry?: (msg: string) => void )
src/media/extract.ts:246
↓ 1 callersFunctiondownloadWithYtDlp
(url: string, outputPath: string)
src/reddit/vreddit.ts:312
↓ 1 callersFunctionensureCleanupRunning
()
src/telegram/deduplication.ts:15
↓ 1 callersMethodensureDirectory
()
src/providers/user-preferences.ts:31
↓ 1 callersMethodensureDirectory
()
src/claude/session-history.ts:41
↓ 1 callersFunctionensureMediumOutputDir
(ctx: Context, url: string)
src/bot/handlers/command.handler.ts:1983
↓ 1 callersFunctionensureSession
(chatId: number)
src/providers/opencode-provider.ts:231
↓ 1 callersFunctionextractDashUrlFromHtml
(html: string)
src/reddit/vreddit.ts:108
↓ 1 callersFunctionextractExternalUrlFromHtml
(html: string)
src/reddit/vreddit.ts:116
↓ 1 callersFunctionextractMediaTool
(toolsCtx: McpToolsContext)
src/claude/mcp-tools.ts:234
↓ 1 callersFunctionextractRedditUrl
(text: string)
src/bot/handlers/message.handler.ts:33
↓ 1 callersFunctionextractToolDetail
(toolName: string, input: Record<string, unknown>)
src/telegram/terminal-renderer.ts:126
↓ 1 callersFunctionextractVRedditIdFromHtml
(html: string)
src/reddit/vreddit.ts:102
↓ 1 callersFunctionextractVRedditIdFromUrl
(url: URL)
src/reddit/vreddit.ts:86
↓ 1 callersFunctionfetchHtml
(url: string)
src/reddit/vreddit.ts:148
↓ 1 callersFunctionfetchMediumTool
(_toolsCtx: McpToolsContext)
src/claude/mcp-tools.ts:198
↓ 1 callersFunctionfetchPost
( headers: Record<string, string>, postId: string, subreddit?: string, depth = 5 )
src/reddit/redditfetch.ts:254
↓ 1 callersFunctionfetchRedditTool
(_toolsCtx: McpToolsContext)
src/claude/mcp-tools.ts:159
↓ 1 callersFunctionfetchSubreddit
( headers: Record<string, string>, subreddit: string, sort = 'hot', limit = 25, timeFilter?: string
src/reddit/redditfetch.ts:293
↓ 1 callersFunctionfetchUser
( headers: Record<string, string>, username: string, sort = 'new', limit = 25, timeFilter?: string )
src/reddit/redditfetch.ts:326
↓ 1 callersFunctionfetchWithTimeout
(url: string, options: RequestInit, timeoutMs: number)
src/reddit/vreddit.ts:45
↓ 1 callersFunctionflattenComments
( children: Array<{ kind: string; data: Record<string, unknown> }>, maxDepth = 5, currentDepth = 0 )
src/reddit/redditfetch.ts:362
↓ 1 callersMethodflushTerminalUpdate
(ctx: Context, state: StreamState)
src/telegram/message-sender.ts:270
↓ 1 callersFunctionformatJson
(result: PostResult | SubredditResult | UserResult)
src/reddit/redditfetch.ts:557
↓ 1 callersFunctionformatPostMarkdown
(result: PostResult)
src/reddit/redditfetch.ts:431
↓ 1 callersFunctionformatSubredditMarkdown
(result: SubredditResult)
src/reddit/redditfetch.ts:495
↓ 1 callersFunctionformatUserMarkdown
(result: UserResult)
src/reddit/redditfetch.ts:521
↓ 1 callersMethodgenerateConversationId
()
src/claude/session-manager.ts:140
↓ 1 callersFunctiongenerateSpeech
(text: string, voice?: string)
src/tts/tts.ts:265
↓ 1 callersFunctiongenerateSpeechGroq
* Generate speech using Groq Orpheus TTS. * Handles chunking for long text and converts WAV→OGG/Opus.
src/tts/tts.ts:242
↓ 1 callersFunctiongenerateSpeechOpenAI
(text: string, voice?: string)
src/tts/tts.ts:18
↓ 1 callersFunctiongetAudioDuration
(filePath: string)
src/media/extract.ts:337
↓ 1 callersFunctiongetAuthHeaders
()
src/reddit/redditfetch.ts:161
↓ 1 callersFunctiongetAutoVRedditUrl
(text: string)
src/bot/handlers/message.handler.ts:124
↓ 1 callersFunctiongetAvailableCommands
()
src/claude/command-parser.ts:44
↓ 1 callersMethodgetCachedUsage
(sessionKey: string)
src/providers/types.ts:61
↓ 1 callersFunctiongetCredentials
()
src/reddit/redditfetch.ts:86
↓ 1 callersFunctiongetFileType
(filePath: string)
src/utils/file-type.ts:144
↓ 1 callersFunctiongetHeifBrand
* Detect HEIF container brand from ISO BMFF ftyp box. * Returns 'heic' for HEVC-based brands, 'heif' for generic HEIF brands, or null.
src/utils/file-type.ts:57
↓ 1 callersMethodgetHistory
(sessionKey: string, limit: number = 5)
src/claude/session-history.ts:129
↓ 1 callersMethodgetLastSession
(sessionKey: string)
src/claude/session-history.ts:134
↓ 1 callersFunctiongetMediaType
(filePath: string)
src/bot/handlers/photo.handler.ts:56
↓ 1 callersFunctiongetModelSpec
(chatId: number)
src/providers/opencode-provider.ts:249
↓ 1 callersFunctiongetNextProxy
()
src/media/extract.ts:132
↓ 1 callersFunctiongetPermissionMode
(command?: string)
src/claude/agent.ts:271
↓ 1 callersFunctiongetProjectRoot
()
src/bot/handlers/command.handler.ts:496
↓ 1 callersMethodgetProvider
(chatId: number)
src/providers/user-preferences.ts:67
↓ 1 callersFunctiongetSearchDirs
()
src/utils/resolve-bin.ts:25
↓ 1 callersMethodgetSessionByConversationId
( sessionKey: string, conversationId: string )
src/claude/session-history.ts:139
↓ 1 callersFunctiongetToolAction
* Get human-readable action name for a tool
src/telegram/terminal-renderer.ts:107
↓ 1 callersMethodgetToolAction
(toolName: string)
src/telegram/message-sender.ts:346
↓ 1 callersFunctiongetUptimeSeconds
()
src/bot/middleware/stale-filter.ts:12
↓ 1 callersFunctiongetVideoDuration
(filePath: string)
src/reddit/vreddit.ts:359
↓ 1 callersFunctiongetVideoMeta
(url: string, onRetry?: (msg: string) => void)
src/media/extract.ts:199
↓ 1 callersFunctiongroqTTSSingle
* Call the Groq Orpheus TTS API for a single chunk (≤200 chars). * Returns a WAV Buffer.
src/tts/tts.ts:118
↓ 1 callersFunctionhandleClearCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:377
↓ 1 callersFunctionhandleExtractCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:2867
↓ 1 callersFunctionhandleFileReply
(ctx: Context, sessionKey: string, filePath: string)
src/bot/handlers/message.handler.ts:359
↓ 1 callersFunctionhandleImageDocument
(ctx: Context)
src/bot/handlers/photo.handler.ts:230
↓ 1 callersFunctionhandleMediumCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:2379
↓ 1 callersFunctionhandleModeCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:901
↓ 1 callersFunctionhandleModelCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:1359
↓ 1 callersFunctionhandleProjectCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:402
↓ 1 callersFunctionhandleProjectReply
(ctx: Context, sessionKey: string, projectPath: string)
src/bot/handlers/message.handler.ts:304
↓ 1 callersFunctionhandleProviderCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:1413
↓ 1 callersFunctionhandleRedditActionCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:2134
↓ 1 callersFunctionhandleResetCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:1294
↓ 1 callersFunctionhandleRestartCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:1223
↓ 1 callersFunctionhandleResumeCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:1590
↓ 1 callersFunctionhandleStreamingResponse
( ctx: Context, sessionKey: string, message: string )
src/bot/handlers/message.handler.ts:560
↓ 1 callersFunctionhandleTTSCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:989
↓ 1 callersFunctionhandleTelegraphCallback
(ctx: Context)
src/bot/handlers/command.handler.ts:1038
↓ 1 callersFunctionhandleTelegraphReply
(ctx: Context, sessionKey: string, filePath: string)
src/bot/handlers/message.handler.ts:493
↓ 1 callersFunctionhandleTerminalUICallback
(ctx: Context)
src/bot/handlers/command.handler.ts:953
↓ 1 callersFunctionhandleTranscribeDocument
(ctx: Context)
src/bot/handlers/command.handler.ts:2716
↓ 1 callersFunctionhandleTranscribeOnly
* Transcribe-only flow: voice note sent as reply to "Transcribe Audio" ForceReply. * Does NOT send transcript to the Claude agent.
src/bot/handlers/voice.handler.ts:209
↓ 1 callersFunctionhandleWaitResponse
( ctx: Context, sessionKey: string, chatId: number, message: string )
src/bot/handlers/message.handler.ts:602
← previousnext →201–300 of 472, ranked by callers