lemmy2opml: Export and import Lemmy community subscriptions

https://github.com/bunburya/lemmy2opml

I wrote a Python script that takes your Lemmy credentials and outputs your subscribed communities to an OPML file. The script can also take an OPML file as input and subscribe a user to all of the communities listed in the file.

The motivation behind the script is to allow users to:

  • easily follow their subscribed communities from an RSS feed reader;
  • back up their subscribed communities in case their account is lost or they want to migrate to a different instance; and
  • share their subscribed communities with each other, thus facilitating discoverability of communities.

Hopefully people find it helpful. More information in the README.

61 points · 3 comments · view on lemmy.world

3 Comments

fmstrat@lemmy.nowsci.com · 3 pts · 3y

First to star. Yay.

Galaxyboy_3598@lemmy.world · 2 pts · 3y

You're the hero we didn't know we needed.

rm_dash_r_star@lemm.ee · 2 pts · 3y

That would be very handy, I have a couple instances I use and would like to synchronize them. Also synchronize the inbox and profile data. That's something that should be in the code base.