Giter Club home page Giter Club logo

joplinsafariwebclipper's Introduction

Joplin Web Clipper for Safari

This is an Safari App Extension for a Joplin Web Clipper.

Joplin is an open-source note taking and to-do application. It includes browser extensions for Chrome and Firefox that allows you to clip the current page/tab into Joplin. This extension is built with Javascript and React.

However, Safari now requires extensions that are at least partially based on native code (Swift or Objective-C) and must be initally run from a Mac app. This means the Web Clipper included with Joplin will not work. There is currently no Safari App Extension that I am aware of. This is my attempt at making one.

There are now three versions of the extension based on what official release version of Joplin you are using (due to changes to the underlying APIs):

  • Joplin v2.1.5 or higher, use Clipper v0.4.0.
    • This will now require you to grant permission from Joplin app when you first try to use the Clipper.
    • Once permission is granted, the Clipper should work normally.
  • Joplin v1.4.12 to v2.1.3, use Clipper v0.2.0.
  • Joplin prior to v1.4.12, you need to use Clipper v0.1.3.

Please note that this is very much ALPHA quality code at this point. The core functionality works for normal day-to-day usage (which I do), but you will find bugs and issues.

Installation

  • Download the executable either from one of the links above or from the Releases page
  • Unzip the file and move the executable to the Applications folder
  • Run the executable once. You’ll be prompted to enable it in Safari Extensions
  • After that, you should see a button with the Joplin logo in the toolbar
  • Click the extension button
  • If you are using Clipper v0.2.1, you will need to do the following:
    • If Joplin is running, you'll be asked to grant permission. Go over to Joplin to do that.
    • If Joplin is not running, you'll see a message that it is unavailable. Start Joplin, then grant permission

Working

  • Clip URL
  • Clip Complete Page (to Markdown)
  • Clip Simplified Page
  • Folder Selector (now remembers last folder used and supports subfolders)
  • Server Status Check
  • NEW - Authorization persistence
  • Tags
  • Clip Selection
    • If you are using StopTheMadness, you will need to allow "Text selection" for "Clip Selection" to work.

Not Working/Missing

  • Clip Complete Page (to HTML)
  • Clip Image Capture

I'm new at Safari App Extension development, so bear with me as we learn along together!

License

Joplin Web Clipper is available under the MIT license. See the LICENSE.md file for more info.

Support me at ko-fi.com

joplinsafariwebclipper's People

Contributors

cweirup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

joplinsafariwebclipper's Issues

Some Clips are not possible

Hi! Clip URL is working but the other also simplified not. The system say "...processing" and nothing happens.
Is this a know issue? I have Joplin 2.12.19 on macOS.
Thank you.

Server is not running

Just installed the web clipper on an M1 Mac Studio, Safari 16.5, Ventura 13.4. I enabled the extension in the settings but it's showing as "Server not running!" when I try to clip something.

Is the server indeed still up or has it closed down?

Notebook destination selection does not work

Hello,
On a vanilla installation of Joplin (Big Sur 11.2, Safari 14.0.3) the clipper always stores the note in the same notebook ("Folder" in the Clipper parlance), even if I select another one before clipping.
Notable maybe is that the folder used happens to be the first ever folder in this Joplin install, named "Welcome(Desktop)".

webclipper not working after joplin update

Hey there,

After installing joplin v.2.1.7, the webclipper stopped working. impossible to launch the clipper. It's working before this version. I'm on safari 14.1.1. Thank you

Safari Extension requires to be granted permissions each time

Running Monterey - Safari: Version 15.3 (17612.4.9.1.5)
Joplin: Joplin 2.7.15 (prod, darwin)

Any time when Joplin is quit, and then opened again the Safari Extension requires to be granted Joplin Clipper authorization again.

Not entirely sure if you are still actively maintaining the Safari Clipper (I surely hope you do! Joplin is awesome!) Hopefully you can have a look at this. If you require any assistance, more info, more troubleshooting, screenshots, let me know and I will provide.

Thanks for the hard work on the Safari Clipper so far!

Missing files -> does not compile

Hi, thanks for your effort making a web clipper Safari Extension for Joplin.
I instantly wanted to try it but the git repository unfortunately lacks 6 files:

JSDOMParser.js
Readability-readerable.js
Readability.js
led_green.png
led_orange.png
led_red.png

While it is easy to guess the content of the images, it is hard to tell what is inside the missing JavaScript files.

Looking forward to see the missing files.

cheers!

Notes can't place to correct folder, sometimes.

Hi, thanks for you work!
I'm using Joplin 2.14.17 and latest clipper for safari, macOS 13.6.6.
Sometimes, the note just can't place to the right folder, but in some other folder.
I have nested folders, there are some folders in its parent folder. My guess it is the reason.
So I try to find the pattern, like maybe always place to a folder above or below? But seems no pattern here.
Would you please fix this?

packaging for macOS 10.13

Hi, is there any chance you can package this for macOS 10.13 High Sierra as well? I would really love to try it out but don't think I am able/willing to update to 10.14 soon.
Anyway, thanks for developing this! It really is filling a gap as people mentioned on Joplin forum already! Great!
best Jojo

Won't auto download some images

Won't auto download some images if the image path on webpage does not end with proper extension

for example:
try to clip from this webpage:
https://www.macrumors.com/2020/07/28/5-4-iphone-12-images-in-hand/
the result:
2020-07-30 at 19 00 01@2x
you can see there is "?lossy" at the end of the image path, which is very common for some webpages. and we only got a link to the location of this image rather than download it after clipping.

thank you so much for this extension, hope it can be better!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.