Very cool @akaalias! I wish I could see orbs appearing around me in real life every time I started drifting into the past with any sort of regret. Unfortunately I am not able to use this app because I am on Windows, but it looks awesome. Maybe I should have gone with a Mac…. There go those orbs again. Quite mesmerizing!
It’s great to see you back on the forum! I hope all is well!
Hi @akaalias , your app looks incredible! Like @I-d-as I am also on Windows so unable to use
Regarding this as a plugin instead of a standalone app, I see in the FAQ you have:
I tried that. Obsidian simply is too distracting for me to get lost in a rabbithole. Having a stand-alone app helps me immerse myself.
There are already fullscreen writing plugins for Obsidian. Why not simply have your plugin go fullscreen and then there are no distractions?
You could even make the fullscreen unexitable until the app is closed, or a number of words reached.
I’ve used 750words for many years, and I really love your implementation and absolutely want to start using it. It would be amazing if you could consider turning this into a plugin…
I tried again, but got stuck at step 2 - “Verify that the count of files should update from zero to your number of markdown files”. Regardless of where the folder with notes is located, what it is called, how many notes it contains, the result is the same - the number of files does not change, 0 remains. Maybe it’s me, hahahaha.
This seems to be a weird issue I currently can’t reproduce on my machine but it’s clearly real - maybe it’s because I’ve got some weird local developer privileges.
I tried the updated version just now. The situation repeats itself and, unfortunately, the log does not show any information. There seems to be an “empty” line that you can click on with the mouse, but this does not lead to anything.
Thank you for your patience. I believe I have finally found and fixed the issue.
In short, it appears as if macOS fails (silently) to index your markdown files when the app is downloaded as a .zip file but works (yay!) when it’s a .dmg.
I tested the .dmg version and I can say that it works! Now when I select a storage, the app indexes all notes, and when I add [[, it suggest me notes. Great work, thank you very much for doing this
Fantastic @ayli.voltok , thank you for trying it out (again and again no less).
For future reference for anyone building a macOS app trying to access the contents of a folder like your Obsidian vault, I tried the following work-arounds I tried.
After failing 5 times, my “last resort” turned out to be the solution.
TLDR: Invest an extra hour and make your app downloadable as a .dmg file from the start instead of taking a well-meant shortcut of using .zip files.
A detailed run-down
Testing my obvious assumptions
Since it worked on my machine (classic), I used my gf’s computer when she wasn’t working.
I was able to replicate the issue you described.
“I believe markdown files are not indexed on your machine because…”
AppKit file permissions have changed so much recently that even the smallest deviation of what is know to work results in failure[1] (False)
According to this blog post, Dropbox may be interfering[2] which results in unexpected behavior (False)
There is a significant difference between my macOS version 13.1 and lower versions. (False)
On my machine, Obsidian’s markdown files have content-type net.daringfireball.markdown but that might not necessarily on other machines[3]. (False)
Whatever the reason, the exception/error will not fail silently but throw some information that I can use to fix it.[4] (False)
Rethinking my known risks
So I had to re-rethink my riskiest assumptions when all these experiments did not change the outcome on your machines.
So, yeah. I might have saved myself some time starting at the top. I don’t know.
But whoever reads this in the future: You’re not crazy.
Thanks!
Footnotes and references
Revised, refactored and tested several versions 1 and 2↩︎
“Watch out for Dropbox and other filesystem-bending plugins. Dropbox does some useful but unholy things to Finder and the file system in order to do its job. This might result in strange behavior when trying to access those files & folders.” – Stopped any and all Dropbox daemons on her laptop, compare before/after ↩︎
Commit 3 where I am relying on the file-extension .md to indicate a markdown file. ↩︎
“The technically sophisticated runtime protections in macOS work at the very core of your Mac to keep your system safe from malware. This starts with state-of-the-art antivirus software built in to block and remove malware. Technologies like XD (execute disable), ASLR (address space layout randomization), and SIP (system integrity protection) make it difficult for malware to do harm, and they ensure that processes with root permission cannot change critical system files.” via macOS Security and Apple Platform Security↩︎