MCPcopy Create free account

hub / github.com/danielmiessler/Fabric / functions

Functions1,350 in github.com/danielmiessler/Fabric

↓ 2 callersMethodConfigure
()
internal/plugins/db/api.go:4
↓ 2 callersMethodConfigure
()
internal/plugins/db/fsdb/db.go:46
↓ 2 callersMethodContainsItemBy
(predicate func(item I) bool)
internal/util/groups_items.go:30
↓ 2 callersFunctionCopyToClipboard
(message string)
internal/cli/output.go:15
↓ 2 callersMethodDelete
(name string)
internal/plugins/db/api.go:7
↓ 2 callersMethodExists
(name string)
internal/plugins/db/fsdb/storage.go:77
↓ 2 callersFunctionExtractText
ExtractText extracts just the text parts from a Gemini response.
internal/plugins/ai/geminicommon/geminicommon.go:63
↓ 2 callersMethodFilterByVendor
FilterByVendor returns a new VendorsModels containing only the specified vendor's models. Vendor matching is case-insensitive (e.g., "OpenAI", "openai
internal/plugins/ai/models.go:23
↓ 2 callersMethodFindModelNameCaseInsensitive
FindModelNameCaseInsensitive returns the actual model name from available models, matching case-insensitively. Returns empty string if not found. For
internal/plugins/ai/models.go:38
↓ 2 callersMethodGet
Get Load a context from file
internal/plugins/db/fsdb/contexts.go:10
↓ 2 callersMethodGetAllPRs
GetAllPRs returns all cached PRs
cmd/generate_changelog/internal/cache/cache.go:356
↓ 2 callersFunctionGetGeminiVoiceNames
GetGeminiVoiceNames returns just the voice names in alphabetical order
internal/plugins/ai/gemini/voices.go:93
↓ 2 callersMethodGetLastMessage
()
internal/plugins/db/fsdb/sessions.go:78
↓ 2 callersMethodGetModels
()
internal/core/plugin_registry.go:441
↓ 2 callersMethodGetName
()
internal/plugins/plugin.go:35
↓ 2 callersMethodGetNames
GetNames finds all patterns in the patterns directory and enters the id, name, and pattern into a slice of Entry structs. it returns these entries or
internal/plugins/db/fsdb/storage.go:29
↓ 2 callersMethodGetPRWithCommits
GetPRWithCommits fetches the full PR and its commits.
cmd/generate_changelog/internal/github/client.go:122
↓ 2 callersFunctionGetProviderByName
GetProviderByName returns the provider configuration for a given name with O(1) lookup
internal/plugins/ai/openai_compatible/providers_config.go:331
↓ 2 callersMethodGetShowOrEpisodeId
GetShowOrEpisodeId extracts show or episode ID from a Spotify URL.
internal/tools/spotify/spotify.go:175
↓ 2 callersFunctionGetTokenFromEnv
GetTokenFromEnv returns a GitHub token based on the following precedence order: 1. If tokenValue is non-empty, it is returned. 2. Otherwise, if the GI
cmd/generate_changelog/util/token.go:23
↓ 2 callersMethodGetVersions
()
cmd/generate_changelog/internal/cache/cache.go:183
↓ 2 callersMethodGetWithoutVariables
GetWithoutVariables returns a pattern with only the {{input}} placeholder processed and skips template variable replacement
internal/plugins/db/fsdb/patterns.go:43
↓ 2 callersMethodGrabComments
(videoId string)
internal/tools/youtube/youtube.go:504
↓ 2 callersMethodGrabDuration
(videoId string)
internal/tools/youtube/youtube.go:542
↓ 2 callersMethodGrabTranscriptWithArgs
GrabTranscriptWithArgs retrieves the transcript for the specified video ID using yt-dlp with custom command-line arguments. The language parameter spe
internal/tools/youtube/youtube.go:158
↓ 2 callersMethodGrabTranscriptWithTimestamps
GrabTranscriptWithTimestamps retrieves the transcript with timestamps for the specified video ID using yt-dlp. The language parameter specifies the pr
internal/tools/youtube/youtube.go:166
↓ 2 callersMethodGrabTranscriptWithTimestampsWithArgs
GrabTranscriptWithTimestampsWithArgs retrieves the transcript with timestamps for the specified video ID using yt-dlp with custom command-line argumen
internal/tools/youtube/youtube.go:175
↓ 2 callersMethodGrabVisual
GrabVisual retrieves visual data from the video by extracting frames via FFmpeg and OCR parsing them via Tesseract.
internal/tools/youtube/youtube.go:862
↓ 2 callersFunctionHtmlReadability
HtmlReadability Convert HTML input into a clean, readable view args: html (string): full data of web page return: viewContent (string): html main
internal/tools/converter/html_readability.go:18
↓ 2 callersMethodIsAvailable
IsAvailable checks if notifications are available
internal/tools/notifications/notifications.go:54
↓ 2 callersMethodIsChatRequest
()
internal/cli/flags.go:553
↓ 2 callersMethodIsCleanupEnabled
()
internal/plugins/template/extension_registry.go:75
↓ 2 callersMethodIsDefined
()
internal/plugins/plugin.go:280
↓ 2 callersMethodIsEnvFileExists
()
internal/plugins/db/fsdb/db.go:89
↓ 2 callersMethodIsValidErr
()
internal/plugins/plugin.go:273
↓ 2 callersMethodListExtensions
ListExtensions handles the listextensions flag action
internal/plugins/template/extension_manager.go:32
↓ 2 callersMethodListModels
ListModels returns a list of available models.
internal/plugins/ai/lmstudio/lmstudio.go:55
↓ 2 callersMethodListModels
(context.Context)
internal/plugins/ai/anthropic/anthropic.go:147
↓ 2 callersMethodLoad
(name string)
internal/plugins/db/fsdb/storage.go:97
↓ 2 callersMethodLoadAsJson
(name string, item any)
internal/plugins/db/fsdb/storage.go:148
↓ 2 callersMethodNeedsRawMode
(modelName string)
internal/plugins/ai/vendor.go:17
↓ 2 callersFunctionNew
(dbPath string)
cmd/generate_changelog/internal/cache/cache.go:19
↓ 2 callersFunctionNewChatHandler
(r *gin.Engine, registry *core.PluginRegistry, db *fsdb.Db)
internal/server/chat.go:49
↓ 2 callersFunctionNewClient
NewClient creates a new OpenAI-compatible client for the specified provider
internal/plugins/ai/openai_compatible/providers_config.go:41
↓ 2 callersFunctionNewClient
NewClient creates a new Vertex AI client for accessing Claude models via Google Cloud
internal/plugins/ai/vertexai/vertexai.go:29
↓ 2 callersFunctionNewClientCompatibleWithResponses
(vendorName string, defaultBaseUrl string, implementsResponses bool, configureCustom func() error)
internal/plugins/ai/openai/openai.go:39
↓ 2 callersFunctionNewConfigHandler
(r *gin.Engine, db *fsdb.Db)
internal/server/configuration.go:19
↓ 2 callersFunctionNewContextsHandler
NewContextsHandler creates a new ContextsHandler
internal/server/contexts.go:15
↓ 2 callersFunctionNewModelsHandler
(r *gin.Engine, vendorManager *ai.VendorsManager)
internal/server/models.go:12
↓ 2 callersFunctionNewPatternsHandler
NewPatternsHandler creates a new PatternsHandler
internal/server/patterns.go:18
↓ 2 callersFunctionNewPluginRegistry
(db *fsdb.Db)
internal/core/plugin_registry.go:50
↓ 2 callersFunctionNewSessionsHandler
NewSessionsHandler creates a new SessionsHandler
internal/server/sessions.go:15
↓ 2 callersFunctionNewStorageHandler
NewStorageHandler creates a new StorageHandler
internal/server/storage.go:18
↓ 2 callersFunctionParseFileChanges
ParseFileChanges extracts and parses the file change marker section from LLM output
internal/domain/file_manager.go:30
↓ 2 callersMethodParseResponse
ParseResponse parses Gemini API response (candidates/content/parts)
internal/plugins/ai/azureaigateway/backend_vertex_ai.go:113
↓ 2 callersMethodParseResponse
ParseResponse parses Azure OpenAI API response (OpenAI chat completions format)
internal/plugins/ai/azureaigateway/backend_azure_openai.go:96
↓ 2 callersMethodPopulateDB
PopulateDB downloads patterns from the internet and populates the patterns folder
internal/tools/patterns_loader.go:94
↓ 2 callersMethodPrepareRequest
PrepareRequest converts messages to Gemini API format (contents/parts). System messages are extracted into the top-level "systemInstruction" field per
internal/plugins/ai/azureaigateway/backend_vertex_ai.go:57
↓ 2 callersMethodPrintPattern
PrintPattern prints the raw contents of the named pattern to the terminal. It checks the custom patterns directory first, then falls back to the main
internal/plugins/db/fsdb/patterns.go:161
↓ 2 callersMethodPrintWithVendor
PrintWithVendor prints models including their vendor on each line. When shellCompleteList is true, output is suitable for shell completion. Default ve
internal/plugins/ai/models.go:52
↓ 2 callersMethodSave
(name string, content []byte)
internal/plugins/db/api.go:10
↓ 2 callersMethodSavePRBatch
SavePRBatch saves multiple PRs in a single transaction for better performance
cmd/generate_changelog/internal/cache/cache.go:324
↓ 2 callersMethodSaveSession
(session *Session)
internal/plugins/db/fsdb/sessions.go:36
↓ 2 callersFunctionScanDirectory
ScanDirectory scans a directory and returns a JSON representation of its structure
cmd/code2context/code.go:35
↓ 2 callersMethodSearchShows
SearchShows searches for podcasts/shows matching the query.
internal/tools/spotify/spotify.go:337
↓ 2 callersMethodSend
Send sends a request to Codex and returns the final text output.
internal/plugins/ai/codex/codex.go:213
↓ 2 callersMethodSendStream
SendStream falls back to non-streaming (APIM gateway doesn't support SSE pass-through).
internal/plugins/ai/azureaigateway/azureaigateway.go:202
↓ 2 callersMethodSetLastPRSync
SetLastPRSync updates the timestamp of the last PR sync
cmd/generate_changelog/internal/cache/cache.go:315
↓ 2 callersMethodSetup
()
internal/plugins/plugin.go:112
↓ 2 callersMethodSetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/plugin.go:21
↓ 2 callersFunctionSummarizeVersionContent
SummarizeVersionContent takes raw version content and returns AI-enhanced summary
cmd/generate_changelog/internal/changelog/summarize.go:54
↓ 2 callersMethodTranscribeFile
TranscribeFile transcribes the given audio file using the specified model. If the file exceeds the size limit, it can optionally be split into chunks
internal/plugins/ai/openai/openai_audio.go:52
↓ 2 callersMethodUnwrap
()
internal/plugins/ai/codex/errors.go:24
↓ 2 callersMethodWalkCommitsSinceTag
WalkCommitsSinceTag walks commits from the specified tag to HEAD and returns only "Unreleased" version
cmd/generate_changelog/internal/git/walker.go:87
↓ 2 callersMethodWalkHistory
()
cmd/generate_changelog/internal/git/walker.go:170
↓ 2 callersFunctionaddFileToDirectory
addFileToDirectory adds a file to the correct directory in the structure
cmd/code2context/code.go:204
↓ 2 callersMethodappendVendorMessage
(message *chat.ChatCompletionMessage)
internal/plugins/db/fsdb/sessions.go:72
↓ 2 callersMethodapplyVariables
( pattern *Pattern, variables map[string]string, input string)
internal/plugins/db/fsdb/patterns.go:98
↓ 2 callersFunctionbuildAuthorizeURL
(authBaseURL string, callbackURL string, pkce pkceCodes, state string)
internal/plugins/ai/codex/oauth.go:242
↓ 2 callersMethodbuildChatCompletionParams
buildChatCompletionParams builds parameters for the Chat Completions API
internal/plugins/ai/openai/chat_completions.go:73
↓ 2 callersFunctionbuildFabricChatURL
buildFabricChatURL constructs a valid HTTP/HTTPS base URL from various address formats. It accepts fully-qualified URLs (http:// or https://), :port s
internal/server/ollama.go:495
↓ 2 callersMethodbuildMessageText
buildMessageText combines chat messages into a single prompt for Copilot.
internal/plugins/ai/copilot/copilot.go:213
↓ 2 callersFunctionbuildPromptChatRequest
(p PromptRequest, language string)
internal/server/chat.go:189
↓ 2 callersFunctioncaptureInput
captureInput captures the input for a function call
internal/plugins/plugin_test.go:289
↓ 2 callersFunctioncheckForAIError
(summary string)
cmd/generate_changelog/internal/changelog/generator.go:413
↓ 2 callersFunctioncheckImageGenerationCompatibility
checkImageGenerationCompatibility warns if the model doesn't support image generation
internal/plugins/ai/openai/openai.go:101
↓ 2 callersMethodconfigure
()
internal/tools/custom_patterns/custom_patterns.go:35
↓ 2 callersMethodconstructRequest
(msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/dryrun/dryrun.go:102
↓ 2 callersFunctionconvertMessageCommon
convertMessageCommon extracts common conversion logic
internal/plugins/ai/openai/message_conversion.go:14
↓ 2 callersMethodcountPatternsInDirectory
countPatternsInDirectory counts the number of pattern directories in a given directory
internal/tools/patterns_loader.go:300
↓ 2 callersMethodcreateChatRequest
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/ollama/ollama.go:162
↓ 2 callersMethodcreateChatRequest
( userInput: string, systemPromptText?: string, isPattern: boolean = false, )
web/src/lib/services/ChatService.ts:237
↓ 2 callersMethodcreateConversation
createConversation creates a new Copilot conversation.
internal/plugins/ai/copilot/copilot.go:235
↓ 2 callersFunctioncreateStorageAPI
(entityType: string)
web/src/lib/api/base.ts:59
↓ 2 callersFunctioncreate_pattern
Create a new pattern with necessary files and structure.
scripts/python_ui/streamlit.py:375
↓ 2 callersFunctiondedupInts
(ints []int)
cmd/generate_changelog/internal/git/walker.go:401
↓ 2 callersFunctiondelete
(name: string)
web/src/lib/api/base.ts:73
↓ 2 callersFunctiondetectSystemLocale
detectSystemLocale detects the system locale using standard Unix environment variables. Follows the POSIX priority order for locale environment variab
internal/i18n/locale.go:18
↓ 2 callersMethodensureAccessToken
(ctx context.Context, forceRefresh bool)
internal/plugins/ai/codex/auth_transport.go:26
↓ 2 callersMethodensureInput
(pattern *Pattern)
internal/plugins/db/fsdb/patterns.go:84
← previousnext →201–300 of 1,350, ranked by callers