Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,442 in github.com/danielmiessler/Fabric
⨍
Functions
1,442
◇
Types & classes
227
↓ 5 callers
Function
newConfiguredTestClient
(t *testing.T, apiBaseURL string, accountID string, accessToken string)
internal/plugins/ai/codex/codex_test.go:752
↓ 5 callers
Function
readModelsCache
readModelsCache returns the cached model list for (providerName, fullURL). When maxAge > 0 the entry must be younger than maxAge; maxAge <= 0 accepts
internal/plugins/ai/openai/models_cache.go:54
↓ 5 callers
Method
toMessages
Claude message conversion
internal/plugins/ai/vertexai/vertexai.go:396
↓ 5 callers
Method
update
()
web/src/lib/components/ui/connections/ParticleSystem.ts:65
↓ 4 callers
Function
APIKeyMiddleware
APIKeyMiddleware validates API key for protected endpoints. Swagger documentation endpoints (/swagger/*) are exempt from authentication to allow users
internal/server/auth.go:40
↓ 4 callers
Function
AzureDeploymentMiddleware
AzureDeploymentMiddleware transforms Azure OpenAI API paths to include the deployment name. Azure requires URLs like: openai/deployments/{deployment-n
internal/plugins/ai/azurecommon/azurecommon.go:54
↓ 4 callers
Method
BuildEndpoint
BuildEndpoint constructs the Azure OpenAI API endpoint URL API version reference: https://learn.microsoft.com/azure/ai-services/openai/reference
internal/plugins/ai/azureaigateway/backend_azure_openai.go:52
↓ 4 callers
Method
Execute
Execute runs an extension with the given operation and value string name: the registered name of the extension operation: the operation to perform val
internal/plugins/template/extension_executor.go:36
↓ 4 callers
Method
FillEnvFileContent
(buffer *bytes.Buffer)
internal/plugins/plugin.go:175
↓ 4 callers
Method
GetExtension
(name string)
internal/plugins/template/extension_registry.go:240
↓ 4 callers
Method
GetFileConfig
()
internal/plugins/template/extension_registry.go:66
↓ 4 callers
Function
GetGeminiVoices
GetGeminiVoices returns the current list of supported Gemini TTS voices This list is maintained based on official Google Gemini documentation https://
internal/plugins/ai/gemini/voices.go:21
↓ 4 callers
Method
GetLatestTag
GetLatestTag returns the name of the most recent tag by committer date
cmd/generate_changelog/internal/git/walker.go:46
↓ 4 callers
Method
GetNames
()
internal/plugins/db/api.go:9
↓ 4 callers
Method
GrabMetadataForURL
GrabMetadataForURL retrieves metadata for a Spotify URL (show or episode).
internal/tools/spotify/spotify.go:456
↓ 4 callers
Method
ListModels
ListModels returns the list of models available for this backend
internal/plugins/ai/azureaigateway/azureaigateway.go:38
↓ 4 callers
Method
LoadEnvFile
()
internal/plugins/db/fsdb/db.go:85
↓ 4 callers
Function
NewClient
NewClient creates a new LM Studio client with default configuration.
internal/plugins/ai/lmstudio/lmstudio.go:22
↓ 4 callers
Function
NewClient
()
internal/plugins/ai/dryrun/dryrun.go:21
↓ 4 callers
Function
NewContextsHandler
NewContextsHandler creates a new ContextsHandler
internal/server/contexts.go:15
↓ 4 callers
Function
NewExtensionRegistry
(configDir string)
internal/plugins/template/extension_registry.go:84
↓ 4 callers
Method
ParseResponse
ParseResponse parses Bedrock API response (Anthropic content blocks)
internal/plugins/ai/azureaigateway/backend_bedrock.go:111
↓ 4 callers
Function
ScanFiles
ScanFiles scans specific files and returns a JSON representation
cmd/code2context/code.go:135
↓ 4 callers
Method
Send
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions)
internal/plugins/ai/vendor.go:16
↓ 4 callers
Method
addImageGenerationTool
addImageGenerationTool adds the image generation tool to the request if needed
internal/plugins/ai/openai/openai_image.go:60
↓ 4 callers
Method
buildModelNameFull
buildModelNameFull adds the "models/" prefix for API calls
internal/plugins/ai/gemini/gemini.go:245
↓ 4 callers
Method
doRequest
doRequest performs an authenticated request to the Spotify API.
internal/tools/spotify/spotify.go:141
↓ 4 callers
Method
extractAccountID
(idToken string, accessToken string)
internal/plugins/ai/codex/auth_transport.go:162
↓ 4 callers
Method
extractAndValidateVideoId
extractAndValidateVideoId extracts a video ID from the given URL and validates that the URL points to a video rather than a playlist-only resource. It
internal/tools/youtube/youtube.go:124
↓ 4 callers
Function
filterConversationalModels
filterConversationalModels returns only models suitable for text generation/chat
internal/plugins/ai/vertexai/models.go:230
↓ 4 callers
Method
formatCommitMessage
(message string)
cmd/generate_changelog/internal/changelog/generator.go:597
↓ 4 callers
Method
getFromDB
retrieves a pattern from the database by name
internal/plugins/db/fsdb/patterns.go:125
↓ 4 callers
Function
getMaxTokens
getMaxTokens returns the max output tokens to use for a request
internal/plugins/ai/vertexai/vertexai.go:129
↓ 4 callers
Method
initService
()
internal/tools/youtube/youtube.go:89
↓ 4 callers
Method
loadImageBytes
(ctx context.Context, imageURL string)
internal/plugins/ai/ollama/ollama.go:242
↓ 4 callers
Function
marshalJSON
(t *testing.T, value any)
internal/plugins/ai/codex/codex_test.go:783
↓ 4 callers
Function
save_outputs
Save pattern outputs and starred outputs to files. Error handling: - Creates output directory if it doesn't exist - Handles file write pe
scripts/python_ui/streamlit.py:1037
↓ 4 callers
Function
sendNotification
sendNotification sends a desktop notification about command completion. When truncating the result for notification display, this function counts Uni
internal/cli/chat.go:154
↓ 4 callers
Function
setHSTS
setHSTS sets the Strict-Transport-Security header. Each validation 400 sends it, the same as the chat BindJSON 400 path.
internal/server/storage.go:22
↓ 4 callers
Function
supportsImageGeneration
supportsImageGeneration checks if the given model supports the image_generation tool
internal/plugins/ai/openai/openai_image.go:34
↓ 4 callers
Function
writeModelsCache
writeModelsCache persists a successfully fetched model list. Empty lists are not cached so a transient empty response does not stick for the whole TTL
internal/plugins/ai/openai/models_cache.go:78
↓ 3 callers
Function
BuildEndpoint
BuildEndpoint appends the /openai/ suffix to the given base URL.
internal/plugins/ai/azurecommon/azurecommon.go:46
↓ 3 callers
Method
Configure
()
internal/plugins/ai/perplexity/perplexity.go:39
↓ 3 callers
Method
ConfigureVendors
()
internal/core/plugin_registry.go:463
↓ 3 callers
Method
Delete
(name string)
internal/plugins/db/api.go:10
↓ 3 callers
Method
Exists
(name string)
internal/plugins/db/fsdb/storage.go:85
↓ 3 callers
Function
ExtractDeploymentFromBody
ExtractDeploymentFromBody reads the model field from the JSON request body and restores the body for subsequent use.
internal/plugins/ai/azurecommon/azurecommon.go:80
↓ 3 callers
Function
FetchFilesFromRepo
FetchFilesFromRepo clones a git repo and extracts files from a specific folder. It tries go-git first, and falls back to the git CLI if available.
internal/tools/githelper/githelper.go:35
↓ 3 callers
Method
FetchPlaylistVideos
FetchPlaylistVideos fetches all videos from a YouTube playlist.
internal/tools/youtube/youtube.go:618
↓ 3 callers
Method
FindGroupsByItem
(item I)
internal/util/groups_items.go:159
↓ 3 callers
Method
FindGroupsByItemFirst
(item I)
internal/util/groups_items.go:144
↓ 3 callers
Function
GetAbsolutePath
GetAbsolutePath resolves a given path to its absolute form, handling ~, ./, ../, UNC paths, and symlinks.
internal/util/utils.go:15
↓ 3 callers
Method
GetEpisodeMetadata
GetEpisodeMetadata retrieves metadata for a Spotify episode.
internal/tools/spotify/spotify.go:279
↓ 3 callers
Method
GetGroupAndItemByItemNumber
(number int)
internal/util/groups_items.go:74
↓ 3 callers
Method
GetNames
GetNames overrides StorageEntity.GetNames to include custom patterns directory
internal/plugins/db/fsdb/patterns.go:225
↓ 3 callers
Method
GetSetupDescription
()
internal/plugins/plugin.go:17
↓ 3 callers
Method
GetShowMetadata
GetShowMetadata retrieves metadata for a Spotify show (podcast).
internal/tools/spotify/spotify.go:230
↓ 3 callers
Method
GetVendorMessages
()
internal/plugins/db/fsdb/sessions.go:68
↓ 3 callers
Method
GetVideoOrPlaylistId
(url string)
internal/tools/youtube/youtube.go:102
↓ 3 callers
Method
GrabMetadata
(videoId string)
internal/tools/youtube/youtube.go:804
↓ 3 callers
Method
GrabTranscript
GrabTranscript retrieves the transcript for the specified video ID using yt-dlp. The language parameter specifies the preferred subtitle language code
internal/tools/youtube/youtube.go:149
↓ 3 callers
Function
Init
Init Initialize flags. returns a Flags struct and an error
internal/cli/flags.go:117
↓ 3 callers
Method
IsAvailable
()
internal/tools/notifications/notifications.go:15
↓ 3 callers
Method
IsConfigured
IsConfigured returns true if a custom patterns directory has been set
internal/tools/custom_patterns/custom_patterns.go:62
↓ 3 callers
Method
IsEnvFileExists
()
internal/plugins/db/fsdb/db.go:92
↓ 3 callers
Method
IsValid
()
internal/plugins/plugin.go:158
↓ 3 callers
Method
ListModels
(context.Context)
internal/plugins/ai/azure/azure.go:70
↓ 3 callers
Function
LoadAllFiles
()
internal/plugins/strategy/strategy.go:62
↓ 3 callers
Method
NeedsRawMode
(modelName string)
internal/plugins/ai/ollama/ollama.go:277
↓ 3 callers
Function
NewExtensionExecutor
NewExtensionExecutor creates a new executor instance It requires a registry to verify extensions
internal/plugins/template/extension_executor.go:25
↓ 3 callers
Function
NewGroupsItemsSelector
(selectionLabel string, getItemLabel func(I) string)
internal/util/groups_items.go:12
↓ 3 callers
Function
NewPluginRegistry
(db *fsdb.Db)
internal/core/plugin_registry.go:51
↓ 3 callers
Function
NewSetupQuestion
(question string)
internal/plugins/plugin.go:292
↓ 3 callers
Function
NewYouTube
()
internal/tools/youtube/youtube.go:65
↓ 3 callers
Method
OnAnswerWithReset
(answer string, isReset bool)
internal/plugins/plugin.go:245
↓ 3 callers
Function
ParseDeployments
ParseDeployments splits a comma-separated deployment string into a slice, trimming whitespace and discarding empty entries.
internal/plugins/ai/azurecommon/azurecommon.go:34
↓ 3 callers
Method
ProcessExtension
ProcessExtension handles template processing for extension directives
internal/plugins/template/extension_manager.go:135
↓ 3 callers
Method
RemoveExtension
RemoveExtension handles the rmextension flag action
internal/plugins/template/extension_manager.go:126
↓ 3 callers
Method
SaveCommit
(commit *git.Commit, version string)
cmd/generate_changelog/internal/cache/cache.go:133
↓ 3 callers
Method
SaveCommitPRMappings
SaveCommitPRMappings saves SHA→PR mappings for all commits in PRs
cmd/generate_changelog/internal/cache/cache.go:407
↓ 3 callers
Method
SaveVersion
(v *git.Version)
cmd/generate_changelog/internal/cache/cache.go:114
↓ 3 callers
Method
Send
Send sends a notification using the configured provider
internal/tools/notifications/notifications.go:46
↓ 3 callers
Method
SendStream
(context.Context, []*chat.ChatCompletionMessage, *domain.ChatOptions, chan domain.StreamUpdate)
internal/plugins/ai/vendor.go:15
↓ 3 callers
Method
SetEnableXSearch
SetEnableXSearch toggles whether an additional xAI "x_search" tool entry is appended when Search is enabled. Non-xAI providers should leave this false
internal/plugins/ai/openai/openai.go:96
↓ 3 callers
Method
SetLastProcessedTag
(tag string)
cmd/generate_changelog/internal/cache/cache.go:106
↓ 3 callers
Method
SetWebSearchToolName
SetWebSearchToolName overrides the default "web_search_preview" tool name emitted on the Responses API when Search is enabled. Pass an empty string to
internal/plugins/ai/openai/openai.go:89
↓ 3 callers
Function
StripThinkBlocks
(input, startTag, endTag string)
internal/domain/think.go:16
↓ 3 callers
Method
WithEnvLock
(fn func() error)
internal/plugins/db/fsdb/db.go:118
↓ 3 callers
Method
addAuthHeader
addAuthHeader adds the authorization header to a request.
internal/plugins/ai/copilot/copilot.go:416
↓ 3 callers
Function
assertEnvMode
(t *testing.T, path string)
internal/plugins/db/fsdb/db_test.go:194
↓ 3 callers
Method
buildCodexResponseParams
( msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, )
internal/plugins/ai/codex/codex.go:336
↓ 3 callers
Method
buildGeminiConfig
buildGeminiConfig creates the generation config for Gemini models following the gemini.go pattern for feature parity
internal/plugins/ai/vertexai/vertexai.go:296
↓ 3 callers
Method
buildPRWithCommits
buildPRWithCommits fetches commits and constructs a PR object from a GitHub API response
cmd/generate_changelog/internal/github/client.go:157
↓ 3 callers
Function
buildVendorsMap
buildVendorsMap groups the model names by vendor name for the response. A vendor with no models gets an empty slice, not a nil slice, because a nil sl
internal/server/models.go:47
↓ 3 callers
Method
ensureIncomingDir
ensureIncomingDir creates the incoming directory if it doesn't exist
cmd/generate_changelog/internal/changelog/processing.go:417
↓ 3 callers
Method
errorFromHTTPResponse
(statusCode int, body []byte)
internal/plugins/ai/codex/errors.go:28
↓ 3 callers
Method
fetchSinglePR
(ctx context.Context, prNumber int)
cmd/generate_changelog/internal/github/client.go:231
↓ 3 callers
Function
getPreferredLocale
getPreferredLocale returns the best locale to use based on user preferences. Priority order: 1. Explicit language flag (if provided) 2. System environ
internal/i18n/locale.go:86
↓ 3 callers
Function
getStrategyDir
getStrategyDir returns the path to the strategies directory
internal/plugins/strategy/strategy.go:173
↓ 3 callers
Function
getString
(s *string)
cmd/generate_changelog/internal/github/client.go:240
← previous
next →
101–200 of 1,442, ranked by callers