Hi folks!

I am a new convert coming over from Reddit. I want to build out a Lemmy React Native client. Woo!

I’m very familiar with frontend dev and react (been doing so for a solid chunk of my career), however I am quite new to the Fediverse and not entirely sure how to build federated applications.

I see the lemmy-js-client which will likely help me tremendously, but it’s not terribly documented.

Anyone else out there hacking on a TypeScript/React based Lemmy client and willing to share notes? :)

  • @[email protected]
    link
    fedilink
    English
    132 years ago

    Just started work on an iOS client today using React Native. Honestly, the lemmy-js-client is pretty straight forward even if you’re just using typehints from Typescript. Interesting issue is dealing with comments and getting those properly sorted and creating the comment chains. If you want to chat and have Discord, add me: gk#5175

  • @[email protected]
    link
    fedilink
    English
    82 years ago

    I’m seeing a bunch of “me too!” comments, which is cool. Some of you should group up and really wow us plebs :)

  • @[email protected]
    link
    fedilink
    English
    5
    edit-2
    2 years ago

    Awesome! I’m doing the same thing. Yesterday I got login, loading the first page of posts, markdown rendering, and counts for comments and upvotes working.

    It’s not even to alpha level yet, but once I get something I feel is up to snuff for a first push, the repo is at https://github.com/1hitsong/AOS/

    • RoundSparrow
      link
      fedilink
      English
      02 years ago

      Are you using the Javascript library or going directly to the /api/v3 calls?

      I’m playing around with SvelteKit client and I almost prefer going with the raw api calls like the smartphone clients are doing.

  • johnpanos
    link
    fedilink
    English
    42 years ago

    I really hope your project or some of the other alternative frontend projects take off for Lemmy’s sake. I really feel like lemmy is being held back by its UX right now.

  • @[email protected]
    link
    fedilink
    English
    32 years ago

    I’ve also started working on my own Lemmy app (in NativeScript). Maybe we should all create a community to share insights.

  • @coaleh
    link
    English
    32 years ago

    Haha! I too have wanted to do the same thing! Well… not in React - I actually wanted to use leptos because it seems neat. So ideally I’d want an API client that’d work in rust in wasm. Or maybe it’s simple enough to migrate an existing one over.

    As this is very likely just a side project for me, I may as well share my desires for any new client. One thing I’d really like to see in a Lemmy UX is a swipe based navigation like in Sync for reddit. Such a lovely way to navigate.

    Oh oh! and some decent customisation on different views (depending on communities and whims). Like big cards with previews and smaller ones with title emphasis.

    Tbh all of this is basically what Sync had. Sync was great…

    Not sure if making mobile apps these days is required as web apps can get you pretty much there with service workers etc. I guess hosting is still the main issue even though offline first apps can mitigate that a lot!

    Thank you for reading my rambles. It’s pretty much a mind dump rather than being directed at anyone etc :)

  • @cornflour
    link
    English
    22 years ago

    I just started on a lemmy web client (with typescript/next.js) as well! My goal is to make the federation experience (browsing other instances, switching between accounts across instances, etc.) better, as i think it’s a bit rough at the moment.

    lemmy-js-client is very nice in that it has input and return types for everything, but I agree that the docs could be better (it can be unclear on what each prop does).

  • @[email protected]
    link
    fedilink
    English
    22 years ago

    I’ve been wondering the same!

    Does anyone know of any Lemmy dev communities (preferably a Lemmy community but I’d settle for a Discord) dedicated to resource for software devs to learn the protocol? I’m interested in creating bots to help Reddit users and subreddits migrate here.

    • @vodnik
      link
      English
      22 years ago

      Check out Lemmy Project Chat. They link to it in the dev documentation for lemmy.