Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,350 in github.com/danielmiessler/Fabric
⨍
Functions
1,350
◇
Types & classes
220
↓ 2 callers
Method
Configure
()
internal/plugins/db/api.go:4
↓ 2 callers
Method
Configure
()
internal/plugins/db/fsdb/db.go:46
↓ 2 callers
Method
ContainsItemBy
(predicate func(item I) bool)
internal/util/groups_items.go:30
↓ 2 callers
Function
CopyToClipboard
(message string)
internal/cli/output.go:15
↓ 2 callers
Method
Delete
(name string)
internal/plugins/db/api.go:7
↓ 2 callers
Method
Exists
(name string)
internal/plugins/db/fsdb/storage.go:77
↓ 2 callers
Function
ExtractText
ExtractText extracts just the text parts from a Gemini response.
internal/plugins/ai/geminicommon/geminicommon.go:63
↓ 2 callers
Method
FilterByVendor
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 callers
Method
FindModelNameCaseInsensitive
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 callers
Method
Get
Get Load a context from file
internal/plugins/db/fsdb/contexts.go:10
↓ 2 callers
Method
GetAllPRs
GetAllPRs returns all cached PRs
cmd/generate_changelog/internal/cache/cache.go:356
↓ 2 callers
Function
GetGeminiVoiceNames
GetGeminiVoiceNames returns just the voice names in alphabetical order
internal/plugins/ai/gemini/voices.go:93
↓ 2 callers
Method
GetLastMessage
()
internal/plugins/db/fsdb/sessions.go:78
↓ 2 callers
Method
GetModels
()
internal/core/plugin_registry.go:441
↓ 2 callers
Method
GetName
()
internal/plugins/plugin.go:35
↓ 2 callers
Method
GetNames
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 callers
Method
GetPRWithCommits
GetPRWithCommits fetches the full PR and its commits.
cmd/generate_changelog/internal/github/client.go:122
↓ 2 callers
Function
GetProviderByName
GetProviderByName returns the provider configuration for a given name with O(1) lookup
internal/plugins/ai/openai_compatible/providers_config.go:331
↓ 2 callers
Method
GetShowOrEpisodeId
GetShowOrEpisodeId extracts show or episode ID from a Spotify URL.
internal/tools/spotify/spotify.go:175
↓ 2 callers
Function
GetTokenFromEnv
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 callers
Method
GetVersions
()
cmd/generate_changelog/internal/cache/cache.go:183
↓ 2 callers
Method
GetWithoutVariables
GetWithoutVariables returns a pattern with only the {{input}} placeholder processed and skips template variable replacement
internal/plugins/db/fsdb/patterns.go:43
↓ 2 callers
Method
GrabComments
(videoId string)
internal/tools/youtube/youtube.go:504
↓ 2 callers
Method
GrabDuration
(videoId string)
internal/tools/youtube/youtube.go:542
↓ 2 callers
Method
GrabTranscriptWithArgs
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 callers
Method
GrabTranscriptWithTimestamps
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 callers
Method
GrabTranscriptWithTimestampsWithArgs
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 callers
Method
GrabVisual
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 callers
Function
HtmlReadability
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 callers
Method
IsAvailable
IsAvailable checks if notifications are available
internal/tools/notifications/notifications.go:54
↓ 2 callers
Method
IsChatRequest
()
internal/cli/flags.go:553
↓ 2 callers
Method
IsCleanupEnabled
()
internal/plugins/template/extension_registry.go:75
↓ 2 callers
Method
IsDefined
()
internal/plugins/plugin.go:280
↓ 2 callers
Method
IsEnvFileExists
()
internal/plugins/db/fsdb/db.go:89
↓ 2 callers
Method
IsValidErr
()
internal/plugins/plugin.go:273
↓ 2 callers
Method
ListExtensions
ListExtensions handles the listextensions flag action
internal/plugins/template/extension_manager.go:32
↓ 2 callers
Method
ListModels
ListModels returns a list of available models.
internal/plugins/ai/lmstudio/lmstudio.go:55
↓ 2 callers
Method
ListModels
(context.Context)
internal/plugins/ai/anthropic/anthropic.go:147
↓ 2 callers
Method
Load
(name string)
internal/plugins/db/fsdb/storage.go:97
↓ 2 callers
Method
LoadAsJson
(name string, item any)
internal/plugins/db/fsdb/storage.go:148
↓ 2 callers
Method
NeedsRawMode
(modelName string)
internal/plugins/ai/vendor.go:17
↓ 2 callers
Function
New
(dbPath string)
cmd/generate_changelog/internal/cache/cache.go:19
↓ 2 callers
Function
NewChatHandler
(r *gin.Engine, registry *core.PluginRegistry, db *fsdb.Db)
internal/server/chat.go:49
↓ 2 callers
Function
NewClient
NewClient creates a new OpenAI-compatible client for the specified provider
internal/plugins/ai/openai_compatible/providers_config.go:41
↓ 2 callers
Function
NewClient
NewClient creates a new Vertex AI client for accessing Claude models via Google Cloud
internal/plugins/ai/vertexai/vertexai.go:29
↓ 2 callers
Function
NewClientCompatibleWithResponses
(vendorName string, defaultBaseUrl string, implementsResponses bool, configureCustom func() error)
internal/plugins/ai/openai/openai.go:39
↓ 2 callers
Function
NewConfigHandler
(r *gin.Engine, db *fsdb.Db)
internal/server/configuration.go:19
↓ 2 callers
Function
NewContextsHandler
NewContextsHandler creates a new ContextsHandler
internal/server/contexts.go:15
↓ 2 callers
Function
NewModelsHandler
(r *gin.Engine, vendorManager *ai.VendorsManager)
internal/server/models.go:12
↓ 2 callers
Function
NewPatternsHandler
NewPatternsHandler creates a new PatternsHandler
internal/server/patterns.go:18
↓ 2 callers
Function
NewPluginRegistry
(db *fsdb.Db)
internal/core/plugin_registry.go:50
↓ 2 callers
Function
NewSessionsHandler
NewSessionsHandler creates a new SessionsHandler
internal/server/sessions.go:15
↓ 2 callers
Function
NewStorageHandler
NewStorageHandler creates a new StorageHandler
internal/server/storage.go:18
↓ 2 callers
Function
ParseFileChanges
ParseFileChanges extracts and parses the file change marker section from LLM output
internal/domain/file_manager.go:30
↓ 2 callers
Method
ParseResponse
ParseResponse parses Gemini API response (candidates/content/parts)
internal/plugins/ai/azureaigateway/backend_vertex_ai.go:113
↓ 2 callers
Method
ParseResponse
ParseResponse parses Azure OpenAI API response (OpenAI chat completions format)
internal/plugins/ai/azureaigateway/backend_azure_openai.go:96
↓ 2 callers
Method
PopulateDB
PopulateDB downloads patterns from the internet and populates the patterns folder
internal/tools/patterns_loader.go:94
↓ 2 callers
Method
PrepareRequest
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 callers
Method
PrintPattern
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 callers
Method
PrintWithVendor
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 callers
Method
Save
(name string, content []byte)
internal/plugins/db/api.go:10
↓ 2 callers
Method
SavePRBatch
SavePRBatch saves multiple PRs in a single transaction for better performance
cmd/generate_changelog/internal/cache/cache.go:324
↓ 2 callers
Method
SaveSession
(session *Session)
internal/plugins/db/fsdb/sessions.go:36
↓ 2 callers
Function
ScanDirectory
ScanDirectory scans a directory and returns a JSON representation of its structure
cmd/code2context/code.go:35
↓ 2 callers
Method
SearchShows
SearchShows searches for podcasts/shows matching the query.
internal/tools/spotify/spotify.go:337
↓ 2 callers
Method
Send
Send sends a request to Codex and returns the final text output.
internal/plugins/ai/codex/codex.go:213
↓ 2 callers
Method
SendStream
SendStream falls back to non-streaming (APIM gateway doesn't support SSE pass-through).
internal/plugins/ai/azureaigateway/azureaigateway.go:202
↓ 2 callers
Method
SetLastPRSync
SetLastPRSync updates the timestamp of the last PR sync
cmd/generate_changelog/internal/cache/cache.go:315
↓ 2 callers
Method
Setup
()
internal/plugins/plugin.go:112
↓ 2 callers
Method
SetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/plugin.go:21
↓ 2 callers
Function
SummarizeVersionContent
SummarizeVersionContent takes raw version content and returns AI-enhanced summary
cmd/generate_changelog/internal/changelog/summarize.go:54
↓ 2 callers
Method
TranscribeFile
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 callers
Method
Unwrap
()
internal/plugins/ai/codex/errors.go:24
↓ 2 callers
Method
WalkCommitsSinceTag
WalkCommitsSinceTag walks commits from the specified tag to HEAD and returns only "Unreleased" version
cmd/generate_changelog/internal/git/walker.go:87
↓ 2 callers
Method
WalkHistory
()
cmd/generate_changelog/internal/git/walker.go:170
↓ 2 callers
Function
addFileToDirectory
addFileToDirectory adds a file to the correct directory in the structure
cmd/code2context/code.go:204
↓ 2 callers
Method
appendVendorMessage
(message *chat.ChatCompletionMessage)
internal/plugins/db/fsdb/sessions.go:72
↓ 2 callers
Method
applyVariables
( pattern *Pattern, variables map[string]string, input string)
internal/plugins/db/fsdb/patterns.go:98
↓ 2 callers
Function
buildAuthorizeURL
(authBaseURL string, callbackURL string, pkce pkceCodes, state string)
internal/plugins/ai/codex/oauth.go:242
↓ 2 callers
Method
buildChatCompletionParams
buildChatCompletionParams builds parameters for the Chat Completions API
internal/plugins/ai/openai/chat_completions.go:73
↓ 2 callers
Function
buildFabricChatURL
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 callers
Method
buildMessageText
buildMessageText combines chat messages into a single prompt for Copilot.
internal/plugins/ai/copilot/copilot.go:213
↓ 2 callers
Function
buildPromptChatRequest
(p PromptRequest, language string)
internal/server/chat.go:189
↓ 2 callers
Function
captureInput
captureInput captures the input for a function call
internal/plugins/plugin_test.go:289
↓ 2 callers
Function
checkForAIError
(summary string)
cmd/generate_changelog/internal/changelog/generator.go:413
↓ 2 callers
Function
checkImageGenerationCompatibility
checkImageGenerationCompatibility warns if the model doesn't support image generation
internal/plugins/ai/openai/openai.go:101
↓ 2 callers
Method
configure
()
internal/tools/custom_patterns/custom_patterns.go:35
↓ 2 callers
Method
constructRequest
(msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/dryrun/dryrun.go:102
↓ 2 callers
Function
convertMessageCommon
convertMessageCommon extracts common conversion logic
internal/plugins/ai/openai/message_conversion.go:14
↓ 2 callers
Method
countPatternsInDirectory
countPatternsInDirectory counts the number of pattern directories in a given directory
internal/tools/patterns_loader.go:300
↓ 2 callers
Method
createChatRequest
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions)
internal/plugins/ai/ollama/ollama.go:162
↓ 2 callers
Method
createChatRequest
( userInput: string, systemPromptText?: string, isPattern: boolean = false, )
web/src/lib/services/ChatService.ts:237
↓ 2 callers
Method
createConversation
createConversation creates a new Copilot conversation.
internal/plugins/ai/copilot/copilot.go:235
↓ 2 callers
Function
createStorageAPI
(entityType: string)
web/src/lib/api/base.ts:59
↓ 2 callers
Function
create_pattern
Create a new pattern with necessary files and structure.
scripts/python_ui/streamlit.py:375
↓ 2 callers
Function
dedupInts
(ints []int)
cmd/generate_changelog/internal/git/walker.go:401
↓ 2 callers
Function
delete
(name: string)
web/src/lib/api/base.ts:73
↓ 2 callers
Function
detectSystemLocale
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 callers
Method
ensureAccessToken
(ctx context.Context, forceRefresh bool)
internal/plugins/ai/codex/auth_transport.go:26
↓ 2 callers
Method
ensureInput
(pattern *Pattern)
internal/plugins/db/fsdb/patterns.go:84
← previous
next →
201–300 of 1,350, ranked by callers