Workshop Telegram Bots with AI Template¶
This repository serves as a template for creating Telegram bots that leverage AI. You can quickly set up a development environment using GitHub Codespaces or run it locally using Docker.
Getting Started¶
Using This Template¶
To get started with the project, you can create your own copy of this template repository. Follow these steps:
- Go to the workshop-telegram-bots-with-ai-template repository.
- Click on the Use this template button located at the top right corner of the page.
- Select your account or organization and provide a name for your new repository.
- Click Create repository from template.
Setting Up with GitHub Codespaces¶
This repository is configured with a devcontainer, which allows you to easily develop in a consistent environment. To use GitHub Codespaces:
- Once you have created your repository, navigate to it.
- Click on the Code button and then select Open with Codespaces.
- Click on New codespace to launch your development environment.
The devcontainer configuration will automatically run pnpm install
to install the necessary dependencies.
Running Locally¶
If you prefer to run the project locally, you'll need to set up Docker and Visual Studio Code (VSCode) with the necessary extensions.
Prerequisites¶
- Docker: Make sure Docker is installed and running on your machine. You can download it from Docker's official website.
- Visual Studio Code: Download and install VSCode from Visual Studio Code's official website.
- Dev Containers Extension: Install the Dev Containers extension for VSCode.
Steps to Run Locally¶
- Clone your repository to your local machine:
- Open the cloned repository in VSCode.
- When prompted, select Reopen in Container. This will build the Docker container defined in the .devcontainer folder.