Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/besoeasy/UniDL
/ functions
Functions
43 in github.com/besoeasy/UniDL
⨍
Functions
43
◇
Types & classes
0
↓ 11 callers
Function
formatAndReply
(ctx, result, platform, commandType)
app.js:551
↓ 9 callers
Function
bytesToSize
(bytes)
modules/utils.js:10
↓ 8 callers
Function
axiosPost
(method, params = [])
modules/aria.js:38
↓ 4 callers
Function
short
(str, startChars = 6, endChars = 4)
modules/utils.js:196
↓ 3 callers
Function
getFilesRecursively
(dir)
modules/utils.js:48
↓ 3 callers
Function
sendNostrDM
(toPubkey, plaintext)
app.js:459
↓ 2 callers
Function
cmdDownload
* Command: Start a new download
app.js:76
↓ 2 callers
Function
getDirectorySize
(directory)
modules/utils.js:22
↓ 2 callers
Function
getGlobalStats
()
modules/aria.js:57
↓ 2 callers
Function
getOngoingDownloads
()
modules/aria.js:100
↓ 2 callers
Function
handleCommand
(ctx, cmd, args, userId, platform)
app.js:474
↓ 2 callers
Function
removeEmptyFolders
(dir, saveDir)
modules/utils.js:74
↓ 2 callers
Function
runAutoCleanup
()
app.js:897
↓ 1 callers
Function
autoCleanOldFiles
(saveDir, daysOld = 30)
modules/utils.js:122
↓ 1 callers
Function
buildDirectoryListing
(dirPath, baseUrlPath)
app.js:655
↓ 1 callers
Function
cancelDownload
(gid)
modules/aria.js:109
↓ 1 callers
Function
cmdCancel
* Command: Cancel a download
app.js:212
↓ 1 callers
Function
cmdClean
* Command: Delete oldest file
app.js:232
↓ 1 callers
Function
cmdDownloading
* Command: Get list of active downloads
app.js:173
↓ 1 callers
Function
cmdHelp
* Command: Get help information
app.js:262
↓ 1 callers
Function
cmdIp
* Command: Get server IP information
app.js:245
↓ 1 callers
Function
cmdStart
(userId, options = {})
app.js:23
↓ 1 callers
Function
cmdStats
()
app.js:49
↓ 1 callers
Function
cmdStatus
* Command: Get status of a specific download
app.js:129
↓ 1 callers
Function
cmdTime
* Command: Get current time
app.js:283
↓ 1 callers
Function
deleteOldestFile
(saveDir)
modules/utils.js:98
↓ 1 callers
Function
downloadAria
(userId, url)
modules/aria.js:67
↓ 1 callers
Function
generateConfigPage
(config)
modules/ui.js:6
↓ 1 callers
Function
getAuthCode
()
app.js:292
↓ 1 callers
Function
getDownloadStatus
(gid)
modules/aria.js:92
↓ 1 callers
Function
getIpData
()
modules/utils.js:169
↓ 1 callers
Function
getVersion
()
modules/aria.js:117
↓ 1 callers
Function
loadOrGenerateNostrKey
()
app.js:317
↓ 1 callers
Function
randomCode
(minLength = 10, maxLength = 20)
modules/utils.js:207
↓ 1 callers
Function
startConfigPageServer
()
app.js:766
↓ 1 callers
Function
startFileServer
()
app.js:689
↓ 1 callers
Function
startNostrBot
()
app.js:394
↓ 1 callers
Function
startTelegramBot
()
app.js:342
Function
cleanUser
(input)
modules/utils.js:222
Function
getStoppedDownloads
()
modules/aria.js:133
Function
getWaitingDownloads
()
modules/aria.js:125
Function
healthCheck
()
modules/aria.js:141
Function
shuffleArray
(inputArray)
modules/utils.js:231