Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,348 in github.com/danielmiessler/Fabric
⨍
Functions
1,348
◇
Types & classes
220
↓ 1 callers
Method
getCommitsForVersion
(version string)
cmd/generate_changelog/internal/cache/cache.go:243
↓ 1 callers
Method
getDirectCommitsSinceLastRelease
getDirectCommitsSinceLastRelease gets all direct commits (not part of PRs) since the last release
cmd/generate_changelog/internal/changelog/processing.go:310
↓ 1 callers
Function
getErrorMessage
getErrorMessage tries to get a translated error message, falling back to system locale and then to the provided fallback message. This is used during
internal/i18n/i18n.go:146
↓ 1 callers
Function
getFabricApiUrl
()
web/src/lib/config/environment.ts:31
↓ 1 callers
Method
getFromFile
reads a pattern from a file path and returns it
internal/plugins/db/fsdb/patterns.go:188
↓ 1 callers
Function
getGitHubInfo
getGitHubInfo extracts owner and repo from git remote origin URL
cmd/generate_changelog/internal/release.go:24
↓ 1 callers
Function
getKnownGeminiModels
getKnownGeminiModels returns the curated list of Gemini models available on Vertex AI. Unlike third-party models which can be listed via the Model Gar
internal/plugins/ai/vertexai/models.go:185
↓ 1 callers
Function
getMergePatterns
getMergePatterns returns the compiled merge patterns, initializing them lazily
cmd/generate_changelog/internal/changelog/processing.go:24
↓ 1 callers
Method
getOriginalDescription
getOriginalDescription retrieves the original description from struct tags
internal/cli/help.go:142
↓ 1 callers
Method
getSortedVersions
()
cmd/generate_changelog/internal/changelog/generator.go:303
↓ 1 callers
Method
getStaticModels
getStaticModels returns a predefined list of models for providers that don't support model discovery
internal/plugins/ai/openai_compatible/providers_config.go:141
↓ 1 callers
Function
getSummarizeModel
getSummarizeModel returns the model to use for AI summarization
cmd/generate_changelog/internal/changelog/summarize.go:46
↓ 1 callers
Method
getTranslatedDescription
getTranslatedDescription gets the translated description for a flag
internal/cli/help.go:127
↓ 1 callers
Function
get_clipboard_content
Get content from clipboard with proper error handling. Returns: Tuple[bool, str, str]: (success, content, error_message)
scripts/python_ui/streamlit.py:1252
↓ 1 callers
Function
get_configured_providers
Get list of configured providers using fabric --listmodels.
scripts/python_ui/streamlit.py:194
↓ 1 callers
Function
get_pattern_extract
Extract first 500 words from pattern's system.md file
scripts/pattern_descriptions/extract_patterns.py:27
↓ 1 callers
Function
get_pattern_metadata
Get pattern metadata from system.md.
scripts/python_ui/streamlit.py:346
↓ 1 callers
Function
get_patterns
Get the list of available patterns from the specified directory.
scripts/python_ui/streamlit.py:355
↓ 1 callers
Method
gitCloneAndCopy
()
internal/tools/patterns_loader.go:214
↓ 1 callers
Method
gitCloneAndCopy
()
internal/plugins/strategy/strategy.go:126
↓ 1 callers
Function
handleChatProcessing
handleChatProcessing handles the main chat processing logic
internal/cli/chat.go:21
↓ 1 callers
Function
handleConfigurationCommands
handleConfigurationCommands handles configuration-related commands Returns (handled, error) where handled indicates if a command was processed and sho
internal/cli/configuration.go:9
↓ 1 callers
Function
handleError
(error: Error | string)
web/src/lib/store/chat-store.ts:46
↓ 1 callers
Function
handleExtensionCommands
handleExtensionCommands handles extension-related commands Returns (handled, error) where handled indicates if a command was processed and should exit
internal/cli/extensions.go:9
↓ 1 callers
Function
handleListingCommands
handleListingCommands handles listing-related commands Returns (handled, error) where handled indicates if a command was processed and should exit
internal/cli/listing.go:19
↓ 1 callers
Function
handleManagementCommands
handleManagementCommands handles management-related commands (delete, print, etc.) Returns (handled, error) where handled indicates if a command was p
internal/cli/management.go:9
↓ 1 callers
Method
handleOAuthCallback
( w http.ResponseWriter, r *http.Request, callbackURL string, pkce pkceCodes, expectedState string, resu
internal/plugins/ai/codex/oauth.go:126
↓ 1 callers
Method
handlePathFromStdout
Helper method to handle path from stdout case
internal/plugins/template/extension_executor.go:183
↓ 1 callers
Method
handleRelative
(now time.Time, value string)
internal/plugins/template/datetime.go:104
↓ 1 callers
Function
handleSetupAndServerCommands
handleSetupAndServerCommands handles setup and server-related commands Returns (handled, error) where handled indicates if a command was processed and
internal/cli/setup_server.go:10
↓ 1 callers
Function
handleToolProcessing
handleToolProcessing handles YouTube and web scraping tool processing
internal/cli/tools.go:13
↓ 1 callers
Function
handleTranscription
(flags *Flags, registry *core.PluginRegistry)
internal/cli/transcribe.go:16
↓ 1 callers
Function
handle_star_name_input
Handle the starring process when a name is input. Args: log_index: Index of the output to star name: Name to give the starred out
scripts/python_ui/streamlit.py:1124
↓ 1 callers
Function
hasSuffix
hasSuffix checks if a string ends with the given suffix, case-insensitive.
cmd/to_pdf/main.go:33
↓ 1 callers
Function
hashContent
hashContent generates a SHA256 hash of the content for change detection
cmd/generate_changelog/internal/changelog/generator.go:697
↓ 1 callers
Method
initClient
initClient ensures the HTTP client and access token are initialized.
internal/tools/spotify/spotify.go:74
↓ 1 callers
Function
initializeFabric
initializeFabric initializes the fabric database and plugin registry
internal/cli/initialization.go:17
↓ 1 callers
Function
initializeHighlighter
()
web/svelte.config.js:18
↓ 1 callers
Function
initialize_session_state
Initialize necessary session state attributes. Error handling: - Ensures all required session state variables are initialized - Loads sav
scripts/python_ui/streamlit.py:65
↓ 1 callers
Method
isFirstTimeSetup
isFirstTimeSetup checks if this is a first-time setup
internal/core/plugin_registry.go:182
↓ 1 callers
Function
isPDFURL
isPDFURL checks if a URL appears to point to a PDF based on its path extension. NOTE: This only checks the URL path extension (.pdf) and will not dete
internal/plugins/ai/anthropic/anthropic.go:559
↓ 1 callers
Function
isRedacted
isRedacted returns true when a submitted value looks like a masked key returned by maskAPIKey, signalling that the user did not change the field.
internal/server/configuration.go:44
↓ 1 callers
Function
isTTSModel
isTTSModel checks if the model is a text-to-speech model
internal/cli/chat.go:197
↓ 1 callers
Method
isTextContent
isTextContent checks if the content type is text-based
internal/plugins/template/fetch.go:48
↓ 1 callers
Function
isURL
(value string)
internal/domain/attachment.go:171
↓ 1 callers
Function
isValidLanguageCode
isValidLanguageCode reports whether the input is an ISO 639-1 language code optionally followed by an ISO 3166-1 country code. Underscores are normali
internal/plugins/ai/gemini/gemini.go:270
↓ 1 callers
Function
isValidLocationFormat
(location string)
internal/plugins/ai/gemini/gemini.go:252
↓ 1 callers
Function
is_feature_line
Check if a line describes a feature/improvement (not a bug fix or CI/CD).
scripts/readme_updates/update_readme_features.py:143
↓ 1 callers
Method
lastNLines
lastNLines returns the last n lines from a file
internal/plugins/template/file.go:163
↓ 1 callers
Method
listModelsFromAPI
listModelsFromAPI queries the Bedrock control plane for available models.
internal/plugins/ai/bedrock/bedrock.go:458
↓ 1 callers
Function
listPublisherModels
listPublisherModels fetches models from a specific publisher via the Model Garden API
internal/plugins/ai/vertexai/models.go:81
↓ 1 callers
Function
listTranscriptionModels
listTranscriptionModels lists all available transcription models
internal/cli/listing.go:117
↓ 1 callers
Method
loadRegistry
()
internal/plugins/template/extension_registry.go:319
↓ 1 callers
Function
loadYAMLConfig
(configPath string)
internal/cli/flags.go:307
↓ 1 callers
Function
load_configuration
Load environment variables and initialize configuration.
scripts/python_ui/streamlit.py:214
↓ 1 callers
Function
load_existing_file
Load existing JSON file or return default structure
scripts/pattern_descriptions/extract_patterns.py:13
↓ 1 callers
Function
load_models_and_providers
Load models and providers from fabric configuration.
scripts/python_ui/streamlit.py:271
↓ 1 callers
Function
load_saved_outputs
Load saved pattern outputs from files. Error handling: - Handles missing output files - Handles corrupted JSON files - Handles file r
scripts/python_ui/streamlit.py:1077
↓ 1 callers
Function
main
Main function.
scripts/readme_updates/update_readme_features.py:245
↓ 1 callers
Function
main
Main function to run the Streamlit app.
scripts/python_ui/streamlit.py:1376
↓ 1 callers
Function
maskAPIKey
maskAPIKey redacts all but the last 4 characters of a secret key (CWE-200). An empty value (key not configured) is returned unchanged so the UI can di
internal/server/configuration.go:34
↓ 1 callers
Function
matchTriple
matchTriple extracts the first two required and optional third value from a token pattern of the form {{type:part1:part2(:part3)?}} returning part1, p
internal/plugins/template/template.go:44
↓ 1 callers
Function
messageTextFromParts
messageTextFromParts extracts and concatenates all text content from a message, combining both the Content field and any text parts in MultiContent.
internal/plugins/ai/anthropic/anthropic.go:424
↓ 1 callers
Function
modelDisallowsSamplingParams
(model string)
internal/plugins/ai/anthropic/anthropic.go:37
↓ 1 callers
Method
movePatterns
movePatterns copies the new patterns into the config directory
internal/tools/patterns_loader.go:172
↓ 1 callers
Function
noLangs
(args []string)
internal/tools/youtube/youtube.go:203
↓ 1 callers
Method
normalizeFileName
(name string)
internal/tools/youtube/youtube.go:709
↓ 1 callers
Function
normalizeImageMimeType
normalizeImageMimeType validates and normalizes image MIME types to those supported by the Anthropic API. Supported formats: image/jpeg, image/png, im
internal/plugins/ai/anthropic/anthropic.go:539
↓ 1 callers
Function
normalizeLineEndings
(content string)
cmd/generate_changelog/internal/changelog/generator.go:593
↓ 1 callers
Function
normalizeLocation
(location string)
internal/plugins/ai/gemini/gemini.go:260
↓ 1 callers
Function
normalize_version
Ensure version string starts with 'v'.
scripts/readme_updates/update_readme_features.py:74
↓ 1 callers
Function
oauthStatesMatch
(expected string, actual string)
internal/plugins/ai/codex/oauth.go:286
↓ 1 callers
Function
openFileDialog
(accept: string)
web/src/lib/utils/file-utils.ts:1
↓ 1 callers
Function
parseDataURL
parseDataURL parses an RFC 2397 data URL, extracting the MIME type and base64-encoded data. Only base64-encoded data URLs are supported; URL-encoded d
internal/plugins/ai/anthropic/anthropic.go:503
↓ 1 callers
Function
parseDebugLevel
(args []string)
internal/cli/flags.go:242
↓ 1 callers
Function
parseGitHubURL
(url string)
cmd/generate_changelog/internal/git/walker.go:279
↓ 1 callers
Method
parseSSEStream
parseSSEStream parses the Server-Sent Events stream from Copilot.
internal/plugins/ai/copilot/copilot.go:355
↓ 1 callers
Function
parseThinking
(level domain.ThinkingLevel)
internal/plugins/ai/anthropic/anthropic.go:151
↓ 1 callers
Function
parseThinkingConfig
(level domain.ThinkingLevel)
internal/plugins/ai/gemini/gemini.go:183
↓ 1 callers
Function
parse_args
Parse command-line arguments.
scripts/readme_updates/update_readme_features.py:36
↓ 1 callers
Function
parse_date
Parse various date formats and return formatted string.
scripts/readme_updates/update_readme_features.py:80
↓ 1 callers
Function
parse_models_output
Parse the output of fabric --listmodels command.
scripts/python_ui/streamlit.py:112
↓ 1 callers
Function
pattern_creation_ui
UI component for creating patterns with simple and wizard modes.
scripts/python_ui/streamlit.py:622
↓ 1 callers
Function
pattern_creation_wizard
Multi-step wizard for creating a new pattern.
scripts/python_ui/streamlit.py:494
↓ 1 callers
Function
pattern_editor
Edit pattern content with simple and advanced editing options.
scripts/python_ui/streamlit.py:942
↓ 1 callers
Method
performTTSGeneration
performTTSGeneration performs the actual TTS generation and audio processing
internal/plugins/ai/gemini/gemini.go:332
↓ 1 callers
Function
pick_feature
Pick the best feature line from the AI summary.
scripts/readme_updates/update_readme_features.py:222
↓ 1 callers
Function
prependSystemContentToBlocks
prependSystemContentToBlocks prepends system content to content blocks. If the first block is text, it merges the system content with it; otherwise, i
internal/plugins/ai/anthropic/anthropic.go:464
↓ 1 callers
Function
printUsage
()
cmd/code2context/main.go:92
↓ 1 callers
Method
processStream
( stream: ReadableStream<StreamResponse>, onContent: (content: string, response?: StreamResponse) => void,
web/src/lib/services/ChatService.ts:274
↓ 1 callers
Function
processYoutubeVideo
( flags *Flags, registry *core.PluginRegistry, videoId string)
internal/cli/cli.go:117
↓ 1 callers
Method
publishOAuthResult
(results chan<- oauthResult, result oauthResult)
internal/plugins/ai/codex/oauth.go:190
↓ 1 callers
Function
readAPIErrorBody
(apiErr *openaiapi.Error)
internal/plugins/ai/codex/errors.go:98
↓ 1 callers
Method
readModels
()
internal/plugins/ai/vendors.go:77
↓ 1 callers
Function
readStdin
readStdin reads from stdin and returns the input as a string or an error
internal/cli/flags.go:333
↓ 1 callers
Method
refreshAccessToken
refreshAccessToken obtains a new access token using Client Credentials flow.
internal/tools/spotify/spotify.go:91
↓ 1 callers
Method
refreshAccessToken
(ctx context.Context)
internal/plugins/ai/codex/auth_transport.go:69
↓ 1 callers
Method
refreshErrorFromResponse
(statusCode int, body []byte)
internal/plugins/ai/codex/errors.go:39
↓ 1 callers
Function
repo_root
Get the repository root directory.
scripts/readme_updates/update_readme_features.py:53
↓ 1 callers
Function
resolveInputFile
resolveInputFile attempts to open the input file. If tryAppendTex is true and the initial attempt fails, it appends ".tex" and retries.
cmd/to_pdf/main.go:39
← previous
next →
601–700 of 1,348, ranked by callers