forgeflux-org / starchart

Software forge spider
GNU Affero General Public License v3.0
13 stars 2 forks source link

[integration] Possibly integrate starchart-based repository search into duckduckgo instant answers #11

Open MoralCode opened 1 year ago

MoralCode commented 1 year ago

It seems the repo has been archived now, but duckduckgo had a repository that seems to contain the code behind an instant answer to provide git results

https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/share/spice/github/github.js

Screenshot_20221126_144518

having this include repository results from places other than just github (like codeberg) would be amazing and could reach a LOT of people.

Its probably more of a stretch goal for once starchart has hit maturity and/or has a few popular instances that everyone federates with

realaravinth commented 1 year ago

Hello :wave:,

Great idea. if DDG isn't open for addition, I think I can write a plugin for searx. But before that, I'd like to implement opensearch, so that folks can add starchart as a search engine to their browser and search directly.

MoralCode commented 1 year ago

implement opensearch, so that folks can add starchart as a search engine to their browser and search directly

AFAIK most browsers support adding custom search engines, you just have to provide a url with a placeholder for the browser to fill in the query. If it were me, I would probably wait to implement opensearch until the utility of doing so as a browsers default search engine has been assessed by real users (via the method above, i can send some screenshots or throw together a quick guide if starchart already has a url that i can use to make queries).

unless the goal is for starchart to become a general purpose search engine (or if im just toally misunderstanding and implementing opensearch will help other general purpose search engines provide functionality like the DDG instant answer i mentioned) I'm skeptical about the value of putting time into opensearch implementation compared to other things that might be better for helping bring starchart to maturity or increase adoption (such as having a similar "instant answers" feature in as many general purpose search engines that will accept it: brave search, searx, or whatever else developers mostly use)