Files
gotelegram_pro/PUSH_README.txt
anten-ka 29b6e05866 GoTelegram MTProxy + bot (gotelegram_pro)
Made-with: Cursor
2026-03-06 14:59:00 +03:00

35 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
═══════════════════════════════════════════════════════════════
Как выложить проект в GitHub (ключ давать никому не нужно)
═══════════════════════════════════════════════════════════════
1. Создайте репозиторий на GitHub
• Откройте: https://github.com/new
• Repository name: gotelegram_pro
• Выберите Private (или Public)
НЕ добавляйте README, .gitignore, License — нажмите Create repository
2. Настройте доступ к GitHub с этого компьютера (один раз)
Вариант А — по SSH (удобно навсегда):
• Установите Git: https://git-scm.com/download/win
• Создайте ключ: в терминале (Git Bash или PowerShell):
ssh-keygen -t ed25519 -C "your@email" -f "%USERPROFILE%\.ssh\id_ed25519" -N ""
• Скопируйте публичный ключ в буфер:
type %USERPROFILE%\.ssh\id_ed25519.pub
• GitHub → Settings → SSH and GPG keys → New SSH key → вставьте ключ
• Проверка: ssh -T git@github.com
Вариант Б — по токену (разовый или если не хотите SSH):
• GitHub → Settings → Developer settings → Personal access tokens
• Generate new token (classic), право: repo
• Скопируйте токен (ghp_...)
• При первом push Git спросит логин и пароль — в пароль вставьте этот токен
• Или: git remote set-url origin https://ВАШ_ТОКЕН@github.com/anten-ka/gotelegram_pro.git
3. Запустите выкладку
• Дважды щёлкните: push_to_github.bat
• Подтвердите отправку (y)
• Если всё настроено — код уйдёт в репо без ввода ключа в чат
Ключ или токен нужны только на вашем компьютере в настройках Git — никому (и ни в какой чат) их передавать не нужно.