Skip to content

Instantly share code, notes, and snippets.

@BobbyWibowo
Last active January 9, 2026 16:39
Show Gist options
  • Select an option

  • Save BobbyWibowo/2a73ec8fa2197f156a8f8a81a2ae0aa0 to your computer and use it in GitHub Desktop.

Select an option

Save BobbyWibowo/2a73ec8fa2197f156a8f8a81a2ae0aa0 to your computer and use it in GitHub Desktop.

Magane

Upstream: https://github.com/Pitu/Magane

BetterDiscord: https://github.com/Pitu/Magane?tab=readme-ov-file#betterdiscord

Vencord/Vesktop: https://github.com/Pitu/Magane?tab=readme-ov-file#vencord

JSON-based custom packs

Since PR #58, custom packs can now be easily imported from the UI.

image

Scroll down to the comments for some sample packs.

Legacy console functions

https://gist.github.com/BobbyWibowo/796fe36d2526ad33a71b0fb9a9dbf116


Warning

Some custom packs below rely on certain features that were recently introduced in version 3.2.24.
Make sure your plugin is up-to-date!

Important

Due to some hosts not having permissive CORS, some of the packs may only work properly in Vencord.
Vencord-edition of the plugin has access to native fetch(), which allows bypassing CORS.

Known permissive hosts:

wsrv.nl
@BobbyWibowo

Copy link
Copy Markdown
Author

image

Source: https://www.getstickerpack.com/stickers/hutao-one

Important

For Vencord, requires adding the following to the plugin's native.ts file:

CspPolicies['s3.getstickerpack.com'] = ImageSrc;
{
  "name": "Genshin Impact x OnePlus - Hu Tao",
  "id": "getstickerpack-hutao-oneplus",
  "files": [
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_1.png",
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_2.png",
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_3.png",
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_4.png",
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_5.png",
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_6.png",
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_7.png",
    "https://s3.getstickerpack.com/storage/uploads/sticker-pack/hutao-one/sticker_8.png"
  ],
  "homeUrl": "https://www.getstickerpack.com/stickers/hutao-one",
  "template": "%id%?d=x180",
  "thumbsTemplate": "%id%?d=x100"
}

@BobbyWibowo

Copy link
Copy Markdown
Author

image

Source: https://www.hoyolab.com/

Important

For Vencord, requires adding the following to the plugin's native.ts file:

CspPolicies['upload-os-bbs.hoyolab.com'] = ImageSrc;
{
  "name": "Lone Planetfarer",
  "id": "hoyolab-loneplanetfarer",
  "files": [
    "https://upload-os-bbs.hoyolab.com/upload/2024/10/31/27f49babbec7bbcd45cba42b75c6fef7_3572214579198245686.png",
    "https://upload-os-bbs.hoyolab.com/upload/2024/10/31/d4fabe5a02b3cef3338a685f3028fce6_581714490479305969.png",
    "https://upload-os-bbs.hoyolab.com/upload/2024/10/31/2dee6389013f3a5c2a9b7e75dd1d12fd_7159538009376055903.png",
    "https://upload-os-bbs.hoyolab.com/upload/2024/10/31/a262a7daf3389ed4b0c10e14bdb59785_5837582326401395201.png",
    "https://upload-os-bbs.hoyolab.com/upload/2024/10/31/907c3dd66abc6173088b5a6d66af37b6_3340496695103768734.png",
    "https://upload-os-bbs.hoyolab.com/upload/2024/10/31/9a33fac647c61ed0fe5b17f0c28f3fce_3395320500579072099.png",
    "https://upload-os-bbs.hoyolab.com/upload/2024/10/31/5868c8b477542e34ec8ebd14630db72b_365362807056388935.png"
  ],
  "homeUrl": "https://www.hoyolab.com/",
  "template": "%id%?x-oss-process=image/resize,h_%size%/auto-orient,0/interlace,1/format,png/quality,q_100",
  "thumbsTemplate": "%id%?x-oss-process=image/resize,h_100/auto-orient,0/interlace,1/format,webp/quality,q_100"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment