"Notion" extension available to test

Hi, I’ve had many requests for a PopClip extension for the notes/organiser app Notion.

I’ve recently been working on this I’m looking for a few people to test it and let me know if it’s working OK.

To install:

  1. Install PopClip Beta. I’ve had to make some updates to PopClip itself to get it to work, so to use this need to install PopClip Build 3946 (or later) from Download PopClip.

  2. The Notion extension is here:
    https://github.com/pilotmoon/PopClip-Extensions/raw/master/extensions/Notion.popclipextz

Please post to say whether it works for you (especially does the sign-in flow work) and any feedback you have about it.

Here’s a draft changelog:

Notion

Append clipped text to a note in Notion.

Download: Notion.popclipextz

Description

The extension works with Notion, a popular web-based notes app. It will send the selected text (including formatting and links) to a Notion page of your choice along with the clip’s source reference and capture date.

Options

  • Page Name: Specify the name of a page in Notion, to which this extension will append content. The name must exactly match (including case) the name of a page in your Notion workspace, to which PopClip has been granted access.

About

This is an extension for PopClip.

Author

Nick Moore

Acknowledgements

This extension uses the JavaScript library martian, to convert Markdown to Notion’s custom Rich Text format.

The SVG icon is from WikiMedia Commons.

Requirements

Requires PopClip Build 3946 and a Notion account.

Links

Changelog

3 Nov 2022 Test version release

Very useful, thank you!!!

1 Like

I found that there are occasional cases where it cannot be excerpted, macOS 13.

The ‘pilotmoon/PopClip-Extensions’ repository doesn’t contain the ‘source/Notion.popclipext’ path in ‘master’.

I’ve fixed the Github Source link, thanks for the feedback. Any more details on those cases where it cannot be excerpted?

=====ENV======
mac 12.5
popclip 3963
Notion.popclipextz from this page link
=====STEPS====
1、restart popclip
2、select text and click notion icon
3、prompt me to log in
4、click login notion
5、loding … loding… loding… Forever

this is issue or is my usage incorrect ? I need Notion :blush:

1 Like

After you click “Log In”, Notion’s authorisation web page should open in your default browser. Not happening?

Ulp … mea culpa. The latest beta had a bug. Updating now; will be Build 3967. Should be updated very soon (PopClip Downloads or uncheck and re-check “Check for updates” in the app).

amazing job, Nick, thanks! I use PopClip way more than I thought I would use.

I am trying to use this extension but I only see the nodding X. any tips on how to make it work?

thanks!
Matin

1 Like

I’ve had a couple of other report of this but I can’t reproduce it myself. Could you help me debug it?

Enable extension debug output by pasting the following command in Terminal:

defaults write com.pilotmoon.popclip EnableExtensionDebug -bool YES

then Quit and restart PopClip.

(note, substitute com.pilotmoon.popclip-setapp if using Setapp edition)

Then open Console app and set the following filters process: PopClip, category: Extension

Now set Console to “Start” & “Now” you should see the API calls going in, and the responses in the console. Are there any responses from Notion API that indicate an error, and if so what is the message?

@nick Have you been able to draw any insights from my post (that you kindly removed for security reasons)?

Thanks!

I can see that it can’t find the named page but I don’t know why it can’t.