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
↓ 1 callers
Method
executeWithFile
executeWithFile runs the command and handles file-based output
internal/plugins/template/extension_executor.go:125
↓ 1 callers
Function
execute_pattern_chain
Execute a sequence of patterns in a chain, passing output from each to the next. Args: patterns_sequence: List of pattern names to execut
scripts/python_ui/streamlit.py:1141
↓ 1 callers
Function
execute_patterns
Execute the selected patterns and capture their outputs.
scripts/python_ui/streamlit.py:799
↓ 1 callers
Method
extractAndSaveImages
extractAndSaveImages extracts generated images from the response and saves them
internal/plugins/ai/openai/openai_image.go:106
↓ 1 callers
Method
extractChanges
(pr *github.PR)
cmd/generate_changelog/internal/changelog/generator.go:565
↓ 1 callers
Function
extractErrorCode
(body []byte)
internal/plugins/ai/codex/errors.go:145
↓ 1 callers
Function
extractExpiryFromJWT
(jwt string)
internal/plugins/ai/codex/token.go:39
↓ 1 callers
Function
extractModelIDs
(models []modelResponse)
internal/plugins/ai/openai/direct_models.go:160
↓ 1 callers
Method
extractTextForTTS
extractTextForTTS extracts text content from chat messages for TTS generation
internal/plugins/ai/gemini/gemini.go:293
↓ 1 callers
Function
extract_pattern_info
Extract pattern information from the patterns directory
scripts/pattern_descriptions/extract_patterns.py:35
↓ 1 callers
Function
extract_title_desc
Extract title and description from a feature line.
scripts/readme_updates/update_readme_features.py:160
↓ 1 callers
Method
fetchAbacusModels
()
internal/plugins/ai/openai_compatible/providers_config.go:89
↓ 1 callers
Function
fetchFilesViaGitCLI
fetchFilesViaGitCLI clones a repo using the git CLI binary and extracts files. This serves as a fallback when go-git fails (e.g., DNS resolution issue
internal/tools/githelper/githelper.go:127
↓ 1 callers
Function
fetchFilesViaGoGit
fetchFilesViaGoGit clones a repo in memory using go-git and extracts files.
internal/tools/githelper/githelper.go:61
↓ 1 callers
Method
fetchModelsFromControlPlane
(ctx context.Context)
internal/plugins/ai/digitalocean/digitalocean.go:69
↓ 1 callers
Function
fetchModelsPage
fetchModelsPage makes a single API request and returns the parsed response. Extracted to ensure proper cleanup of HTTP response bodies in pagination l
internal/plugins/ai/vertexai/models.go:41
↓ 1 callers
Method
fetchVendorModels
( ctx context.Context, wg *sync.WaitGroup, vendor Vendor, resultsChan chan<- modelResult)
internal/plugins/ai/vendors.go:115
↓ 1 callers
Method
findVTTFilesWithFallback
findVTTFilesWithFallback searches for VTT files, handling fallback scenarios where the requested language might not be available
internal/tools/youtube/youtube.go:716
↓ 1 callers
Function
fixFormatting
(message string)
cmd/generate_changelog/internal/changelog/generator.go:625
↓ 1 callers
Function
fixInvalidEscapes
fixInvalidEscapes replaces invalid escape sequences in JSON strings
internal/domain/file_manager.go:111
↓ 1 callers
Method
formatChangelog
()
cmd/generate_changelog/internal/changelog/generator.go:282
↓ 1 callers
Method
formatCommand
formatCommand uses fabric's template system to format the command It creates a variables map for the template system using the input values
internal/plugins/template/extension_executor.go:74
↓ 1 callers
Function
formatDateOnly
(dateStr: string)
web/src/routes/posts/[slug]/+page.ts:16
↓ 1 callers
Function
formatErrorMessage
(error: unknown)
web/src/lib/utils/error-message.ts:9
↓ 1 callers
Method
formatMessages
(msgs []*chat.ChatCompletionMessage)
internal/plugins/ai/dryrun/dryrun.go:50
↓ 1 callers
Method
formatMultiContentMessage
(msg *chat.ChatCompletionMessage)
internal/plugins/ai/dryrun/dryrun.go:29
↓ 1 callers
Method
formatOptions
(opts *domain.ChatOptions)
internal/plugins/ai/dryrun/dryrun.go:69
↓ 1 callers
Function
formatPositionStyle
(position: Position)
web/src/lib/components/ui/tooltip/positioning.ts:25
↓ 1 callers
Function
formatVTTTimestamp
(vttTime string)
internal/tools/youtube/youtube.go:409
↓ 1 callers
Method
formatVersion
(version *git.Version)
cmd/generate_changelog/internal/changelog/generator.go:334
↓ 1 callers
Method
formatVersionHeader
formatVersionHeader formats just the version header (## ...)
cmd/generate_changelog/internal/changelog/generator.go:430
↓ 1 callers
Function
generatePKCECodes
()
internal/plugins/ai/codex/oauth.go:265
↓ 1 callers
Method
generateRawVersionContent
generateRawVersionContent generates the raw content (PRs + commits) for a version
cmd/generate_changelog/internal/changelog/generator.go:438
↓ 1 callers
Method
generateTTSAudio
generateTTSAudio handles TTS audio generation using the new SDK
internal/plugins/ai/gemini/gemini.go:311
↓ 1 callers
Function
generateUniqueFilename
()
web/src/lib/store/note-store.ts:38
↓ 1 callers
Function
generate_words
(count)
internal/plugins/template/Examples/word-generator.py:14
↓ 1 callers
Method
getAllModelNames
(vendorsModels *ai.VendorsModels)
internal/server/models.go:59
↓ 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:201
↓ 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:145
↓ 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:130
↓ 1 callers
Method
getWorker
()
web/src/lib/services/PdfConversionService.ts:52
↓ 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:195
↓ 1 callers
Method
handleRelative
(now time.Time, value string)
internal/plugins/template/datetime.go:104
↓ 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
Function
init
()
docs/docs.go:568
↓ 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:203
↓ 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:566
↓ 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
lockExclusive
(f *os.File)
internal/plugins/db/fsdb/env_lock_unix.go:12
↓ 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
← previous
next →
601–700 of 1,442, ranked by callers