Hi everyone, I was trying to create a link sharer that works across Lemmy instances. The idea was to convert the federated url to a local url by using the api. You would save your instance of preference with the website, and it auto directs after a few seconds. However, I ran into one major problem. Both the search and resolveObject endpoints require authentication to do what I needed it to do.
An alternative would be to redirect to the search page, but that wouldn’t be much more convenient than just doing it yourself.
Does anyone have other ideas for tools (or etc) that could benefit us Lemmy users?
I already got a domain for this project, lemmy.express, but in the worse case someone could use it to run an instance on it.
Your redirect idea would probably work excellently as a browser extension — there are are redirect extensions like that for Mastodon already, actually.
As for the domain… the only thing I can think of would be, like you said, a Lemmy instance.
Firefox already has the Lemmy Link extension to do this. It seems to work pretty well from what I’ve seen.
Ooh nice, and it is also available on chrome.
Yeah a browser extension could be a good alternative. I was initially hoping to use a website based tool so that it could work regardless of the users platform / browser. And specifically mobile.
I had to do something similar for the search engine I’m working on. What I’m currently testing is indexing the
api/v3/post/list
endpoint and matching on theactor_id
to the internalid
. The only major problem with this is that I now need to crawl the entire fediverse in order to support all of the different sites.Oh wow, that’s also a huge undertaking! It is kinda sad that the
api/v3/resolve_object
endpoint was working without auth before the 0.18 release. Maybe I can see if we can get an api endpoint specifically for this? Without needing auth and without returning all the post information that we aren’t interested in.