Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Future of Flashlight #537

Open
nate-parrott opened this issue Jul 29, 2015 · 115 comments
Open

The Future of Flashlight #537

nate-parrott opened this issue Jul 29, 2015 · 115 comments
Labels

Comments

@nate-parrott
Copy link
Owner

Hacking Spotlight is impossible in 10.11. [1]

That's disappointing, but it's also a great opportunity to think about the future of Flashlight.

Even when Flashlight didn't do that much, it was still useful because it was a complement to all of Spotlight's existing features. But now Flashlight's grown up — it has hundreds of features built by a great community. I think it's useful enough to survive as a standalone app — a fresher, more open-source take on all the standalone launcher apps we love. [2]

I still won't be able to work on Flashlight for a couple more weeks, so here's a challenge for all of you:

Figure out what Flashlight can be once it's independent of Spotlight. And help me build it. [3]

[1] Apple's new "rootless" security system blocks code injection into system processes. Technically you can disable rootless – but I'll have to agree with the TotalFinder devs that it doesn't make sense to ask ordinary users to do this. And these security restrictions will only get tighter in the future – it doesn't make sense to build a product around circumventing them.

[2] Obviously we'll need to add things like app launching and file search, which Spotlight did for us. And we'll need to build a new UI. But that'll be fun.

[3] If you've got ideas, create issues for them and tag them with the future label. If you've got prototypes of standalone Flashlight UIs, add it in a new branch and submit a pull request with it.

@hufufuf
Copy link

hufufuf commented Jul 29, 2015

More exactly, it seems that you need to disable the rootless security only to install SIMBL.
Once it is installed, you can enable rootless again.
And enable/disable SIMBL plugins as before.
See here : norio-nomura/EasySIMBL#26 (comment)

So it could be an acceptable think for power users.
But I understand it's not easy to ask each user to do something like this just to install a software.

So, your proposition to built a new software from the ground with the best of spotlight and flashlight is great !
I just want something simple, clean (unlike Alfred, Launchbar & Cie) for which I can write easily some little plugins

@Sajonara
Copy link

As an "external" Software, there already is a similar solution: Quicksilver. It's source code is available at https://github.com/quicksilver/Quicksilver and it is extendable via plugins. I used Flashlight though, because it was very convenient not to have to use a separate program. Maybe one can think of extending Quicksilver or start a similar project from scratch.

@orbitly
Copy link

orbitly commented Jul 29, 2015

I've tried using both Quicksilver and Alfred, they're just not nearly as good as Flashlight injected into Spotlight was. I understand the need to appeal to average users, but disabling SIP in the recovery partition is not hard.

The new app should definitely use the same two column layout with immediate information as spotlight. Suggested websites would be nice, iTunes music library search would be great too. These are the things that stop me from wanting to use Alfred.

Thank you!

@brandonhorst
Copy link

You guys may want to look into Lacona. It is an extensible command runner with a powerful but simple NLP engine. Commands will be open source JavaScript, and it has its own UI.

Should be able to do everything Flashlight can do, but support more natural syntax.

It's on Kickstarter now. And I wrote it, so sorry for the shameless self-plug.

Link: https://www.kickstarter.com/projects/2102999333/lacona-natural-language-commands-for-your-mac
Command-building info: https://github.com/lacona/kickstarter-nerd-details

@yashendra2797
Copy link

I love Nate's work, but I have to agree with the community. I loved Flashlight since it was integrated with Spotlight. While I would love to see what Nate has planned, I'm afraid I may not use flashlight if it is made into a standalone app. There are many others which do the same work. The beauty of Flashlight was in its simplicity.

@evrial
Copy link

evrial commented Jul 30, 2015

Have you asked Apple about opening Spotlight API to external plugins? Why they prohibit such idea?

@xremix
Copy link
Contributor

xremix commented Jul 30, 2015

@nate-parrott thanks for your kind words and sharing your opinion on the future of Flashlight.

If it's the case, that only the installation of SIMBL requires to disable rootless, I'd love to have a solution where the plugins could work with both, A solution that integrates with spotlight (for power user) as well as a separate tool with an own UI.
They could both use the same plugins as well as the plugin manager.
Any thoughts on this?

@sohocoke
Copy link

As a launcher addict since the days when LauchBar was the only game in town, and having extensively used Quicksilver, Alfred over many years, I have to agree with the opinions already cited that having another launcher app is a big downside.

Would it be at all possible to re-implement the current hop-on-spotlight behaviour by using the Accessibility API to get updates on what the user's entering, then neatly clobber Spotlight output with Flashlight output? It would be a cool hack if it can work.

@bmehling
Copy link

Generally agreeing w/ other posters. I was a long-time quicksilver, then alfred (and now again) user. I really liked having a single search/launcher -- Flashlight's integration into Spotlight is a pretty killer feature.

Perhaps @xremix 's idea of universal plugin support between a standalone launcher and a version we have to hack into spotlight is the way to go?

@xremix
Copy link
Contributor

xremix commented Jul 31, 2015

I'd love to see such a solution. But it would require more effort of the community so we would need more people that commit with us.

@Bisewski
Copy link

Bisewski commented Aug 4, 2015

I agree with was said: Flashlight is awesome because it's simple and is almost invisible. It just works, like a OS X feature. There's nothing like CMD+Space and voilà! Since I setup Flashlight, I changed (for very best) the way I do almost my daily tasks in front of my Mac. And don't have it anymore, is very sad :(

I think @xremix is right. I guess there is a lot of power user who love Flashlight, and run some Terminal line is not a problem for most of them. These can keep using Flashlight via Spotlight. The others, would have a standalone app.

I'm here for what you need. Count with me.

@wilmoore
Copy link

Honestly, this is really a tool that should be built-in. Flashlight as it used to work is so seamless. I am a paid user of Alfred and I have to say, once I tried Flashlight, I completely uninstalled Alfred (no offense to the Alfred developers -- it's great at what it does, but the approach is similar to other products which is not as seamless as Flashlight).

I think that if Flashlight goes in the direction of the other launchers, there is little (besides a good ecosystem of plugins and that it is open-source) to differentiate. Sure, free is nice, but Let's be honest; for OSX users, free is generally not a deal-breaker.

Perhaps if it goes to a full standalone app, I'd still stick with Flashlight, but then again, I've paid for Alfred so perhaps I just stick with that. I'm not 100% sure, but keep in mind, when Flashlight was working, I was 100% sure that I'd be sticking with Flashlight and I was regretting that I had paid for Alfred.

I hope this opinion helps your decision somehow @nate-parrott.

@lanzafame
Copy link
Contributor

@nate-parrott I don't know if you have already tried or whether it is even possible but have you approached Apple about an 'official' work around? I agree with the above stated responses, that the integration into Spotlight is what made Flashlight better of all the options. But yeah just a suggestion.

@acaloiaro
Copy link

I'm neither a Flashlight user (I was hoping to be, but alas, The Captain said no), nor have I developed against the Core Spotlight Framework—so bear with my naïvety. However, Apple's Core Spotlight Framework seems to provide the necessary hooks. The implementation may be convoluted in that a standalone Flashlight app would create files to be indexed by Spotlight, and NSUserActivity would allow one to navigate from Spotlight into specific Flashlight states/navigation points. Is this workflow too convoluted? By all means, punch some holes in this suggestion. Cheers.

[edit]
It may also be worth noting that I was looking into Flashlight because, as of El Capitan Beta 7, Dashboard is disabled by default, signaling an upcoming Dashboard sunset. I was hoping to offset some of my Dashboard use with Flashlight (I know I can re-enable Dashboard); unfortunately the first sign of a Dashboard sunset coincides with Flashlight no longer working with El Capitan. There may be others who find themselves in the same boat as me.

@xdissent
Copy link

@acaloiaro that's iOS though, right? AFAIK there's no OS X equivalent.

@acaloiaro
Copy link

@xdissent You're right, I hadn't noticed the URL. However, I think the general approach still applies:

  1. Create Metadata Attributes
  2. Create a Flashlight Importer
  3. Provide a Quick Look for Flashlight files

The next step would be to determine whether or not one can extract additional information from the query when displaying Quick Look result in Spotlight. So, for example, when one types "weather in New York", a Quick Look showing the Weather file populated with weather data for New York is displayed in Spotlight.

@tobsn
Copy link
Contributor

tobsn commented Aug 31, 2015

So why did Lacona fail its kickstarter funding and why did nate not support it?

@brandonhorst
Copy link

Lacona dev here. I did reach out to Nate (via email) to consider Lacona as a possible successor, and never got a response. But, of course, that's perfectly fine.Lacona is a different project with different goals.

Lacona failed it's kickstarter but development is going to continue, and I believe there is a place for both Lacona and Flashlight in the future.

@tobsn
Copy link
Contributor

tobsn commented Sep 1, 2015

@brandonhorst if you set up a donation button... that might be a good idea :)

@Nxt3
Copy link
Contributor

Nxt3 commented Sep 10, 2015

I would definitely like to see where Lacona and Flashlight goes. The two would be great together. Lacona already has a fantastic UI concept; it's definitely something to build off of.

@brandonhorst Also, this is the first time I've heard of Lacona. If you did happen to want people (myself included) to throw more money at you--give us a PayPal address or something. I'd happily give you some money for the continuation of Lacona; I'm sure others would as well.

@brandonhorst
Copy link

@Nxt3 @tobsn thanks, guys! I appreciate the kind words. I did add donation buttons to the website, but I'm not going to push for donations much until I actually release something - I want to make sure I keep everything on the up and up.

This isn't the place to talk about this, though. If you have questions, you can bring them here: brandonhorst/www.lacona.io#3

@suokun
Copy link

suokun commented Sep 21, 2015

Why not join Apple spotlight team. Your work is so great and you can make spotlight much stronger based on flashlight.

@TP18
Copy link

TP18 commented Sep 22, 2015

He has joined Apple

Sent from my iPhone

On 22 Sep 2015, at 00:54, Tony notifications@github.com wrote:

Why not join Apple spotlight team. Your work is so great and you can make spotlight much stronger based on flashlight.


Reply to this email directly or view it on GitHub.

@suokun
Copy link

suokun commented Sep 22, 2015

Cool, maybe we can expect more functionalities as Flashlight in Spotlight in the future.

@orbitly
Copy link

orbitly commented Sep 23, 2015

He was at Apple for a summer internship, that's why he couldn't work on hacky software over the summer. Should be over by now.

@w0lfschild
Copy link

w0lfschild commented Jun 13, 2016

Here's my fork for 10.10+ (Yosemite and El Capitan).

https://github.com/w0lfschild/Flashlight

@JMY1000
Copy link

JMY1000 commented Jun 13, 2016

@w0lfschild Does it work on 10.11?

@controversial
Copy link

controversial commented Jun 13, 2016

@JMY1000 That's what

10.10**+**

would imply

@JMY1000
Copy link

JMY1000 commented Jun 13, 2016

@controversial Usually, but given all the trouble people have been having getting it to work on 10.11, I just wanted to make sure.

@controversial
Copy link

Ok. I haven't actually tried it myself, but I assume it does

On Mon, Jun 13, 2016 at 11:57 AM JMY1000 notifications@github.com wrote:

@controversial https://github.com/controversial Usually, but given all
the trouble people have been having getting it to work on 10.11, I just
wanted to make sure.


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#537 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AJ5YryBWylfLbKyi4D29UDa_HSA54XVWks5qLX3NgaJpZM4Fh0UF
.

@juni-vogt
Copy link

Totally works on el capitan, super cool

@avaidyam
Copy link

But does it work on macOS 12 Sierra? 🙄

@tsimmons
Copy link

tsimmons commented Jun 13, 2016

What were your steps to get it running on El Cap? Did you disable SIP, install SIMBL first, etc.? @matthias-vogt

@orbitly
Copy link

orbitly commented Jun 13, 2016

Thank you so fucking much, w0lfschild!

@w0lfschild
Copy link

w0lfschild commented Jun 13, 2016

@tsimmons There are install instructions in the repos README.

Here are some even more clear instructions.

  1. Download mySIMBL
    • Unzip
    • Disable System Integrity Protection (Only if using 10.11+)
    • Open mySIMBL.app
    • Enter password to install SIMBL
    • Enable System Integrity Protection (Only if using 10.11+)
  2. Download Flashlight
    • Unzip
    • Open Flashlight.app
    • Install the plugins you want to use
  3. Open Spotlight and start using Flashlight

screen shot 2016-06-13 at 1 19 37 pm

@tsimmons
Copy link

@w0lfschild Perfect! This is awesome.

@Bisewski
Copy link

Awesome! You saved lives :D

On Jun 13, 2016, at 17:26, Toby Simmons notifications@github.com wrote:

@w0lfschild https://github.com/w0lfschild Perfect! This is awesome.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #537 (comment), or mute the thread https://github.com/notifications/unsubscribe/AByHu_B3bNqTkvjGCK2MzSJaQlqPh5Ubks5qLbzzgaJpZM4Fh0UF.

@wickles
Copy link

wickles commented Jun 13, 2016

This is better than WWDC!

@JMY1000
Copy link

JMY1000 commented Jun 13, 2016

@w0lfschild You are amazing. Thanks so much.

@xremix
Copy link
Contributor

xremix commented Jun 13, 2016

Awesome! I guess this is the best news of the day and I am so glad to get this working again. @w0lfschild, thanks a lot for your effort and getting this back to live for me and all the others.

@RF18
Copy link

RF18 commented Jun 13, 2016

@w0lfschild Can't even express enough thanks! Great breakthrough! Confirmed working on 10.11.5

PS, quick question for you guys- I vaguely remember flashlight being able to navigate google searches and than clicking links within spotlight and never having to open a web browser-but right now when you navigate through flashlight and click on a link from a search- it opens up on a new window in your browser instead of through the spotlight interface. Has something been lost in transition to get a working flashlight for 10.11.x? anyways it's not a major issue just wondering if maybe my plug in needs to be reinstalled or it doesn't work for you guys as well.

Thanks again though @w0lfschild!! Back to power using!

@w0lfschild
Copy link

@avaidyam

But does it work on macOS 12 Sierra? 🙄

As of the first build yes:

screen shot 2016-06-13 at 4 23 52 pm

@remirpn
Copy link

remirpn commented Jun 27, 2016

Awesome news ! Thank you very much, works perfectly !

@schwantuschke
Copy link

schwantuschke commented Jun 30, 2016

I need to Disable System Integrity Protection (like #537 (comment)) on Sierra?

@w0lfschild
Copy link

@foomep yup all systems above Yosemite come with System Integrity Protection which needs to be disabled once to install a helper.

@rafenden
Copy link

rafenden commented Aug 8, 2016

@w0lfschild For some reason after following instruction my icons in Chrome has changed:

image

Thank you @w0lfschild, Flashlight now works fine.

@wickles
Copy link

wickles commented Aug 8, 2016

Not sure what that has to do with this? But that's just the new material look in Chrome, made default in v51/52+ depending on your OS. You can disable it in chrome:flags...

@rafenden
Copy link

rafenden commented Aug 8, 2016

@wickles thank you, my flag was set to "Default" so I had to change it to "non-material", I was just confused, it happened just after disabling the System Integrity Protection.

@LouisCAD
Copy link

LouisCAD commented Aug 9, 2016

@rafalenden Beacause the Chrome update was installed, and changes were applied after your reboot restarted Chrome too

@vhristev
Copy link

vhristev commented Oct 5, 2016

I tried on Sierra but its not working for me:
OS X version: 10.12 (16A323)

Disable SIP
Install mySIMBL and i got some error at the first install but after the 2nd it fine.
Now in mySIMBL i see plugin SpotightSIMBL is enabled.
Start Flashlight and tried some of the plugins but its not working.

I enable SIP again but at some reason its not working for me. Back in Yosemite days when I was using Flashlight i notice regular crashes and after disable / enable its back again but this workaround its not working.

@vhristev
Copy link

vhristev commented Oct 5, 2016

I uninstall everything and start from scratch and now Flashlight is working don't know what was the root cause.

@mesqueeb
Copy link

I hope Flashlight will ever come out properly again. I can't wait!!
It was the best thing since bread came sliced. My favourite function was: gi anything e.g.: gi suez canal for INSTANT image results without having to open a browser.

What was yours?

@JMY1000
Copy link

JMY1000 commented Jun 14, 2017

@mesqueeb I doubt we'll see an official release by nateparrot. Check out w0lfschild's fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests