Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielmiessler/Fabric
/ functions
Functions
1,910 in github.com/danielmiessler/Fabric
⨍
Functions
1,910
◇
Types & classes
274
Function
TestToMessages
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:292
Function
TestToMessages_Empty
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:323
Function
TestToMessages_MultiContentPDFAttachment
(t *testing.T)
internal/plugins/ai/anthropic/anthropic_test.go:300
Function
TestToMessages_SkipsUnknownRoles
(t *testing.T)
internal/plugins/ai/bedrock/bedrock_test.go:310
Function
TestTranscribeFile_FileSizeLimitErrorIsLocalized
(t *testing.T)
internal/plugins/ai/openai/openai_audio_test.go:46
Function
TestTranscribeFile_ValidationErrorsAreLocalized
(t *testing.T)
internal/plugins/ai/openai/openai_audio_test.go:15
Function
TestTranslation
(t *testing.T)
internal/i18n/i18n_test.go:10
Function
TestUnreportedSendError
(t *testing.T)
internal/server/chat_test.go:66
Function
TestUnreportedSendErrorWithEmptyChannel
An empty channel must not block the response, which the client waits for.
internal/server/chat_test.go:129
Function
TestUpdateConfig_KeepsOtherKeys
An update of one key keeps the keys that the config form does not know.
internal/server/configuration_test.go:37
Function
TestUpdateConfig_RejectsLineBreakInValue
A value with a newline, a carriage return or a NUL gets 400, and the file does not change.
internal/server/configuration_test.go:69
Function
TestUpdateConfig_SkipsBlankValue
A value of only spaces changes neither the .env file nor the process environment.
internal/server/configuration_test.go:99
Function
TestValidate
(t *testing.T)
internal/cli/workflow_test.go:110
Function
TestValidateImageFile
(t *testing.T)
internal/cli/flags_test.go:264
Function
TestValidateImageParameters
(t *testing.T)
internal/cli/flags_test.go:350
Function
TestValidatePromptExportFlags
(t *testing.T)
internal/cli/prompt_export_test.go:160
Function
TestVendorsManager_GetModelsConcurrent
TestVendorsManager_GetModelsConcurrent calls GetModels from 8 goroutines at the same time. Run it with -race. Without modelsMu, the race detector find
internal/plugins/ai/vendors_race_test.go:37
Function
TestVertexAIAuthHeader
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:328
Function
TestVertexAIBuildEndpoint
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:319
Function
TestVertexAIListModels
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:339
Function
TestVertexAIParseResponse
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:435
Function
TestVertexAIParseResponseNoCandidates
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:447
Function
TestVertexAIPrepareRequestAssistantRole
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:406
Function
TestVertexAIPrepareRequestSystemMessages
(t *testing.T)
internal/plugins/ai/azureaigateway/azureaigateway_test.go:364
Function
TestVisualCueRange_UsesActualFrameTimes
(t *testing.T)
internal/tools/youtube/timestamp_test.go:114
Function
TestWriteFileAtomic_Errors
writeFileAtomic gives the error of a failed create or rename, and it removes its temporary file.
internal/plugins/db/fsdb/db_test.go:210
Function
TestYouTubeTranscript
(t *testing.T)
internal/server/youtube_test.go:32
Function
TestYtDlpLangArgs
(t *testing.T)
internal/tools/youtube/youtube_test.go:167
Method
Transcript
Transcript godoc @Summary Get YouTube video transcript @Description Retrieves the transcript of a YouTube video along with video metadata (title and d
internal/server/youtube.go:48
Method
Unwrap
()
internal/domain/stream.go:34
Method
UpdateConfig
(c *gin.Context)
internal/server/configuration.go:104
Function
allowAnyAddress
(string, string, syscall.RawConn)
internal/util/httpclient_test.go:112
Function
auditChange
auditChange writes a structured log event after a request that changes a stored object or the configuration. The event has no body and no credentials.
internal/server/auth.go:169
Function
bulk_edit_patterns
Perform bulk edits on multiple patterns.
scripts/python_ui/streamlit.py:574
Method
cancel
()
web/src/lib/services/ChatService.ts:202
Method
cleanPatternOutput
* Clean up pattern output for display. Should only be called on complete/accumulated content, * never on individual streaming tokens (which have lea
web/src/lib/services/ChatService.ts:92
Function
clickOutside
(node: HTMLElement, handler: () => void)
web/src/lib/actions/clickOutside.ts:1
Function
cn
(...inputs: ClassValue[])
web/src/lib/utils/utils.ts:4
Method
configure
()
internal/tools/patterns_loader.go:60
Method
configure
()
internal/tools/lang/language.go:32
Method
configure
()
internal/plugins/strategy/strategy.go:174
Method
configure
configure sets up the HTTP client.
internal/plugins/ai/lmstudio/lmstudio.go:49
Method
configure
configure validates the region and builds the runtime and control plane clients. Credential priority: 1. API key (ABSK): dummy static credentials plu
internal/plugins/ai/bedrock/bedrock.go:359
Method
configure
configure initializes the client with OAuth2 configuration.
internal/plugins/ai/copilot/copilot.go:103
Method
configure
()
internal/plugins/ai/vertexai/vertexai.go:69
Method
constructor
( private readonly count: number, private readonly baseSize: number, private readonly speed: numbe
web/src/lib/components/ui/connections/ParticleSystem.ts:13
Method
constructor
(private targetLanguage: string)
web/src/lib/services/ChatService.ts:20
Method
constructor
( message: string, public readonly code: string = "CHAT_ERROR", public readonly details?: unknown, )
web/src/lib/services/ChatService.ts:29
Method
constructor
()
web/src/lib/services/ChatService.ts:42
Method
constructor
()
web/src/lib/services/PdfConversionService.test.ts:104
Function
createParticleGradient
( ctx: CanvasRenderingContext2D, x: number, y: number, size: number, color: string )
web/src/lib/components/ui/connections/canvas.ts:1
Function
defaultModelsCacheDir
()
internal/plugins/ai/openai/models_cache.go:21
Function
destroy
()
web/src/lib/actions/clickOutside.ts:11
Function
exists
(name: string)
web/src/lib/api/base.ts:79
Function
exportToFile
(messages: Message[])
web/src/lib/store/session-store.ts:63
Function
fetchStrategies
()
web/src/lib/store/strategy-store.ts:19
Function
get
()
web/src/lib/api/config.ts:13
Function
getAvailable
()
web/src/lib/api/models.ts:5
Function
getAvailable
()
web/src/lib/api/contexts.ts:5
Function
getNames
()
web/src/lib/api/base.ts:68
Function
getObsidianFilePath
(noteName: string)
web/src/lib/store/obsidian-store.ts:51
Method
getParticles
()
web/src/lib/components/ui/connections/ParticleSystem.ts:98
Function
getTranscript
(url: string)
web/src/lib/services/transcriptService.ts:15
Function
handleClick
(event: MouseEvent)
web/src/lib/actions/clickOutside.ts:2
Function
importFromFile
()
web/src/lib/store/session-store.ts:73
Function
info
(message: string)
web/src/lib/services/toast-service.ts:14
Function
init
seconds
internal/tools/youtube/youtube.go:52
Function
init
()
internal/plugins/template/template.go:24
Function
init
()
cmd/generate_changelog/main.go:30
Function
initializeConfig
()
web/src/lib/store/model-store.ts:48
Function
load
({ params })
web/src/routes/tags/[tag]/+page.ts:4
Function
load
()
web/src/routes/posts/+page.ts:8
Function
load
({ params })
web/src/routes/posts/[slug]/+page.ts:7
Function
loadAvailableModels
()
web/src/lib/store/model-store.ts:30
Function
loadPatterns
()
web/src/lib/store/pattern-store.ts:39
Function
loadSessionMessages
(sessionName: string)
web/src/lib/store/session-store.ts:93
Function
loadSessions
()
web/src/lib/store/session-store.ts:13
Function
lockExclusive
(f *os.File)
internal/plugins/db/fsdb/env_lock_windows.go:11
Function
main
()
cmd/code2context/main.go:11
Function
main
()
cmd/fabric/main.go:12
Function
main
()
cmd/to_pdf/main.go:43
Function
main
()
cmd/generate_changelog/main.go:105
Method
ollamaChat
(c *gin.Context)
internal/server/ollama.go:282
Method
ollamaTags
(c *gin.Context)
internal/server/ollama.go:251
Function
openBrowser
(targetURL string)
internal/plugins/ai/codex/oauth.go:292
Function
pattern_management_ui
UI component for pattern management.
scripts/python_ui/streamlit.py:661
Method
processResponse
(response: StreamResponse)
web/src/lib/services/ChatService.ts:114
Method
readAndCleanVTTFile
(filename string)
internal/tools/youtube/youtube.go:295
Method
readAndFormatVTTWithTimestamps
(filename string)
internal/tools/youtube/youtube.go:330
Function
readFileAsJson
(file: File)
web/src/lib/utils/file-utils.ts:16
Function
rename
(oldName: string, newName: string)
web/src/lib/api/base.ts:85
Function
requireJSON
requireJSON answers 415 when the Content-Type of a request is not application/json. Put it in front of each handler that reads a JSON body. gin reads
internal/server/loopback_guard.go:137
Function
resetConfig
()
web/src/lib/store/chat-config.ts:20
Function
resetObsidianSettings
()
web/src/lib/store/obsidian-store.ts:44
Function
revertLastMessage
()
web/src/lib/store/chat-store.ts:67
Function
save
(name: string, content: string | object)
web/src/lib/api/base.ts:90
Function
selectPattern
(patternName: string)
web/src/lib/store/pattern-store.ts:93
Function
selectSession
(sessionName: string)
web/src/lib/store/session-store.ts:53
Function
sendMessage
( content: string, systemPromptText?: string, isSystem: boolean = false, )
web/src/lib/store/chat-store.ts:71
Function
setSession
(sessionName: string | null)
web/src/lib/store/chat-store.ts:52
← previous
next →
1,801–1,900 of 1,910, ranked by callers