Does Lemmy have anyway to pre-fill the Create Post details from the URL? For example Reddit allows for: https://www.reddit.com/submit?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F24823114%2Fpost-to-reddit-via-url&title=Post%20to%20Reddit%20via%20URL.

I’m aware that this gets slightly tricky across instances (due to different domains), however I was hoping to build a system where the user enters their Lemmy domain, and it takes them to a page so they can create a post about a given URL.

Any ideas?

  • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 months ago

    You mean like a share button on a site that opens the lemmy Create Post page, on a user’s registered instance, with link address and title pre-filled?

    I think the federated nature of Lemmy alone makes this more trouble than it’s worth, and you’d need to consider that Lemmy users don’t all use the same web interface - some use Photon, some use Mlmym, some use Alexandrite etc. These changes would need to be introduced in each individual one most likely…

    I think it’s easier just to allow users to share the link to lemmy themselves. On desktop they can copy the link, on mobile they can share to Jerboa or whatever app, just provide the buttons for either I guess

    • Charlie FishOPA
      link
      fedilink
      English
      arrow-up
      6
      ·
      7 months ago

      For Mastodon there is something called Tootpick which allows you to enter your server’s domain and share any content by redirecting the user. For example: https://tootpick.org/#text=https://eventfrontier.com/post/37808. So I’m not quite sure the federated nature argument makes sense. Sure it’s more complicated that a centralized system, but possible regardless.