Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rusq/slackdump
/ functions
Functions
4,254 in github.com/rusq/slackdump
⨍
Functions
4,254
◇
Types & classes
939
↓ 1 callers
Method
channelsFull
(_ context.Context, csv *csv.Writer, u []slack.User, chans []slack.Channel)
internal/format/csv.go:107
↓ 1 callers
Method
channelsFull
(_ context.Context, w io.Writer, u []slack.User, cc []slack.Channel)
internal/format/text.go:195
↓ 1 callers
Function
chooseBrowser
(ctx context.Context)
auth/auth_ui/huh.go:205
↓ 1 callers
Function
chunk2db
chunk2db converts the chunk source to the database format, it creates the database in the directory dir.
cmd/slackdump/internal/convertcmd/to_database.go:84
↓ 1 callers
Function
chunksJSONL
chunksJSONL returns a reader for the b []byte, which assumed to be a gzip-compressed bytes slice. It panics on error.
internal/fixtures/chunk.go:36
↓ 1 callers
Function
clearConnectionError
()
internal/viewer/static/viewer.js:63
↓ 1 callers
Function
clearErrorAfter
(t time.Duration)
cmd/slackdump/internal/ui/filepicker.go:49
↓ 1 callers
Method
client
client returns the appropriate client from playwright.Playwright.
auth/browser/browser.go:82
↓ 1 callers
Function
closeSidePanel
()
internal/viewer/static/viewer.js:25
↓ 1 callers
Function
cn
(t,n,r)
internal/viewer/static/htmx.min.js:1
↓ 1 callers
Function
collectAll
collectAll collects all file from the directory and calls callback function fn for each file.
internal/chunk/directory.go:159
↓ 1 callers
Function
collectWorker
(fileC <-chan collectedFile, resultsC chan<- resultt[T], fn func(string, *File) ([]T, error))
internal/chunk/directory.go:210
↓ 1 callers
Function
convert
convert is a simple single-threaded conversion function, that, given a source and a target, converts the source data to the target format.
internal/convert/convert.go:131
↓ 1 callers
Function
convertChannels
(ctx context.Context, dps *dirproc.Search, filename string, chans map[string]struct{})
cmd/slackdump/internal/diag/search.go:219
↓ 1 callers
Function
convertCookies
(pwc []playwright.Cookie)
auth/browser/client.go:199
↓ 1 callers
Function
convertFile
(ctx context.Context, erc chunk.Encoder, path string, outputDir string, ignoreCopyErr bool)
cmd/slackdump/internal/diag/v1.go:118
↓ 1 callers
Function
convertUsers
(ctx context.Context, dpu *dirproc.Users, filename string)
cmd/slackdump/internal/diag/search.go:240
↓ 1 callers
Function
copyAvatars
copyAvatars copies avatars for all users from avst into trgFSA. Errors are logged as warnings and do not abort the operation.
cmd/slackdump/internal/diag/merge.go:453
↓ 1 callers
Method
copyAvatars
(users []slack.User)
internal/convert/html.go:201
↓ 1 callers
Method
copyChannelFiles
(ctx context.Context, ch slack.Channel, threadRoots []string)
internal/convert/html.go:147
↓ 1 callers
Method
copyFiles
copyFiles is a pipeline function that extracts files from messages and calls the file copier.
internal/convert/dump.go:95
↓ 1 callers
Method
copyStaticAssets
()
internal/convert/html.go:229
↓ 1 callers
Method
copyworker
(req <-chan copyrequest)
internal/convert/export.go:300
↓ 1 callers
Function
countDriveFolder
(folderId)
contrib/replit_drive_backup/drive-upload-folder.mjs:345
↓ 1 callers
Method
countDuplicates
(ctx context.Context, db sqlx.QueryerContext, entity dedupeEntity)
internal/chunk/backend/dbase/repository/dedupe.go:226
↓ 1 callers
Function
cpArchivePicker
()
cmd/slackdump/internal/resume/wizard.go:105
↓ 1 callers
Function
cpIncludeThreads
()
cmd/slackdump/internal/resume/wizard.go:87
↓ 1 callers
Function
cpLookback
()
cmd/slackdump/internal/resume/wizard.go:128
↓ 1 callers
Function
cpOnlyNewUsers
()
cmd/slackdump/internal/resume/wizard.go:96
↓ 1 callers
Function
cpRefresh
()
cmd/slackdump/internal/resume/wizard.go:78
↓ 1 callers
Function
createTestTarGz
createTestTarGz creates a tar.gz file with the given contents for testing.
cmd/slackdump/internal/diag/updater/autoupdate_test.go:579
↓ 1 callers
Function
createTestZip
createTestZip creates a zip file with the given contents for testing.
cmd/slackdump/internal/diag/updater/autoupdate_test.go:547
↓ 1 callers
Function
createfile
(t *testing.T, dir string, name string, contents string)
internal/chunk/filemgr_test.go:82
↓ 1 callers
Function
ct
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 1 callers
Function
cubicWait
cubicWait is the wait time function. Time is calculated as (x+2)^3 seconds, where x is the current attempt number. The maximum wait time is capped at
internal/network/network.go:209
↓ 1 callers
Function
dAbs
(d time.Duration)
internal/network/network_test.go:80
↓ 1 callers
Function
db2chunk
db2chunk converts the database to the chunk format, writing to the directory dir.
cmd/slackdump/internal/convertcmd/to_chunk.go:72
↓ 1 callers
Function
dbConvert
(ctx context.Context, src, dir string, cflg convertflags)
cmd/slackdump/internal/convertcmd/to_database.go:144
↓ 1 callers
Function
dbConvertFast
dbConvertFast converts the chunk source to the database format.
cmd/slackdump/internal/convertcmd/to_database.go:54
↓ 1 callers
Function
debugConfigUI
(ctx context.Context)
cmd/slackdump/internal/diag/wizdebug.go:108
↓ 1 callers
Function
debugDumpUI
(ctx context.Context)
cmd/slackdump/internal/diag/wizdebug.go:75
↓ 1 callers
Function
debugprint
(a ...any)
cmd/slackdump/internal/resume/resume.go:343
↓ 1 callers
Function
defSelKeymap
()
cmd/slackdump/internal/workspace/workspaceui/select.go:94
↓ 1 callers
Function
delAllWsp
(m manager, confirm bool)
cmd/slackdump/internal/workspace/del.go:67
↓ 1 callers
Function
delMessages
(ctx context.Context, cl *slack.Client, channelID string, msgs []slack.Message)
cmd/slackdump/internal/diag/thread.go:175
↓ 1 callers
Function
delOneWsp
(m manager, args []string)
cmd/slackdump/internal/workspace/del.go:88
↓ 1 callers
Function
deleteChunksByID
(ctx context.Context, tx *sqlx.Tx, ids []int64, chunkTypes []chunk.ChunkType)
internal/chunk/backend/dbase/repository/dedupe.go:277
↓ 1 callers
Function
deleteDuplicates
(ctx context.Context, tx *sqlx.Tx, entity dedupeEntity)
internal/chunk/backend/dbase/repository/dedupe.go:264
↓ 1 callers
Function
deleteSessionChunks
(ctx context.Context, tx *sqlx.Tx, sessionID int64)
internal/chunk/backend/dbase/repository/cleanup.go:104
↓ 1 callers
Function
deleteThread
(ctx context.Context, client *slack.Client, url string)
cmd/slackdump/internal/diag/thread.go:159
↓ 1 callers
Function
detectAndRead
detectAndRead detects the filetype by consequently trying to unmarshal the data. It will return [dump] that will have [dumptype] and one of the membe
cmd/slackdump/internal/format/dump.go:102
↓ 1 callers
Function
detectLinux
detectLinux detects the package manager on Linux.
cmd/slackdump/internal/diag/updater/platform/platform.go:122
↓ 1 callers
Function
detectMacOS
detectMacOS detects if slackdump is installed via Homebrew on macOS.
cmd/slackdump/internal/diag/updater/platform/platform.go:107
↓ 1 callers
Method
dirRouter
()
internal/chunk/chunktest/dirserver.go:56
↓ 1 callers
Method
directUserList
directUserList tries to get users from the direct message channels. It is much slower than getting users from the public channels, as it uses convers
internal/edge/userlist.go:277
↓ 1 callers
Function
doFile
doFile obfuscates the file src, placing the obfuscated file in trg.
internal/chunk/obfuscate/directory.go:76
↓ 1 callers
Function
download
download downloads all files from messages and posts into a __uploads directory in the archive.
cmd/slackdump/internal/diag/hydrate.go:165
↓ 1 callers
Method
download
saveFileWithLimiter saves the file to specified directory, it will use the provided limiter l for throttling.
downloader/downloader.go:264
↓ 1 callers
Function
dt
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 1 callers
Function
dump
dump generates the files in slackdump format.
cmd/slackdump/internal/dump/dump.go:176
↓ 1 callers
Method
dumpChannel
dumpChannel fetches messages from the conversation identified by channelID. processFn will be called on each batch of messages returned from API.
messages.go:96
↓ 1 callers
Function
dumpCookiesMozilla
dumpCookiesMozilla dumps cookies in Mozilla format.
cmd/slackdump/internal/diag/info/auth.go:66
↓ 1 callers
Function
dumpv3
(ctx context.Context, sess client.Slack, fsa fsadapter.FS, p dumpparams)
cmd/slackdump/internal/dump/dump.go:199
↓ 1 callers
Function
dumpv31
(ctx context.Context, client client.Slack, fsa fsadapter.FS, p dumpparams)
cmd/slackdump/internal/dump/dump.go:281
↓ 1 callers
Function
emptyMessages
()
internal/viewer/handlers.go:649
↓ 1 callers
Function
en
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callers
Function
enableLogColors
(strNocolor string)
cmd/slackdump/internal/cfg/cfg.go:99
↓ 1 callers
Function
encodeAllChannelMsg
(ctx context.Context, rec processor.Conversations, src source.Sourcer, channels []slack.Channel)
internal/convert/src2enc.go:143
↓ 1 callers
Function
encodeChannels
(ctx context.Context, rec processor.Channels, src source.Sourcer)
internal/convert/src2enc.go:103
↓ 1 callers
Function
encodeUsers
(ctx context.Context, rec processor.Users, src source.Sourcer)
internal/convert/src2enc.go:116
↓ 1 callers
Function
encodeWorkspaceInfo
(ctx context.Context, rec processor.WorkspaceInfo, src source.Sourcer)
internal/convert/src2enc.go:132
↓ 1 callers
Method
ensure
ensure ensure that the relevant processors are created.
internal/chunk/backend/directory/erc.go:65
↓ 1 callers
Function
ensureFolderPath
(relDir, rootId)
contrib/replit_drive_backup/drive-upload-folder.mjs:170
↓ 1 callers
Function
et
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callers
Function
expWait
(attempt int)
internal/network/network.go:218
↓ 1 callers
Function
exportWithDB
exportWithDB runs the export with the database backend.
cmd/slackdump/internal/export/v3.go:42
↓ 1 callers
Function
extract
(target, archive string)
cmd/slackdump/internal/diag/hydrate.go:128
↓ 1 callers
Function
extractFromTarGz
extractFromTarGz extracts a binary from a tar.gz archive and returns the path to the extracted file.
cmd/slackdump/internal/diag/updater/autoupdate.go:501
↓ 1 callers
Function
extractFromZip
extractFromZip extracts a binary from a zip archive and returns the path to the extracted file.
cmd/slackdump/internal/diag/updater/autoupdate.go:565
↓ 1 callers
Function
extractToken
extractToken extracts token from the request.
auth/browser/extractors.go:43
↓ 1 callers
Function
extractTokenPost
extractTokenPost extracts token from the request body.
auth/browser/extractors.go:73
↓ 1 callers
Function
fakeProgress
fakeProgress starts a fake spinner and returns a channel that must be closed once the operation completes. interval is interval between iterations. If
cmd/slackdump/internal/bootstrap/progress.go:72
↓ 1 callers
Function
fetchEmoji
fetchEmoji downloads one emoji file from uri into the filename dir/name.png within the filesystem adapter fsa.
cmd/slackdump/internal/emoji/emojidl/emoji.go:184
↓ 1 callers
Function
fileThumbLinks
fileThumbLinks returns slice of pointers to all thumbnail URLs of the file.
internal/structures/files/files.go:55
↓ 1 callers
Method
findThreadFile
(channelID, threadID string)
source/dump.go:239
↓ 1 callers
Method
findThreadInChannel
(channelID, threadID string)
source/dump.go:226
↓ 1 callers
Method
firstAvailable
()
internal/cache/manager.go:312
↓ 1 callers
Method
footer
()
cmd/slackdump/internal/ui/bubbles/menu/model.go:248
↓ 1 callers
Method
footer
()
cmd/slackdump/internal/ui/bubbles/pager/pager.go:131
↓ 1 callers
Function
formatJSONfile
formatJSONfile formats a single json file in the dump format.
cmd/slackdump/internal/format/dump.go:37
↓ 1 callers
Function
formatSrc
formatSrc formats the source with the given formatter and writes the result into fsa. If el is specified, it is used to filter the channels that are f
cmd/slackdump/internal/format/source.go:39
↓ 1 callers
Method
fromIndex
(index map[string]bool)
internal/structures/entity_list.go:251
↓ 1 callers
Function
fromReaderWithIndex
fromReaderWithIndex creates a new chunk File from the io.ReadSeeker and index. USE WITH CAUTION: It does not check if the file corresponds to the ind
internal/chunk/file.go:99
↓ 1 callers
Function
ge
(t,e,n)
internal/viewer/static/htmx.min.js:1
↓ 1 callers
Function
generateEmojis
(n int)
cmd/slackdump/internal/emoji/emojidl/emoji_test.go:252
↓ 1 callers
Function
generateThread
(ctx context.Context, cl *slack.Client, channelID string, numMsg int)
cmd/slackdump/internal/diag/thread.go:125
↓ 1 callers
Function
getChannel
(ctx context.Context, src source.Sourcer, ch slack.Channel)
cmd/slackdump/internal/format/source.go:101
↓ 1 callers
Function
getMessages
(ctx context.Context, cl *slack.Client, ui *structures.SlackLink)
cmd/slackdump/internal/diag/thread.go:195
↓ 1 callers
Function
getThread
(ctx context.Context, src source.Sourcer, chanID string, ts string)
cmd/slackdump/internal/format/source.go:134
↓ 1 callers
Function
getUsers
(ctx context.Context, dmp *dump, isOnline bool)
cmd/slackdump/internal/format/dump.go:167
← previous
next →
1,801–1,900 of 4,254, ranked by callers