Skip to content

Instantly share code, notes, and snippets.

View ShilGen's full-sized avatar
🥷
Timelord of tech, juggling backend spells and marketing charms

Shilov Gennady ShilGen

🥷
Timelord of tech, juggling backend spells and marketing charms
View GitHub Profile
@ShilGen
ShilGen / bot.py
Created October 1, 2025 21:44 — forked from karyura44/bot.py
from aiogram import Bot, Dispatcher, executor, types
from aiogram.types import InlineKeyboardButton, InlineKeyboardMarkup
from aiogram.utils.exceptions import BotBlocked
import asyncio
import requests
bot = Bot(token="")
dp = Dispatcher(bot)
TEMPLATES = {

ШАГ 1: Настроить SSH-доступ к VPS

GitHub Actions будет деплоить проект через SSH, поэтому нам нужно создать ключ и добавить его на сервер.

1.1. Создать SSH-ключ

На локальном ПК выполни:

ssh-keygen -t rsa -b 4096 -C "github-deploy-key"

Нажми Enter несколько раз, не вводя пароль.

@ShilGen
ShilGen / wb_advco_fullstats.py
Created January 19, 2025 01:36 — forked from MikyPo/wb_advco_fullstats.py
Получение статистики рек.кампаний через Wildberries API
# Developed by MikyPo
# More code for DA here: https://dzen.ru/mikypo
# Библиотеки
import requests
import json
import time
import pandas as pd
import datetime
import locale