Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/34306/tele-bot-ipa
/ functions
Functions
96 in github.com/34306/tele-bot-ipa
⨍
Functions
96
◇
Types & classes
17
↓ 17 callers
Method
disconnect
()
src/services/sshService.ts:28
↓ 13 callers
Method
executeCommand
(command: string)
src/services/sshService.ts:32
↓ 9 callers
Method
connect
()
src/services/sshService.ts:19
↓ 9 callers
Function
respond
(array $data, int $code = 200)
check-arcade.php:6
↓ 8 callers
Method
isOwner
* Check if user is owner
src/services/queueService.ts:59
↓ 6 callers
Function
executeLocalCommand
(command: string, options?: { cwd?: string })
src/utils/localCommand.ts:12
↓ 6 callers
Method
isAdmin
* Check if user is admin
src/services/queueService.ts:52
↓ 4 callers
Method
buildCommand
(baseCommand: string, isUninstall: boolean = false)
src/services/deviceService.ts:15
↓ 4 callers
Function
ensureLocalDirectory
(dirPath: string)
src/utils/localCommand.ts:39
↓ 4 callers
Method
getAppInfo
(bundleId: string)
src/services/deviceService.ts:140
↓ 4 callers
Method
uninstallApp
(bundleId: string)
src/services/deviceService.ts:72
↓ 3 callers
Method
canUseBot
* Check if user can use bot
src/services/queueService.ts:81
↓ 3 callers
Method
connect
()
src/services/uploadService.ts:27
↓ 3 callers
Method
decryptApp
(bundleId: string, appName?: string)
src/services/decryptService.ts:9
↓ 3 callers
Method
deleteFile
(remotePath: string)
src/services/sshService.ts:111
↓ 3 callers
Method
downloadFile
(remotePath: string, localPath: string)
src/services/sshService.ts:93
↓ 3 callers
Method
downloadIPA
(bundleId: string, country: string = 'us')
src/services/ipatoolService.ts:110
↓ 3 callers
Function
extractAppId
(url: string)
src/utils/urlParser.ts:12
↓ 3 callers
Function
extractCountryCode
(url: string)
src/utils/urlParser.ts:32
↓ 3 callers
Function
getDecryptedIPADirectory
()
src/utils/localCommand.ts:85
↓ 3 callers
Method
installApp
(ipaPath: string)
src/services/deviceService.ts:38
↓ 3 callers
Function
isValidAppStoreUrl
(url: string)
src/utils/urlParser.ts:54
↓ 3 callers
Method
listInstalledApps
()
src/services/deviceService.ts:86
↓ 3 callers
Method
uploadAndForwardFile
( ctx: Context, statusMsg: any, filePath: string, caption?: string, artworkUrl?: string,
src/bot/handlers.ts:126
↓ 2 callers
Function
findFileByPattern
(dir: string, pattern: string)
src/utils/localCommand.ts:94
↓ 2 callers
Function
getLocalIPADirectory
()
src/utils/localCommand.ts:66
↓ 2 callers
Method
getUserPosition
* Get user's position in queue
src/services/queueService.ts:315
↓ 2 callers
Function
httpGet
(string $url, int $timeoutSec = 10)
check-arcade.php:37
↓ 2 callers
Method
isAppInstalled
(bundleId: string)
src/services/deviceService.ts:132
↓ 2 callers
Function
localFileExists
(filePath: string)
src/utils/localCommand.ts:32
↓ 2 callers
Method
setPublicMode
* Set public mode
src/services/queueService.ts:66
↓ 2 callers
Method
uploadFileWithProgress
( filePath: string, caption?: string, onProgress?: (uploaded: number, total: number) => void,
src/services/uploadService.ts:87
↓ 1 callers
Method
addAdmin
* Add admin by user ID
src/services/queueService.ts:34
↓ 1 callers
Method
addToQueue
* Add item to queue
src/services/queueService.ts:136
↓ 1 callers
Method
checkApp
* Check if app is Apple Arcade or paid app * Returns { isArcade: boolean, isFree: boolean, isPaid: boolean }
src/services/arcadeCheckService.ts:14
↓ 1 callers
Method
checkDailyLimit
* Check daily limit for free users
src/services/queueService.ts:94
↓ 1 callers
Method
downloadArtwork
* Download artwork image from URL
src/services/uploadService.ts:240
↓ 1 callers
Function
extractAppId
===== Helpers =====
check-arcade.php:32
↓ 1 callers
Method
fileExists
(remotePath: string)
src/services/sshService.ts:97
↓ 1 callers
Method
findExistingFile
* Search for existing file in backup channel by app name, bundle ID, and version * Returns message ID if found, null otherwise
src/services/uploadService.ts:270
↓ 1 callers
Method
finishProcessing
* Finish processing current item
src/services/queueService.ts:280
↓ 1 callers
Function
getEncryptedIPADirectory
()
src/utils/localCommand.ts:76
↓ 1 callers
Method
getNext
* Get next item from queue
src/services/queueService.ts:225
↓ 1 callers
Method
getProcessing
* Get current processing item
src/services/queueService.ts:291
↓ 1 callers
Function
getProjectRoot
* Get project root directory (where package.json is located)
src/utils/localCommand.ts:48
↓ 1 callers
Method
getPublicMode
* Get public mode
src/services/queueService.ts:74
↓ 1 callers
Method
getStatus
* Get queue status
src/services/queueService.ts:298
↓ 1 callers
Method
handleAddAdmin
(ctx: Context)
src/bot/handlers.ts:1477
↓ 1 callers
Method
handleDecrypt
(ctx: Context)
src/bot/handlers.ts:529
↓ 1 callers
Method
handleDownload
(ctx: Context)
src/bot/handlers.ts:378
↓ 1 callers
Method
handleDownloadAndDecrypt
(ctx: Context)
src/bot/handlers.ts:1120
↓ 1 callers
Method
handleHelp
(ctx: Context)
src/bot/handlers.ts:346
↓ 1 callers
Method
handleInstall
(ctx: Context)
src/bot/handlers.ts:1299
↓ 1 callers
Method
handleList
(ctx: Context)
src/bot/handlers.ts:1503
↓ 1 callers
Method
handlePublic
(ctx: Context)
src/bot/handlers.ts:1399
↓ 1 callers
Method
handleRequest
(ctx: Context)
src/bot/handlers.ts:646
↓ 1 callers
Method
handleStart
(ctx: Context)
src/bot/handlers.ts:329
↓ 1 callers
Method
handleStatus
(ctx: Context)
src/bot/handlers.ts:1428
↓ 1 callers
Method
handleUninstall
(ctx: Context)
src/bot/handlers.ts:1354
↓ 1 callers
Method
incrementDailyCount
* Increment daily count for user
src/services/queueService.ts:116
↓ 1 callers
Method
listFiles
(remotePath: string)
src/services/sshService.ts:106
↓ 1 callers
Function
load_env
Load environment variables from .env file
setup_telegram.py:13
↓ 1 callers
Function
main
()
setup_telegram.py:110
↓ 1 callers
Method
processRequestItem
* Process a request item from queue
src/bot/handlers.ts:754
↓ 1 callers
Method
purchaseApp
* Purchase app (for free apps, this is required before download) * Returns true if purchase succeeded, false if already purchased (skip)
src/services/ipatoolService.ts:72
↓ 1 callers
Function
redisConnect
()
check-arcade.php:63
↓ 1 callers
Method
setQueueMessageId
* Set queue message ID for an item (the "Added to queue" message)
src/services/queueService.ts:244
↓ 1 callers
Function
setup_session
()
setup_telegram.py:28
↓ 1 callers
Method
startProcessing
* Start processing an item
src/services/queueService.ts:261
↓ 1 callers
Method
startQueueProcessor
* Start queue processor to handle requests one by one (FIFO - strictly sequential) * Ensures only ONE task runs at a time, no overlapping
src/bot/handlers.ts:66
Method
constructor
(host: string, port: number, username: string, password: string)
src/services/sshService.ts:11
Method
constructor
( apiId: number, apiHash: string, sessionString: string, backupChannelId: string )
src/services/uploadService.ts:15
Method
constructor
()
src/services/queueService.ts:26
Method
constructor
(ipatoolPath: string = 'ipatool')
src/services/ipatoolService.ts:14
Method
constructor
( private ssh: SSHService, private useLocal: boolean = false, udid?: string )
src/services/deviceService.ts:7
Method
constructor
(checkUrl: string = 'http://localhost:8080/check-arcade.php')
src/services/arcadeCheckService.ts:6
Method
constructor
( private ssh: SSHService, private decryptedPath: string = '/var/mobile/Documents/decrypted' )
src/services/decryptService.ts:4
Method
constructor
( private ssh: SSHService, uploadService: UploadService, bot: any, ipatoolPath?: string )
src/bot/handlers.ts:28
Method
createDirectory
(remotePath: string)
src/services/sshService.ts:126
Method
disconnect
()
src/services/uploadService.ts:40
Method
ensureConnected
()
src/services/sshService.ts:150
Method
findAppBundle
(bundleId: string, retries: number = 3)
src/services/decryptService.ts:73
Method
formatBytes
(bytes: number)
src/bot/handlers.ts:161
Method
formatBytes2
(bytes: number)
src/bot/handlers.ts:444
Method
formatSpeed
(bytesPerSecond: number)
src/bot/handlers.ts:189
Method
formatSpeed2
(bytesPerSecond: number)
src/bot/handlers.ts:465
Method
getAppInfo
(appId: string, country: string = 'us')
src/services/ipatoolService.ts:18
Method
getAppName
(appPath: string)
src/services/decryptService.ts:120
Method
getAppVersion
(appPath: string)
src/services/decryptService.ts:132
Method
normalize
(text: string)
src/services/uploadService.ts:297
Method
processNext
()
src/bot/handlers.ts:67
Method
removeAdmin
* Remove admin by user ID (cannot remove owner)
src/services/queueService.ts:42
Method
removeUserItems
* Remove user's items from queue
src/services/queueService.ts:327
Method
updateStatus
(text: string)
src/bot/handlers.ts:828
Method
uploadFile
(localPath: string, remotePath: string)
src/services/sshService.ts:89
Method
uploadFile
(filePath: string, caption?: string)
src/services/uploadService.ts:46