Sync for Reddit is dead, long live Sync for Lemmy

Ljdawson (Sync dev)@lemmy.worldmod to Sync for Lemmy@lemmy.world – 1060 points –

Morning all, Just a quick update to say I'm making good progress with the development and we just hit 24k email signups!

Lj

140

You are viewing a single comment

Exciting! Are you starting from scratch or are you able to copy portions from the old code over?

Pretty sure a lot of the boiler plate code would be the same like upvote/downvote, etc.

Just that instead of telling reddit that user pressed upvote, now the app needs to tell lemmy.

Yeah, probably. Although I know with APIs it's not always as easy because one uses HATEOAS, the other's entities look entirely different and stuff like that. Just curious whether the data structure is roughly the same, I never looked at Lemmy's Code or the Reddit API

It would be in lemmy's best interests to make their APIs as close to reddit ones as possible.

It's a little late for that, Lemmy's API is mostly in place and already being used.

Exactly the UI and the model/backend are properly separated if it follows a design pattern like MVC. So it would be pretty trivial to replace the Reddit API calls with Lemmy API calls. Except for the things that don’t exactly translate one on one.

Famous last words calling something trivial in engineering. But if there’s anyone that can it’s our man ❤️

Man. You are way more optimistic about the promises of MVC than I am. Yes it can definitely make things easier for a transition like this but I would not call it trivial.