I've been saving Reddit content for years, but the ability to actually find that one minimalist battle station I'll never be able to afford, that god-tier list of resources that I will absolutely consult when I learn how to do web development one day, or the numerous life lessons hidden in the depths of comment sections– they're essentially lost to the passage of time.

Reddit still doesn't have a way to categorize what you save, and it's not available outside of the platform. Apollo, a Reddit client for iOS, recently introduced the ability to categorize your saved content, but it's a bit half-baked at the moment, and also locked to its own ecosystem.

This is where iOS Shortcuts became a bit of a game-changer for me.

Facing these setbacks, I set out to develop a shortcut that would do a few main things:

  1. Work in conjunction with Apollo, my primary Reddit client.
  2. Save my content to an external, portable, and offline location.
  3. The ability to categorize, or tag, the content, with added contextual notes.
  4. Support a few different file types: Text, Images, and URLs.
  5. Store attachments, such as images, to their own folder using the tag name.

Here's what I ended up with.

An example of the contents saved from a Reddit URL.

The iOS shortcut adds all of the necessary formatting, embeds the image, and saves any image attachments to their own folder (see the mk folder above).

So, how does this all come together?

📱 Configuring the Shortcut

I've made the shortcut available here, but at 35 actions it's probably best that we walk through it. Feel free to customize as you go along.

For this shortcut to work perfectly, it requires Apollo, as it has the unique ability to share the Content Link rather than the Reddit Link, which Shortcuts has a bit of an issue with when it attempts to save the contents of the link. Apollo is available for free on iOS.

You might be able to tweak this with the official Reddit client, but I don't really recommend it.

The core of the shortcut is in the Share Sheet, it accepts any type of input by default. Next, we need a few additional details:

  • The content type, for our IF statement.
  • The date, for a timestamp.
  • Tags (via a prompt) – We convert this to lowercase so that the tags are nice and tidy.
  • Notes, for additional context.

🏞️ Images Flow

Depending on the content type, the shortcut will perform slightly different actions.

If using Apollo, I recommend using this flow when viewing an image directly. If you're using the URL flow below, it may capture the image at a lower than expected quality.
  1. Grabs the image and image name for embedding purposes.
  2. Saves the image to an "Attachments" folder in my iCloud Drive. If you want to get fancy, create a subpath with the tag name. You can then create image galleries with a free Obsidian plugin for a given tag.
  3. Grabs the File Extension from the saved file. This is important, if you grab the filetype at an earlier step, there may be a filetype mismatch between JPEGs and JPGs, which won't display correctly when embedded.
  4. Creates a callout. Feel free to tweak this, but I really enjoy the clean callout look.
  5. Embeds the image that was saved in iCloud. The |300 will shrink the width of the image down to 300px across, otherwise you'll just have massive embedded images. The image saved to iCloud will have its original dimensions.
  6. Encodes the text so that it can be sent to Obsidian.
  7. Exports everything over using Obsidian's native URL scheme, nothing extra needed here. The append will add it to the end of the file.
The final result of the Image flow.

🔤 Text Flow

The text flow is useful for text posts, but also for saving comments. With Apollo, you can share comments as images as well, but then you'd have to go through the process of extracting the text from the image, so really it depends on what you want to do.

In order for this to work, you must use Select Text -> Share -> Use Shortcut. The shortcut will not be able to parse text based Reddit posts by default. This also applies to comments.

The only thing that's different here is that the selected text is saved as a code block for formatting purposes, otherwise the functionality is similar to the Image flow.

The final result of the Text flow.

♾️ URL Flow

This last flow is similar to the Image flow, but with a few additional steps.

URL flows are ideal for saving posts that are linking to external sites.
  1. Grabs the contents of the URL.
  2. Grabs the images of the URL
  3. Filters the images such that only the larger images are picked up.
  4. Limits the images to 1 so that typically, only the "header image" of the URL is grabbed.

💫 Bonus: Image Galleries

So, now that you've configured the Shortcut to your hearts content, you might want to take a step back to visualize your hoard. This is where Lucaorio's Obsidian Image Gallery works well.

I'm into Gunpla lately, so I've saved a number of r/gunpla images into a gunpla subfolder.

Using the above plugin, you can just create a new file and use the following code to display everything in a gallery. Clicking into any image will display a "lightbox" view. Super neat.

```img-gallery
path: Attachments/gunpla
type: vertical
gutter: 8
radius: 6
```

I spent a bit too long working this out, but I think the results exceeded my own expectations. Feedback is more then welcome!

🎥 Demo Video

0:00
/0:19

Demo!

The link has been copied!