GIPHY

This extension allows quickly inserting GIFs from Giphy into Roam!

Installation

You could use the Copy Extension button below to individually install this extension. To install, just paste anywhere in your Roam graph and click "Yes, I Know What I'm Doing".

Manual Installation

If the extension doesn't work after using the copy extension button above, try installing manually using the instructions below.

First create a block with the text {{[[roam/js]]}} on any page in your Roam DB. Then, create a single child of this block type three back ticks. A code block should appear. Copy this code and paste it into the child code block in your graph:

var existing = document.getElementById("roamjs-giphy");
if (!existing) {
  var extension = document.createElement("script");
  extension.src = "https://roamjs.com/giphy.js";
  extension.id = "roamjs-giphy";
  extension.async = true;
  extension.type = "text/javascript";
  document.getElementsByTagName("head")[0].appendChild(extension);
}

Finally, click "Yes, I Know What I'm Doing".


Usage

Type {{GIPHY: }} into a block. Continue typing your gif search term after the colon. A list of GIPHY results will render below the block as you type. Click on one to replace the text with a link to the gif.

For example, typing {{GIPHY:jumping cat}} and clicking on the first result will render:

Loop Jump GIF by sheepfilms

Demo


Contributors

This extension is brought to you by RoamJS! If you are facing any issues reach out to support@roamjs.com or click on the chat button on the bottom right.

If you get value from using this extension, consider sponsoring RoamJS by clicking on the button below!

A special thanks to those who's contributions also helped make this extension possible:

Other Extensions