tadashi-aikawa / obsidian-various-complements-plugin

This plugin for Obsidian enables you complete words like the auto-completion of IDE.
MIT License
599 stars 22 forks source link

Feature Suggestion: Use DuckDuckGo Autocompletion API? #179

Open chrisgrieser opened 1 year ago

chrisgrieser commented 1 year ago

So I stumbled upon this plugin for Hammerspoon (mac only), which does uses duckduckgo for autocompletion.

My first thought immediately was "how awesome would it be, if this could be integrated with Various complements!" This would allow us to get autocompletion without the need to create any local dictionaries.

I looked into the code, which is surprisingly short, and the respective API from duckduckgo seems to be super simple as well:

Pasted image 2022-11-12 15 06 11
tadashi-aikawa commented 1 year ago

Thank you for your suggestion, @chrisgrieser :)

I think It can adapt not only for DuckDuckGo but also for generic REST APIs. However, using with REST APIs (to be exact, async auto-completion) will break the structure of Various Complements.

So let me add long-term label.