Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Assassin-1234/discord-wrapped
/ functions
Functions
51 in github.com/Assassin-1234/discord-wrapped
⨍
Functions
51
◇
Types & classes
18
↓ 7 callers
Method
error
* Error log * @param message Log message
backend/src/utils/Logger.ts:37
↓ 3 callers
Method
info
* Info log * @param message Log message
backend/src/utils/Logger.ts:21
↓ 2 callers
Function
getToolPath
* Get the path to a tool * @param tool Tool name * @returns {string} The path to the tool
backend/src/generator/animations/wrap.ts:38
↓ 2 callers
Function
handleFile
(file: File)
frontend/src/generate/Generate.tsx:41
↓ 1 callers
Function
createMoneyCount
* Create the money count frame * @param {string} text The text to display * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:355
↓ 1 callers
Function
createMostPlayedGames
* Create the most played games frame * @param {any[]} array The array of games * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:376
↓ 1 callers
Function
createMostUsedEmojis
* Create the most used emojis frame * @param {any[]} array The array of emojis * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:302
↓ 1 callers
Function
createMostUsedStickers
* Create the most used stickers frame * @param {any[]} array The array of stickers * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:407
↓ 1 callers
Function
createMostUsedWords
* Create the most used words frame * @param {any[]} array The array of words * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:431
↓ 1 callers
Function
createRecentGIFs
* Create the recent GIFs frame * @param {string[]} tenorLinks The links to the GIFs * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:252
↓ 1 callers
Function
createSummary
* Create the summary frame * @param {any[]} array The array of summary * @returns {Promise<void>}
backend/src/generator/animations/wrap.ts:460
↓ 1 callers
Method
download
* Download the generated wrapped * @param req Express request * @param res Express response * @returns {void}
backend/src/api/controllers/GenerateController.ts:68
↓ 1 callers
Function
downloadVideo
()
frontend/src/demo/Demo.tsx:32
↓ 1 callers
Function
downloadVideo
()
frontend/src/generate/Generate.tsx:171
↓ 1 callers
Function
fetchDiscordEmojiBuffer
* Fetch the buffer of a Discord emoji * @param {string} id The ID of the emoji * @returns {Promise<Buffer>} The buffer of the emoji
backend/src/generator/animations/wrap.ts:162
↓ 1 callers
Function
fetchEmojiBuffer
* Fetch the buffer of an emoji * @param {string} emoji The emoji to fetch the buffer of * @returns {Promise<Buffer>} The buffer of the emoji
backend/src/generator/animations/wrap.ts:143
↓ 1 callers
Function
fetchGameImage
* Fetch a game image * @param {string} id The ID of the game * @param {string} image_id The image ID of the game * @returns {Promise<Bu
backend/src/generator/animations/wrap.ts:175
↓ 1 callers
Function
fetchMessages
* Fetch messages * @returns {void}
backend/src/generator/extractor/extract.ts:104
↓ 1 callers
Function
fetchStickerImage
* Fetch a sticker image * @param {string} id The ID of the sticker * @returns {Promise<Buffer>} The buffer of the sticker image
backend/src/generator/animations/wrap.ts:187
↓ 1 callers
Function
fetchTenorGIF
* Fetch a GIF from Tenor * @param {string} url The URL of the GIF * @returns {Promise<Buffer>} The buffer of the GIF
backend/src/generator/animations/wrap.ts:207
↓ 1 callers
Method
generate
* Generate a wrapped * @param ws WebSocket * @param message WebSocket message
backend/src/api/controllers/GenerateController.ts:40
↓ 1 callers
Function
getEditly
()
backend/src/generator/animations/wrap.ts:17
↓ 1 callers
Function
getUserInfo
(dir: string, dataPackage: string, progressCallback: (progress: number, info: string) => void)
backend/src/generator/extractor/extract.ts:206
↓ 1 callers
Function
getVideoFirstFrame
* Get the first frame of a video * @param {string} inputPath The path of the video * @returns {Promise<Buffer>} The buffer of the first fram
backend/src/generator/animations/wrap.ts:225
↓ 1 callers
Method
init
* Initialise routes
backend/src/api/routes/GenerateRoute.ts:33
↓ 1 callers
Function
initRoutes
({ application, config }: Server)
backend/src/api/routes/index.ts:9
↓ 1 callers
Function
numberWithCommas
* Get number with commas * @param {number} number Number to format * @returns {string} Formatted number
backend/src/generator/animations/wrap.ts:29
↓ 1 callers
Function
readAnalyticsFile
(filePath: string, progressCallback: (progress: number, info: string) => void)
backend/src/generator/extractor/extract.ts:26
↓ 1 callers
Method
ready
* Ready log * @param message Log message
backend/src/utils/Logger.ts:29
↓ 1 callers
Function
returnGameData
* Return game data * @param {any[]} arr The array with game data * @returns {Promise<any[]>}
backend/src/generator/extractor/extract.ts:191
↓ 1 callers
Function
returnMostCommon
* Return the most common * @returns {any[][]}
backend/src/generator/extractor/extract.ts:128
↓ 1 callers
Function
returnMostUsedEmoji
* Return the most used emoji * @param {string} message The message * @returns {any[]}
backend/src/generator/extractor/extract.ts:150
↓ 1 callers
Method
upload
* Upload a data package * @param req Express request * @param res Express response * @returns {void}
backend/src/api/controllers/GenerateController.ts:19
Function
Demo
* Demo page
frontend/src/demo/Demo.tsx:14
Function
Generate
* Generate page
frontend/src/generate/Generate.tsx:19
Function
Home
* Home page
frontend/src/Home.tsx:15
Method
application
* Get Express application
backend/src/api/Server.ts:21
Method
constructor
()
backend/src/utils/Logger.ts:13
Method
constructor
(options: ServerOptions)
backend/src/api/Server.ts:13
Method
constructor
()
backend/src/api/routes/GenerateRoute.ts:25
Function
filePopup
()
frontend/src/generate/Generate.tsx:152
Function
generate
()
frontend/src/Home.tsx:16
Function
handleDragLeave
(event: DragEvent<HTMLDivElement>)
frontend/src/generate/Generate.tsx:127
Function
handleDragOver
(event: DragEvent<HTMLDivElement>)
frontend/src/generate/Generate.tsx:121
Function
handleDrop
(event: DragEvent<HTMLDivElement>)
frontend/src/generate/Generate.tsx:132
Function
handleEnded
()
frontend/src/demo/Demo.tsx:28
Function
handleEnded
()
frontend/src/generate/Generate.tsx:37
Function
handlePlay
()
frontend/src/demo/Demo.tsx:18
Function
handlePlay
()
frontend/src/generate/Generate.tsx:27
Function
shareOnTwitter
()
frontend/src/generate/Generate.tsx:187
Function
star
()
frontend/src/generate/Generate.tsx:192