Piefed
Piefed is a federated link aggregator compatible with Lemmy. If you have used Reddit before you will feel right at home
Ejabberd external auth
The easiest way to integrate an Ejabberd XMPP server with Piefed is to use the external auth script from the official Akkoma documentation. It works by directly interacting with the Piefed http API endpoint that was modeled after the Akkoma API.
Please note that these http requests are unencrypted and should only be done on the same server or in a secure internal network.