Hi all,

I’ve put together some code on on Val Town that easily allows auto-publishing videos on Youtube channels to a Lemmy community.

It’s simple enough that hopefully anyone should be able to set it up, and Val Town has a free tier which should be enough for anyone to publish a few feeds for free. There’s a “README” on top showing how it’s used.

Anyway, let me know what you think! If you end up using it, I’d love to get some thoughts on how easy it was to set up etc.

  • canpolat@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I see that you have the following line in your bot:

    auth: @me.secrets.lemmee,
    

    Does that mean you are storing the JWT in your secrets? Doesn’t that mean that it will expire after some time? Wouldn’t it be better to get the JWT before performing the action? Something like this: https://www.val.town/v/canpolat.getLemmyJwt