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
UpdateReleaseDescription
(version string)
cmd/generate_changelog/internal/release.go:74
↓ 1 callers
Method
UpdateVersionAISummary
UpdateVersionAISummary updates only the AI summary for a specific version
cmd/generate_changelog/internal/cache/cache.go:126
↓ 1 callers
Method
VersionExists
VersionExists checks if a version already exists in the cache
cmd/generate_changelog/internal/cache/cache.go:281
↓ 1 callers
Method
WalkHistorySinceTag
WalkHistorySinceTag walks git history from HEAD down to (but not including) the specified tag and returns any version commits found along the way
cmd/generate_changelog/internal/git/walker.go:298
↓ 1 callers
Method
WriteHelp
WriteHelp writes the help output with translated flag descriptions
internal/cli/help.go:115
↓ 1 callers
Function
WriteOutput
(message string, outputFile string)
internal/cli/cli.go:179
↓ 1 callers
Method
WriteOutput
(message string)
internal/cli/flags.go:558
↓ 1 callers
Method
applyInput
(pattern *Pattern, input string)
internal/plugins/db/fsdb/patterns.go:93
↓ 1 callers
Function
assignWithConversion
(targetField, sourceField reflect.Value)
internal/cli/flags.go:274
↓ 1 callers
Method
buildFileName
(name string)
internal/plugins/db/fsdb/storage.go:133
↓ 1 callers
Function
buildFinalOllamaResponse
buildFinalOllamaResponse constructs the final OllamaResponse with timing metrics and the complete message content. Used for both streaming and non-str
internal/server/ollama.go:469
↓ 1 callers
Function
build_item
Build a markdown list item for a release.
scripts/readme_updates/update_readme_features.py:237
↓ 1 callers
Function
calculateTooltipPosition
( rect: DOMRect, position: TooltipPosition, gap: number = TOOLTIP_GAP )
web/src/lib/components/ui/tooltip/positioning.ts:10
↓ 1 callers
Function
calculateVersionDate
calculateVersionDate determines the version date based on the most recent commit date from the provided PRs. If no valid commit dates are found, the
cmd/generate_changelog/internal/changelog/processing.go:59
↓ 1 callers
Function
captureOutput
captureOutput captures the output of a function call
internal/plugins/plugin_test.go:276
↓ 1 callers
Function
clearMessages
()
web/src/lib/store/chat-store.ts:66
↓ 1 callers
Function
cloneRequest
(req *http.Request)
internal/plugins/ai/codex/auth_transport.go:179
↓ 1 callers
Function
codexClientVersion
()
internal/plugins/ai/codex/token.go:77
↓ 1 callers
Function
codexInstructionsAndMessages
( msgs []*chat.ChatCompletionMessage, )
internal/plugins/ai/codex/codex.go:319
↓ 1 callers
Function
codexMessageText
(msg chat.ChatCompletionMessage)
internal/plugins/ai/codex/codex.go:346
↓ 1 callers
Method
collectData
()
cmd/generate_changelog/internal/changelog/generator.go:75
↓ 1 callers
Method
commitAndPushIncoming
commitAndPushIncoming commits and optionally pushes the incoming changelog file
cmd/generate_changelog/internal/changelog/processing.go:425
↓ 1 callers
Method
configure
()
internal/plugins/ai/anthropic/anthropic.go:134
↓ 1 callers
Method
configure
()
internal/plugins/ai/azure_entra/azure_entra.go:41
↓ 1 callers
Function
configureOpenAIResponsesAPI
configureOpenAIResponsesAPI configures the OpenAI client's Responses API setting based on the CLI flag
internal/cli/cli.go:188
↓ 1 callers
Function
connect
Connect to the SQLite database.
scripts/readme_updates/update_readme_features.py:66
↓ 1 callers
Function
contentBlockFromAttachmentURL
contentBlockFromAttachmentURL converts an attachment URL into an Anthropic content block. For data URLs, it parses the MIME type and base64 data to cr
internal/plugins/ai/anthropic/anthropic.go:479
↓ 1 callers
Function
contentBlocksFromMessage
contentBlocksFromMessage converts a chat message into Anthropic content blocks, handling text content, image URLs (both data URLs and remote URLs), an
internal/plugins/ai/anthropic/anthropic.go:439
↓ 1 callers
Method
convertChatMessage
convertChatMessage converts fabric chat message to OpenAI chat completion message
internal/plugins/ai/openai/chat_completions.go:116
↓ 1 callers
Method
convertGitHubPR
convertGitHubPR transforms GitHub API data into our internal PR struct (pure function)
cmd/generate_changelog/internal/github/client.go:167
↓ 1 callers
Function
convertMessage
(msg chat.ChatCompletionMessage)
internal/plugins/ai/openai/openai.go:362
↓ 1 callers
Method
convertMessage
(ctx context.Context, message *chat.ChatCompletionMessage)
internal/plugins/ai/ollama/ollama.go:206
↓ 1 callers
Function
copyFile
(src, dst string)
internal/tools/githelper/githelper.go:175
↓ 1 callers
Function
copyFile
copyFile copies a file from src to dst. If dst exists, it will be overwritten.
cmd/to_pdf/main.go:194
↓ 1 callers
Method
createChatPrompt
( userInput: string, systemPromptText?: string, )
web/src/lib/services/ChatService.ts:205
↓ 1 callers
Function
createFavoritesStore
()
web/src/lib/store/favorites-store.ts:9
↓ 1 callers
Function
createFrontmatter
(content: string)
web/src/lib/store/note-store.ts:18
↓ 1 callers
Method
createGenaiClient
createGenaiClient creates a new GenAI client for TTS operations
internal/plugins/ai/gemini/gemini.go:303
↓ 1 callers
Method
createMessageStream
( reader: ReadableStreamDefaultReader<Uint8Array>, )
web/src/lib/services/ChatService.ts:110
↓ 1 callers
Function
createNoteStore
()
web/src/lib/store/note-store.ts:11
↓ 1 callers
Method
createTables
()
cmd/generate_changelog/internal/cache/cache.go:37
↓ 1 callers
Function
createThemeStore
()
web/src/lib/store/theme-store.ts:18
↓ 1 callers
Function
createToastStore
()
web/src/lib/store/toast-store.ts:9
↓ 1 callers
Method
createUniquePatternsFile
createUniquePatternsFile creates the unique_patterns.txt file with all pattern names
internal/tools/patterns_loader.go:317
↓ 1 callers
Function
db_path
Determine the database path.
scripts/readme_updates/update_readme_features.py:59
↓ 1 callers
Function
decodeHtmlEntities
(text: string)
web/src/lib/services/transcriptService.ts:9
↓ 1 callers
Function
delete_pattern
Delete an existing pattern.
scripts/python_ui/streamlit.py:478
↓ 1 callers
Function
detectError
(ytOutput io.Reader)
internal/tools/youtube/youtube.go:179
↓ 1 callers
Function
detectFormat
(content string)
internal/server/chat.go:218
↓ 1 callers
Function
detectLanguageFromArgs
detectLanguageFromArgs looks for --language/-g flag in os.Args
internal/cli/help.go:181
↓ 1 callers
Function
detectLanguageFromEnv
detectLanguageFromEnv detects language from environment variables
internal/cli/help.go:202
↓ 1 callers
Function
detectMimeTypeFromFile
(path string)
internal/domain/attachment.go:163
↓ 1 callers
Function
detectMimeTypeFromURL
(url string)
internal/domain/attachment.go:150
↓ 1 callers
Method
detectVersion
detectVersion detects the current version from version.nix or git tags
cmd/generate_changelog/internal/changelog/processing.go:456
↓ 1 callers
Function
downloadLocale
(path, locale string)
internal/i18n/i18n.go:124
↓ 1 callers
Function
drainAndClose
(body io.ReadCloser)
internal/plugins/ai/codex/auth_transport.go:197
↓ 1 callers
Method
enforceLanguage
(content: string)
web/src/lib/services/ChatService.ts:22
↓ 1 callers
Function
enhance_input_preview
Display a preview of the input content with basic statistics. Shows: - Input text preview - Character count - Word count
scripts/python_ui/streamlit.py:1228
↓ 1 callers
Method
ensureConfigDir
()
internal/plugins/template/extension_registry.go:99
↓ 1 callers
Function
ensureEnvFile
ensureEnvFile checks for the default ~/.config/fabric/.env file and creates it along with the parent directory if it does not exist.
internal/cli/initialization.go:37
↓ 1 callers
Function
ensureI18nInitialized
ensureI18nInitialized initializes the i18n system if not already done
internal/cli/help.go:168
↓ 1 callers
Method
ensureInitialized
()
web/src/lib/services/PdfConversionService.ts:8
↓ 1 callers
Method
exchangeCodeForTokens
( ctx context.Context, callbackURL string, pkce pkceCodes, code string, )
internal/plugins/ai/codex/oauth.go:197
↓ 1 callers
Method
executeStdout
executeStdout runs the command and captures its stdout
internal/plugins/template/extension_executor.go:96
↓ 1 callers
Method
executeWithFile
executeWithFile runs the command and handles file-based output
internal/plugins/template/extension_executor.go:113
↓ 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
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:48
← previous
next →
501–600 of 1,348, ranked by callers