Skip to content

Instantly share code, notes, and snippets.

@Gladuin
Last active January 19, 2024 11:04
Show Gist options
  • Star 25 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gladuin/b00228769f154cb4ed2fcb266698cab1 to your computer and use it in GitHub Desktop.
Save Gladuin/b00228769f154cb4ed2fcb266698cab1 to your computer and use it in GitHub Desktop.
This is a tutorial on how you can backup and restore your Discord favorite gifs (on windows)

This won't work anymore because Discord moved to cloud storage for the gifs

Backup

  1. Open Discord.
  2. Press CTRL, SHIFT and I on your keyboard at the same time.
  3. In the newly opened window, at the top, click the >> button, and then click on Application.
    Image 1
  4. Once in the Application tab, click the little triangle next to Local Storage, and then click on https://discordapp.com.
    Image 2
  5. At the top of the tab type gif in the box that says Filter.
    Image 3
  6. Double click the value of GIFFavoritesStore and copy that somewhere. Backup done!
    Image 4

Restore

  1. Repeat steps 1 - 5 of the Backup section of this guide.
  2. Double click the value of GIFFavoritesStore and paste the value you backed up. After that press ENTER. Image 4
  3. Click the X button in the top right corner.
    Image 5
  4. Press CTRL and R on your keyboard at the same time. Restore done!
@bepvte
Copy link

bepvte commented Nov 15, 2021

Lots all my favorited gifs in the tranfer process and can't even use my backup....

I made this exporter for you: https://codepen.io/bepvte/full/VwzVzpq .

@artshade
Copy link

artshade commented Nov 15, 2021

Lots all my favorited gifs in the tranfer process and can't even use my backup....

I made this exporter for you: https://codepen.io/bepvte/full/VwzVzpq .

Nice! Interesting that some media downloads while viewing an exported/parsed HTML, and some - does not. It seems the "src" value may or may not start with "http(s):", thus added a little change: https://jsfiddle.net/26va05b3/

For example, some Json contained:

{    
    "width":640,
    "height":640,
    "src":"//media.tenor.com/videos/b4f873c80148b9f044a0c68acee0f81d/mp4",
    "url":"https://tenor.com/view/stars-glitters-sparkles-purple-shiny-gif-17171909",
    "format":"VIDEO"
}

@bepvte
Copy link

bepvte commented Nov 15, 2021

Ty, merged into my codepen. You forgot to include the jsdelivr for file-saver in yours I think

@AirplanegoBrr
Copy link

I think this has been changed.. Update?

@bepvte
Copy link

bepvte commented Jul 28, 2022

Read the first line of it LOL

@AirplanegoBrr
Copy link

im blind af

@lncoognito
Copy link

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