alienator88 / Pearcleaner

A free, source-available and fair-code licensed mac app cleaner
https://itsalin.com/appInfo/?id=pearcleaner
Other
3.74k stars 88 forks source link

[FR] DeepLinks #171

Open johnmokos opened 20 hours ago

johnmokos commented 20 hours ago

Hi, it would be a nice addition, in my opinion, if you could implement deeplinks into the app.

An implementation example bellow from Shottr screenshot App:

SCR-20241128-tefu

This makes possible to create more robust and powerful Alfred and Raycast workflows, especially navigation inside the app and also ads more functionality to them. By navigation I mean all settings - orphaned files - development - applications panes, etc . By functionality I mean, the App's capabilities and features like updating - changing a specific setting - uninstalling other apps - finding leftovers, etc. (maybe there are also other benefits in general by implement deeplinks , idk..)

One other alternative to this is to put them maybe under the "Tools" menu-item in the menubar. This can achieve the same result maybe, but its not so intuitive and practical in my opinion.

SCR-20241128-srxb

I think its a nice addition to the App and hope it does not get in the way of your development schedule!

alienator88 commented 20 hours ago

So I currently already have a deep link manager in the app, but it's only used for launching pearcleaner from external means like Sentinel Monitor or Finder extension with an app bundle to search files for. Someone made an alfred extension before it looks like: https://github.com/andylundqvist/alfred-pearcleaner

I could probably expand this to support other regular app functions though: https://github.com/alienator88/Pearcleaner/blob/main/Pearcleaner/Logic/DeepLink.swift

johnmokos commented 19 hours ago

Yes, i use the same extension but its so very basic. Oh yes you do have one! I've looked at your code in the past (I'm not familiar with swift), but it seems I might have missed it!! So If you do decide to expand it then it wont be from scratch! I hope it's an easy feature to do so, cause it offers a lot more flexibility.

alienator88 commented 19 hours ago

Yeah it doesn't seem to be too difficult to add on to it. It would be super helpful if you could give me a list of actions that should be possible from the deeplinks. I don't want to just start adding all sorts of things if nobody will use them 😂 so having a list would be nice.

johnmokos commented 19 hours ago

Great! Sure! I'll come back with a list asap!

johnmokos commented 18 hours ago

List of Actions for deeplinks:

Navigation

Functional

I think thats it. Hope its not a lot ! 😅