Skip to content

Instantly share code, notes, and snippets.

@venkr
Last active January 23, 2025 00:55
Show Gist options
  • Save venkr/6c042e5e3ac9e485bfaabc912b1f68da to your computer and use it in GitHub Desktop.
Save venkr/6c042e5e3ac9e485bfaabc912b1f68da to your computer and use it in GitHub Desktop.
iOS shortcuts to save to Lynkmi

Here are two WIP iOS shortcuts to save to Lynkmi. It's super handy to get them to show up in your native iOS share sheet, so you can send a link to Lynkmi from anywhere in iOS.

The share sheet:

The success message:

Options

Shortcut 1 link to download

  • Always saves the bookmark with no description, an untitled title, and a "mobile-bookmarks" tag.
  • Very easy to use though: just one tap!

Shortcut 2 link to download

  • Lets you configure tags, title, and description
  • Not great input UX though! TBD - how would you make this better?
  • Tags are a little broken

One flow is to use Shortcut 1 to save on mobile, and then "post-process" on the Lynkmi website later on.

Installation

  • Save the shortcut of your choice to your iOS device
  • Rename it as you prefer: I'd recommend "Save with Lynkmi"
  • Edit the shortcut, and edit the "Get contents of https://lynkmi-api.fly.dev/submitLink" step.
  • Add your Lynkmi username and password where your-username and your-password are.
  • Go to a website, eg: Twitter, and press a share button.
    • You should see the Lynkmi button at the very bottom
    • Press "Edit Actions" at the bottom of the screen, and then the plus sign by your shortcut's name to favorite it - so it shows up at the top of the list

Caveats

  • Shortcut 1 should generally work fine, but Shortcut 2 has significant issues: please only use it if you're hoping to modify it yourself!
  • Very plausible that neither of these approaches are super great: doing eg: tag entry with shortcuts is always going to be sorta painful. It might be semi-solvable with a getTags() endpoint for a user, but ideally, you'd have an app you hand off to that can run custom code etc.
  • This uses an unofficial Lynkmi API which might break with any significant changes to the website.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment