<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Creating and deploying chatbot with python, poetry and nix</title>
        <link>https://diode.zone/videos/watch/e5bdc2f9-da0b-4864-83ba-eef4861af45b</link>
        <description>Will implement telegram chatbot, which downloads video from youtube and sends it to the chat. Python dependencies will be resolved with poetry, however environment will be built by nix from flake.nix and poetry.lock files, additionally non-python dependencies will be managed by the same mechanism. It will allow to deploy this app easily to the server recreating the same environment on it. Repository with chatbot: https://github.com/abcdw/tgytdl Repository with configs: https://github.com/abcdw/rde 0:00 Introduction 0:44 Goals for today 1:40 Python packages and virtualenvs 5:00 nix-shell 7:30 poetry, flake and nix integration, setting up dev environment 15:00 Implementing simple echo chatbot 19:20 Getting video url with regular expressions 23:00 Preparing youtube-dl cmd 27:20 Implementing download_video 33:30 Replying with downloaded video 40:00 Making a nix package 50:30 Writing a NixOS configuration and building OS 58:40 Deploying built OS to AWS 1:04:20 Adding bot to OS 1:08:20 Adding systemd unit for autostarting bot 1:16:00 Q&amp;A</description>
        <lastBuildDate>Tue, 20 Oct 2026 11:41:10 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://diode.zone</generator>
        <image>
            <title>Creating and deploying chatbot with python, poetry and nix</title>
            <url>https://diode.zone/lazy-static/avatars/61b689b7-84d5-43c7-9fa8-e63a7fd1d952.png</url>
            <link>https://diode.zone/videos/watch/e5bdc2f9-da0b-4864-83ba-eef4861af45b</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://diode.zone/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://diode.zone/feeds/video-comments.xml?videoId=e5bdc2f9-da0b-4864-83ba-eef4861af45b" rel="self" type="application/rss+xml"/>
    </channel>
</rss>