Is it possible to get Lemmy’s search result in JSON format? E.g., to include the search in search engines like searx. That would be really awesome.
You must log in or register to comment.
Perfect. Now I take a look at searx settings and how I can integrate it.
Sounds interesting!
Big searx supporter here, absolutely agree
See https://fapsi.be/post/2967/comment/10046 for the settings in searx 😊
hmm 🤔 … Normally, the following in the settings.yml should do the trick:
- name : lemmy engine : json_engine search_url : https://lemmy.ml/api/v3/search?q={query}&page={pageno} results_query : posts url_query : post/ap_id title_query : post/name content_query : post/body categories : social media shortcut : fapsi paging : True disabled : False
But my searx instance doesn’t even seem to fetch the JSON.
Cool! You should probably make a separate post for that.