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.
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.
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
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.
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.
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.