MCPcopy Index your code
hub / github.com/Assassin-1234/discord-wrapped

github.com/Assassin-1234/discord-wrapped @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
69 symbols 150 edges 24 files 36 documented · 52%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Discord Wrapped

An insight on all the data collected by Discord, formed into a video just like Spotify Wrapped!

Try it out

You can try it out on discordwrapped.com.

Credits

Self-hosting

Prerequisites:

  • Node.js and npm installed on your machine.

Development

git clone https://github.com/Assassin-1234/discord-wrapped.git
cd discord-wrapped
cd frontend
npm install
npm run dev
cd ..
cd backend
npm install
npm run dev

Open your web browser and go to localhost:5173 or the URL specified in the frontend logs if the default port is already in use.

Production

Docker 🐳

git clone https://github.com/Assassin-1234/discord-wrapped.git
cd discord-wrapped

Edit .env.example in the backend directory to your preference.

docker-compose up -d

Using a reverse proxy, put the backend and frontend on the same address by adding a custom address /api/ with the chosen backend port (3020 by default).

Process Manager

cd frontend
npm install
npm run build
# Serve the build with your chosen process manager (e.g., http-server)
cd ..
cd backend
mv .env.example .env
npm install
npm run build
# Run with your chosen process manager
xvfb-run -s "-ac -screen 0 1920x1080x24" npm run start

Using a reverse proxy, put the backend and frontend on the same address by adding a custom address /api/ with the chosen backend port (3020 by default).

Contributing

Pull requests are appreciated - Do not modify the audio.mp3 - Do not push your own data package

License

This OSS project is under an Apache license.

Contributors

image

Extension points exported contracts — how you extend this code

IRoute (Interface)
(no doc) [1 implementers]
backend/src/types/global.ts
ImportMeta (Interface)
(no doc)
frontend/src/vite-env.d.ts
IConfig (Interface)
(no doc)
backend/src/types/global.ts
Asset (Interface)
(no doc)
backend/src/types/global.ts
IAsset (Interface)
(no doc)
backend/src/types/global.ts
ServerOptions (Interface)
(no doc)
backend/src/api/Server.ts

Core symbols most depended-on inside this repo

error
called by 7
backend/src/utils/Logger.ts
info
called by 3
backend/src/utils/Logger.ts
handleFile
called by 2
frontend/src/generate/Generate.tsx
getToolPath
called by 2
backend/src/generator/animations/wrap.ts
downloadVideo
called by 1
frontend/src/demo/Demo.tsx
downloadVideo
called by 1
frontend/src/generate/Generate.tsx
ready
called by 1
backend/src/utils/Logger.ts
readAnalyticsFile
called by 1
backend/src/generator/extractor/extract.ts

Shape

Function 40
Class 12
Method 11
Interface 6

Languages

TypeScript100%

Modules by API surface

backend/src/generator/animations/wrap.ts16 symbols
frontend/src/generate/Generate.tsx11 symbols
backend/src/utils/Logger.ts6 symbols
backend/src/generator/extractor/extract.ts6 symbols
backend/src/api/controllers/GenerateController.ts5 symbols
backend/src/api/Server.ts5 symbols
frontend/src/demo/Demo.tsx4 symbols
backend/src/types/global.ts4 symbols
backend/src/api/routes/GenerateRoute.ts4 symbols
frontend/src/Home.tsx2 symbols
backend/src/api/routes/Route.ts2 symbols
backend/src/api/controllers/Controller.ts2 symbols

For agents

$ claude mcp add discord-wrapped \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact