GithubHelp home page GithubHelp logo

cleverbotdev / vk-to-telegram Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asymptotee/vk-to-telegram

0.0 0.0 0.0 8.78 MB

Перенос сообщений из вк, в телеграм и наоборот

Python 97.63% Dockerfile 2.37%

vk-to-telegram's Introduction

Держи все, что нужно в лучшем мессенджере ⭐

Built with ❤︎, by saymyname

Написанный для людей бот, для переноса сообщений из вк в тг и наоборот.

Функционал

  • Пересылка сообщений из вк в телеграм и наоборот

  • Переслыка сообщений из ВК с ответом

  • Смена чата

Настройка

  1. Создать бота в телеграмме через @BotFather
  2. Открыть data.json, и в поле tg_token" написать токен который вам дал @BotFather
  3. Получите vk token с правами для сообщений, и укажите его в "vk_token"

Настройка чатов

  1. Для того чтобы добавить лс с другом, в chats.json добавьте новый элемент с любым названием, и дальше передайте id друга. Пример:{...,"nikita":"npmcursed",...}
  2. Чтобы добавить какую-то беседу, в chats.json добавьте новый элемент с окончанием _chat, и хранить в себе id чата, Пример: vk.com/im?peers=663381246&sel=c242 Id этой беседы - 242. Пример записи: {...,"my_chat":"242",...}

🚀 Запуск

  1. pip install -r requirements.txt
  2. python main.py
  3. В созданном боте в тг, пропишите /start

🐋 Docker

  1. docker pull python
  2. docker -t vk-to-telegram .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.