I’m a web developer, mostly with Python and have close to zero Java or Kotlin experience, but I want to build a bunch of tools for my phone where I can Share
a URL (for example) to an app that simply takes that URL string and sends an HTTP POST request to a pre-arranged URL with some pre-arranged headers or POST data.
So basically I’m looking for an app that:
- Lets you define a series of endpoints
- Accepts share intents from other apps to then bring up a selector asking “Which endpoint do you want to send this to?”, sends it, and exits.
It seems a little nuts that I should have to develop a separate app for each endpoint, when the app experience isn’t really something I’m interested in. Can someone here point me to an app that already does something like this? I’d prefer a FOSS option if possible, but at this point I don’t even know what to search for.
Example use-cases:
- Send a YouTube URL to a service that downloads said video and stores it on a share on my VPN
- Send a text snippet to a service that stores that snippet as a Markdown file for use as ideas for future blog posts
- Send an article URL to a service that strips the ads and images out and saves a Markdown file for future reading.
Are you looking for something like Pocket?
There are self-hosted things a lot like it. Vivaldi and some other browsers have similar functionality. Not sure about downloading the videos, but there are other tools for that.
Pocket will fill in a pinch, but it’s a very specific use cases and I’m looking for something more general. For example, it’d be nice to write something that accepts location data from Google maps and dumps it on a database for plotting later if something. I’m looking for a general tool that lets me be creative with my phone :-)
There’s always Tasker.
It’s stupidly powerful once you get used to how it works, even without root, and it can definitely patch into the default “share” functionality.
I’d forgotten about Tasker. I’ll give that a try, thanks!