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

Android

27933 readers
101 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:

[email protected]


founded 1 year ago
MODERATORS
 

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?

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 9 months ago* (last edited 9 months ago)

If you are on stock Android you are already giving all the data to Google. If you open a page in Chrome or not doesnt really matter.

But maybe try another Chromium browser? Cromite is currently the best for all Android versions, Vanadium only for GrapheneOS

You could also create a custom search engine in Firefox, select it and paste the url as search string

[–] [email protected] 4 points 9 months ago (1 children)

URLCheck can do it with its pattern checker module.

[–] [email protected] 2 points 9 months ago (1 children)

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?

[–] [email protected] 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.

[–] [email protected] 13 points 9 months ago (2 children)

Can you not just add this as another "search engine" in Firefox for Android? I assume you mean Firefox with FF. I use Mull and there I can define alternative search engines, like so:

Then all you need to do is copy your text, go to browser, set the search bar to use this new "search engine" and paste your text like you'd do for a normal search.

[–] [email protected] 3 points 9 months ago (1 children)

That's probably the easiest thing I've seen so far. Still a bit of a pain when sharing from other apps but I might give it a try.

[–] [email protected] 1 points 9 months ago

If you set it as default search engine, it works easily with sharing with the firefox app. But then you have to switch search engines for every time you search something else in that app.

Another workaround could be to install another firefox fork to only use it for this search. You can set up your intended search there and then only use that app for sharing search terms to it.

You can do that with Fennec, Mull and whatever else is out there.

[–] [email protected] 3 points 9 months ago

I stumbled across this the other day..

As a shortcut to configuring it, you can go to the site (like Kagi) and if they have a text field to paste into (or a search field) you can generally right click on the field and select ‘add keyword for this search’.. so say you add ‘kagi’ as a search term (in the cmdlet) in the browser address bar you would just type kagi and hit enter

[–] [email protected] 7 points 9 months ago

Have a look at Automate (like Tasker but with free features). It has a Content Shared module as input. Then you can process and output its text. Might be worth a try for what you're trying to do.