It is a little hard to explain but here’s what I’m trying to accomplish.

I use a tool called Kagi Summarizer a lot. To use it I can go to the website and paste in the url I want to summarize.

Or I can append the page that I want to summarize like so: https://kagi.com/summarizer/index.html?target_language=&summary=summary&url=https%3A%2F%2Fwww.nytimes.com%2F2023%2F12%2F14%2Fscience%2Fneanderthal-sleep-morning-people.html

This works super well as a bookmarklet but sometimes on android I want to share a url from another app and have it auto open in the kagi summarizer.

I tried to make a PWA to do this but FF for android doesn’t have the share_target functionality to share to it. So the PWA works fine but only if it is installed in chrome, which I don’t want.

I’m looking for an app where I can share text/url to it and it will automatically append that text to a url and open it in the browser.

Anyone know of something like this?

  • stepanzak@iusearchlinux.fyi
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    Take a look at this wiki page and this file in this repo. There’s this item in the file:

      "Summarize This": {
        "regex1": "^(https?):\/\/(\\S*)$",
        "regex": "^(?!.*(smmry.))(.*)",
        "replacement": "https:\/\/smmry.com\/$2#&SM_LENGTH=10",
        "enabled": "true"
      }
    

    Looks like exactly what you want.

    The app, URLCheck, is absolutely awesome btw. I have it set as my default browser and now every time I open an url, I can choose which app should open it. And if it’s a web browser, I can choose whether I want to open it in the browser tab or in the custom tab in the app. And it can do much more. But you don’t have to set it as a default browser, you can just share to it.