18
submitted 9 months ago by ray@lemmy.ml to c/android@lemmy.world

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?

you are viewing a single comment's thread
view the rest of the comments
[-] ray@lemmy.ml 1 points 9 months ago

I took a quick look and this looks promising but I'm not sure how to use the pattern checker module.

Could you please explain a little more what would be replaced?

[-] stepanzak@iusearchlinux.fyi 3 points 9 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.

this post was submitted on 27 Jan 2024
18 points (100.0% liked)

Android

27933 readers
168 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS