pull down to refresh

As a regular Shadowchat user (from #338822 ), I always wanted it to be better integrated into PeerTube livestreams but lacked the skill/knowledge to do so.

So I decided to try my hand at vibe-coding, and coaxed Claude into making "peertube-plugin-shadowchat":

https://gitgud.io/japananon/peertube-plugin-shadowchat

https://github.com/ChanoSan/peertube-plugin-shadowchat

The "Shadowchat" plugin is a companion app to Shadowchat proper (the zero-confirmation, javascript-optional, monero-only superchat app for livestreams), which creates a Superchat button and a pop-up window in the view page of a PeerTube livestream, allowing a viewer to send a superchat without leaving the page. As a companion app, it naturally requires a Shadowchat instance to be pointed at to work. See the above linked Stasher post for more on that.

Currently, the plugin can only point to one Shadowchat instance, which is globally applied to any livestream it's enabled on. Per-user settings are more difficult by an order of magnitude, but I may attempt it some day. Due to the fact that this is a personal project, and a vibe-coded one at that, I have no plans to upload or submit it to the official PeerTube plugin catalog. But more talented programmers than myself are free to fork and modify this to add new functionality.

Also, because I couldn't find a way to limit the visibility of the checkbox to only livestreams, the option to enable XMR superchats will appear in all videos (live or non-live). However, even if the checkbox is enabled in a non-live video, it will not appear. The plugin is set to only function for livestream video. I have no idea how to fix this, sorry.

Hopefully somebody else can use this, or even improve it. Fork, modify, or refactor with my blessings.