Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,885 in github.com/danielmiessler/Fabric
⨍
Functions
1,885
◇
Types & classes
270
↓ 3 callers
Function
requireAPIKeyForBind
requireAPIKeyForBind rejects a non-loopback bind address that has no API key. An empty or unspecified host binds each interface, and that counts as no
internal/server/auth.go:104
↓ 3 callers
Method
runOAuthFlow
( ctx context.Context, openBrowserFn func(string) error, )
internal/plugins/ai/codex/oauth.go:53
↓ 3 callers
Method
setSettingValue
(setting *plugins.Setting, value string)
internal/plugins/ai/codex/auth_transport.go:170
↓ 3 callers
Function
streamGemini
(t *testing.T, dataLines ...string)
internal/plugins/ai/gemini/gemini_stream_test.go:36
↓ 3 callers
Function
streamMessage
streamMessage encodes one event of a ConverseStream response.
internal/plugins/ai/bedrock/bedrock_stream_test.go:24
↓ 3 callers
Method
toMessages
(msgs []*chat.ChatCompletionMessage)
internal/plugins/ai/anthropic/anthropic.go:471
↓ 3 callers
Function
unreportedSendError
unreportedSendError reads the error that Send returned and makes the response that tells the client about it. The second result is false when there is
internal/server/chat.go:232
↓ 3 callers
Function
withProviderErrorMessage
withProviderErrorMessage adds the provider message and code to an API error. In v3, the SDK error text has only the HTTP status.
internal/plugins/ai/openai/openai.go:245
↓ 3 callers
Function
withTestExtension
withTestExtension creates a temporary test extension and runs the test function
internal/plugins/template/template_sentinel_test.go:12
↓ 3 callers
Function
writeAgedCache
(t *testing.T, dir, provider, fullURL string, models []string, age time.Duration)
internal/plugins/ai/openai/models_cache_test.go:33
↓ 3 callers
Function
youtubeVideoId
(url: unknown)
web/src/lib/utils/validators.ts:8
↓ 2 callers
Method
AddFile
AddFile adds a file to the git index Uses native git CLI instead of go-git to properly handle worktree scenarios
cmd/generate_changelog/internal/git/walker.go:450
↓ 2 callers
Method
AppendMessage
(message string)
internal/cli/flags.go:518
↓ 2 callers
Method
Apply
Apply executes file operations: - read:PATH - Read entire file content - tail:PATH|N - Read last N lines - exists:PATH - Check if file exists - size:P
internal/plugins/template/file.go:85
↓ 2 callers
Method
ApplyEnvUpdates
ApplyEnvUpdates writes non-empty updates atomically. Callers holding WithEnvLock use this.
internal/plugins/db/fsdb/db.go:152
↓ 2 callers
Function
ApplyTemplateInput
ApplyTemplateInput replaces the variables in user input. A plugin or extension token in the input stays as literal text, and the plugin or extension d
internal/plugins/template/template.go:88
↓ 2 callers
Method
BuildChatRequest
(Meta string)
internal/cli/flags.go:451
↓ 2 callers
Method
BuildEndpoint
BuildEndpoint constructs the Bedrock API endpoint URL
internal/plugins/ai/azureaigateway/backend_bedrock.go:51
↓ 2 callers
Function
CORSMiddleware
CORSMiddleware lets browser clients on the listed origins call the server. The origin "*" allows each origin: the response copies the request Origin,
internal/server/cors.go:37
↓ 2 callers
Function
Cli
Cli Controls the cli. It takes in the flags and runs the appropriate functions
internal/cli/cli.go:17
↓ 2 callers
Method
ContainsItemBy
(predicate func(item I) bool)
internal/util/groups_items.go:30
↓ 2 callers
Method
Error
()
internal/util/httpclient.go:45
↓ 2 callers
Function
ExtractFencedCodeBlock
ExtractFencedCodeBlock returns the content of the first (or, if last is true, the last) Markdown fenced code block in text, without the fence lines.
internal/domain/codeblock.go:13
↓ 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:355
↓ 2 callers
Function
GetGeminiVoiceNames
GetGeminiVoiceNames returns just the voice names in alphabetical order
internal/plugins/ai/gemini/voices.go:60
↓ 2 callers
Method
GetModels
()
internal/core/plugin_registry.go:514
↓ 2 callers
Method
GetName
()
internal/plugins/plugin.go:39
↓ 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:70
↓ 2 callers
Method
GetPRWithCommits
GetPRWithCommits fetches the full PR and its commits.
cmd/generate_changelog/internal/github/client.go:121
↓ 2 callers
Method
GetRaw
GetRaw returns a pattern from storage without applying variable processing.
internal/plugins/db/fsdb/patterns.go:63
↓ 2 callers
Method
GetShowOrEpisodeId
GetShowOrEpisodeId extracts show or episode ID from a Spotify URL.
internal/tools/spotify/spotify.go:169
↓ 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
GetWithNotice
(name string, announceNewSession bool)
internal/plugins/db/fsdb/sessions.go:77
↓ 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:52
↓ 2 callers
Method
GrabComments
(videoId string)
internal/tools/youtube/youtube.go:510
↓ 2 callers
Method
GrabDuration
(videoId string)
internal/tools/youtube/youtube.go:548
↓ 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:162
↓ 2 callers
Method
GrabTranscriptWithTimestamps
GrabTranscriptWithTimestamps retrieves the transcript with timestamps for the specified video ID using yt-dlp and the arguments in the YtDlpArgs field
internal/tools/youtube/youtube.go:171
↓ 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:180
↓ 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
Function
IsAudioFormat
IsAudioFormat checks if the filename suggests an audio format
internal/cli/output.go:66
↓ 2 callers
Method
IsAvailable
IsAvailable checks if notifications are available
internal/tools/notifications/notifications.go:53
↓ 2 callers
Method
IsCleanupEnabled
()
internal/plugins/template/extension_registry.go:69
↓ 2 callers
Method
IsConfigured
IsConfigured reports whether an API key is set; the key is optional during setup.
internal/tools/sofya/sofya.go:46
↓ 2 callers
Method
IsDefined
()
internal/plugins/plugin.go:300
↓ 2 callers
Method
IsValidErr
()
internal/plugins/plugin.go:293
↓ 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:261
↓ 2 callers
Method
LoadAsJson
(name string, item any)
internal/plugins/db/fsdb/storage.go:328
↓ 2 callers
Function
LoopbackSecurityMiddleware
LoopbackSecurityMiddleware examines the requests to a server that has no API key. Serve and ServeOllama use it only when there is no key, because then
internal/server/loopback_guard.go:55
↓ 2 callers
Function
MaxBodyBytesMiddleware
50 MiB MaxBodyBytesMiddleware stops a request body at limit bytes. When Content-Length is more than limit, it answers 413 before the handler runs. The
internal/server/bodylimit.go:28
↓ 2 callers
Function
NeeDefaults
(getVendorsModels func() (*ai.VendorsModels, error))
internal/tools/defaults.go:14
↓ 2 callers
Method
NeedsRawMode
NeedsRawMode tells if the vendor needs raw mode for the model. It tests o.model, not opts.Model. GetChatter sets o.model to the vendor's spelling of t
internal/core/chatter.go:68
↓ 2 callers
Function
New
(dbPath string)
cmd/generate_changelog/internal/cache/cache.go:19
↓ 2 callers
Function
NewChatter
NewChatter returns a Chatter without a vendor, for BuildSession only. Use GetChatter to get a Chatter that can Send.
internal/core/chatter.go:36
↓ 2 callers
Function
NewClient
()
internal/tools/keenable/keenable.go:62
↓ 2 callers
Function
NewClient
()
internal/plugins/ai/gemini/gemini.go:48
↓ 2 callers
Function
NewClient
()
internal/plugins/ai/ollama/ollama.go:28
↓ 2 callers
Function
NewClient
()
internal/plugins/ai/claudecode/claudecode.go:32
↓ 2 callers
Function
NewClient
()
internal/plugins/ai/exolab/exolab.go:13
↓ 2 callers
Function
NewClient
NewClient creates a new Microsoft 365 Copilot client.
internal/plugins/ai/copilot/copilot.go:51
↓ 2 callers
Function
NewClient
()
internal/plugins/ai/digitalocean/digitalocean.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:47
↓ 2 callers
Function
NewClientCompatible
NewClientCompatible creates a new LM Studio client with custom configuration.
internal/plugins/ai/lmstudio/lmstudio.go:27
↓ 2 callers
Function
NewModelsHandler
(r *gin.Engine, vendorManager *ai.VendorsManager)
internal/server/models.go:12
↓ 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:57
↓ 2 callers
Function
ParseFileChanges
ParseFileChanges extracts and parses the file change marker section from LLM output
internal/domain/file_manager.go:31
↓ 2 callers
Method
ParseResponse
ParseResponse parses Gemini API response (candidates/content/parts)
internal/plugins/ai/azureaigateway/backend_vertex_ai.go:111
↓ 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
PrepareRequest
PrepareRequest prepares the HTTP request body for this backend's API format
internal/plugins/ai/azureaigateway/azureaigateway.go:50
↓ 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:55
↓ 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:173
↓ 2 callers
Method
PrintSession
(name string)
internal/plugins/db/fsdb/sessions.go:94
↓ 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
ReadEnvFile
()
internal/plugins/db/fsdb/db.go:115
↓ 2 callers
Function
SamplingOptions
SamplingOptions returns the request options that send top_p or temperature on a Claude request, as the model allows. Models that accept them get one o
internal/plugins/ai/anthropic/anthropic.go:69
↓ 2 callers
Method
SavePRBatch
SavePRBatch saves multiple PRs in a single transaction for better performance
cmd/generate_changelog/internal/cache/cache.go:323
↓ 2 callers
Method
Search
Search returns the Google results for query as markdown, one section per result.
internal/tools/serply/serply.go:58
↓ 2 callers
Method
SearchShows
SearchShows searches for podcasts/shows matching the query.
internal/tools/spotify/spotify.go:329
↓ 2 callers
Function
SecurityHeadersMiddleware
SecurityHeadersMiddleware sets the response headers that each route shares. X-Content-Type-Options stops a browser from guessing a content type for a
internal/server/headers.go:13
↓ 2 callers
Method
Send
Send sends a request to Codex and returns the final text output.
internal/plugins/ai/codex/codex.go:260
↓ 2 callers
Method
SendStream
(ctx context.Context, msgs []*chat.ChatCompletionMessage, opts *domain.ChatOptions, channel chan domain.Stream
internal/plugins/ai/ollama/ollama.go:222
↓ 2 callers
Method
SendStream
SendStream sends a request to Codex and streams the response text updates.
internal/plugins/ai/codex/codex.go:303
↓ 2 callers
Method
SendStream
SendStream falls back to non-streaming (APIM gateway doesn't support SSE pass-through).
internal/plugins/ai/azureaigateway/azureaigateway.go:201
↓ 2 callers
Function
Serve
@title Fabric REST API @version 1.0 @description REST API for Fabric AI augmentation framework. Provides endpoints for chat completions, pattern manag
internal/server/serve.go:30
↓ 2 callers
Function
ServeOllama
ServeOllama operates the Ollama-compatible API server on address. An empty apiKey sets authentication to off. This is permitted only for loopback bind
internal/server/ollama.go:210
↓ 2 callers
Method
SetLastPRSync
SetLastPRSync updates the timestamp of the last PR sync
cmd/generate_changelog/internal/cache/cache.go:314
↓ 2 callers
Method
Setup
()
internal/plugins/plugin.go:117
↓ 2 callers
Method
SetupFillEnvFileContent
(*bytes.Buffer)
internal/plugins/plugin.go:25
↓ 2 callers
Function
SplitOpenEscape
SplitOpenEscape divides streamed text before an escape sequence at its end that is not complete. Print SanitizeTerminalOutput(done), and put rest in f
internal/domain/terminal.go:22
↓ 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
(ctx context.Context, filePath, model string, split bool)
internal/cli/transcribe.go:13
↓ 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:50
↓ 2 callers
Method
Validate
Validate performs all pre-flight checks on a workflow: - at least one step is defined - every step has a non-empty pattern name - no pattern appears t
internal/cli/workflow.go:74
↓ 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:162
← previous
next →
301–400 of 1,885, ranked by callers