this post was submitted on 22 Jan 2025
36 points (74.3% liked)

Technology

35349 readers
308 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 10 points 1 day ago (1 children)

The "struggle" is because Apple and Google refuse to do so as they built the platform to give themselves priority.

One can trivially do so on a Linux phone, e.g. PinePhone with PostMarketOS.

Source: I did it. Plenty of others do through the usual ways, e.g. pipe in the console but also with things like https://sxmo.org/docs/user/sxmo.7.html#HOOKS

[โ€“] [email protected] 5 points 1 day ago (1 children)

In my opinion the whole notion of coupling the UI to the API was a step in the wrong direction. It makes it effectively impossible to compose apps the way you can compose command line utils with piping. Apps should be designed as client/server by default, and then you could always leverage the service API for the app any way you want, slap a custom UI, use it in automation scripts, etc. It's just way more flexible that way.

[โ€“] [email protected] 2 points 21 hours ago (1 children)

Some apps are still done this way, e.g. transmission the BitTorrent client, but also ALL self-hosted Web apps. Sure it might feel a bit much to install containers on your phone "just" for that, or having to go through REST API despite being on the same actual device, but still it provides a TON of app.

Anyway, yes I agree that it is often a better model. Still a lot of apps, e.g. Blender, Inkscape, etc do provide a CLI interface. So one can both use them with a GUI or without. It's not decoupled like transmission but arguably it covers most needs.

[โ€“] [email protected] 0 points 14 hours ago

yeah there are a handful of apps that follow this model, it would be nice if it was the standard way to do things. In fact, this could even be handled by the GUI toolkit itself since native apps have to rely on it to build the user interface. The toolkit could just automatically generate a JSON API based on that for example.