Go to file
2023-09-19 15:15:19 +02:00
src Add global user name to json info 2023-09-19 15:15:19 +02:00
.gitignore Initial commit 2022-11-25 19:01:55 +01:00
Cargo.lock Add support for modern default avatars 2023-09-19 14:58:26 +02:00
Cargo.toml Json support 2022-11-26 19:40:56 +01:00
README Introducing .json and .png extensions as well as default avatars 2022-11-26 19:08:14 +01:00

Proxy for discord avatars.

This program allows you to proxy discord avatars so that they are always up to date.


    TOKEN=<discordtoken> PORT=3000 cargo run 

Listens to localhost:<port>

Requests to localhost:<port>/avatar/<userid>.png reply with a png of the users avatar.
Requests to localhost:<port>/avatar/<userid>.json reply with a json of the users data.

A publicly hosted version is available at https://dp.nea.moe/avatar/310702108997320705