Popclip

Popclip

Extensions

Popclip offers many extensions, I like these:

Extension Snippets

It is possible to create extensions using code snippets. Here are some of my own creations:

# (inspired by https://forum.popclip.app/t/copy-from-address-bar-as-markdown-url-with-title/293/5)
# popclip extension to copy URL from address bar as markdown with title
name: Copy +MD Link
title: Copy
icon: symbol:doc.on.doc
javascript: |
  if (popclip.input.text === popclip.context.browserUrl) {
    popclip.copyText(`[${popclip.context.browserTitle}](${popclip.input.text})`)
  } else {
    popclip.performCopy()
  }

Get Redirecting using my API

# popclip extension to get redirect from my api
name: Redirect API
title: Redirect
icon: symbol:arrow.up.arrow.down.circle
url: https://dnnsmnstrr.vercel.app/api/redirect/***

Quickly spend time for a daily on Gitlab

# popclip extension to spend time on gitlab
name: Gitlab Time Tracking
title: Spend
icon: symbol:clock
javascript: |
  popclip.pressKey('R')
  const time = popclip.input.text.trim()
  return '/spend ' + time
after: paste-result

Extension-API

Documented here: https://github.com/pilotmoon/PopClip-Extensions

  • *** or {popclip text} - Selected text