I made a *serverless* YouTube Bot in Python!

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024

ความคิดเห็น • 29

  • @uwegenosdude
    @uwegenosdude ปีที่แล้ว +2

    Hi Christian, I found your channel today. This video is really interesting. We also played around with Digital Ocean a couple of years ago. But serverless functions seem to me pretty useful. So thank you very much.

  • @warpdotdev
    @warpdotdev ปีที่แล้ว

    Very awesome video, Christian!

  • @lucaordronneau1856
    @lucaordronneau1856 9 หลายเดือนก่อน

    Thank you! Very helpful :)

    • @christianlempa
      @christianlempa  9 หลายเดือนก่อน

      Glad it was helpful!

  • @ShahinHemmati2020
    @ShahinHemmati2020 ปีที่แล้ว

    Thank you for such a educational video!
    even more videos like this one is very much appreciated 😊

  • @recursivecube44
    @recursivecube44 ปีที่แล้ว

    To solve the video delete edge case, why don't you just store the last few video IDs in the latest video text file, and then check if the latest video from the TH-cam API is in that list of IDs. If the video isn't then you do the discord post, and also add it to the front of the list of video IDs. The only issue with this approach is it requires some separate logic on first execution that would have to get the list of the latest few video IDs.

  • @Vhoover3609
    @Vhoover3609 ปีที่แล้ว

    In cases where an old video my come up as a new one in discord, store the last n ids in the file and compare new I’d against n ids from the file

  • @t-z-l
    @t-z-l ปีที่แล้ว

    Did you reach out to support? What did they tell you?

  • @kimsec
    @kimsec ปีที่แล้ว

    I’ve been trying to write a discord music bot in Python for 3 weeks now, last step now is to Get the bot to play the music, im using lavalink as backend server for music prosessing. My head hurts

  • @LampJustin
    @LampJustin ปีที่แล้ว

    Now you have to self host a serverless platform on Kuberntes yourself with OpenFaaS :P

    • @ShadowManceri
      @ShadowManceri ปีที่แล้ว +1

      "self host a serverless platform" aka hosting a server. I love these meme terms.

    • @LampJustin
      @LampJustin ปีที่แล้ว

      @@ShadowManceri yeah pretty stupid naming...

  • @notmything6629
    @notmything6629 ปีที่แล้ว +3

    Using copilot... welcome to the time of stealing others programmers code...they call it progressive. Haha

    • @J.erem.y
      @J.erem.y ปีที่แล้ว +3

      You will own nothing, and be happy.

  • @domfp133
    @domfp133 ปีที่แล้ว +1

    this is nice, Ey Chris what tool are you using for the diagrams?

    • @J.erem.y
      @J.erem.y ปีที่แล้ว +2

      It's Excalidraw

  • @DJSolitone
    @DJSolitone ปีที่แล้ว

    Nice tutorial... I may try ChatGPT to generate the code as well... Theme for the next video ? 🤩

  • @vijeyparthasarathy
    @vijeyparthasarathy ปีที่แล้ว

    Which is better..
    Truenas or Proxmox.. I have a bare metal server and dont know what to do.. confused with the os.. need guidance

    • @christianlempa
      @christianlempa  ปีที่แล้ว

      Watch my last video about the best Home Server Os :)

    • @vijeyparthasarathy
      @vijeyparthasarathy ปีที่แล้ว

      @@christianlempa
      Hi.. this is not for my home os.. its for my application hosting and got in contabo.. not for home.. sorry for the confussion

  • @murtadha96
    @murtadha96 ปีที่แล้ว

    This is REALLY interesting!

  • @timestes9455
    @timestes9455 ปีที่แล้ว

    You've mentioned that its bad practice to write secrets and tokens in plaintext in your code. However, in the example, we are putting plaintext environment variables in the project.yaml file.
    If you were using this in production, what solutions would you use to obfuscate the environment variables without committing them to the source code?

    • @mistakek
      @mistakek ปีที่แล้ว

      I think techno tim did a video on this, "Encrypt Your Sensitive Information Before Storing It - Encrypting with Mozilla SOPS and AGE"

    • @christianlempa
      @christianlempa  ปีที่แล้ว +2

      Good point! And yeah you’re right, in the video I had no time to show it. But usually I’m using the environment feature of 1Password for local development. Or when you deploy such a project in a CI CD pipeline it would be good to use GitHub Secrets. Btw… great idea for a future video xD

  • @milanm321
    @milanm321 ปีที่แล้ว

    Great video

  • @MrOnePieceRuffy
    @MrOnePieceRuffy ปีที่แล้ว

    Very nice Video. Very sad that this exactly is the way of doing it for YT, but it's great for such examples with Storage Communications. I can recommened you to do the same stuff with the Twitch API aswell.. You can't make a Video out of it tho, because it's too simple, but from there you can see how a modern Service API should works.
    With Google's pubsubhubbub you can simulate the same WebHook Solution for the YT Api aswell, but the subscribtion isn't infinity.
    The Twitch API Subscription is infinite while the status code is 200.