GithubHelp home page GithubHelp logo

toxblh / skype-to-telegram Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 3.0 680 KB

Skype to Telegram bot, for receive your message from skype in telegram

License: MIT License

Dockerfile 3.27% TypeScript 94.12% Shell 2.61%
skype telegram telegram-bot bridge bot

skype-to-telegram's Introduction

Skype to Telegram bot

Important. MS change auth flow and at current moment it's doesn't work. But you can to help to fix login flow here https://github.com/Toxblh/skype-http-api/blob/master/src/lib/providers/microsoft-account.ts

Your skype inside the telegram

You can start the bot with use Docker or your machine

Before all

Create a .env with content

SKYPE_LOGIN=your_skype_login
SKYPE_PASSWORD=your_skype_password
TELEGRAM_TOKEN=token_from_botFather_for_telegram
CHAT_ID=your_chat_id

How to create a bot in telegram

How to get the chat id: send /echo to t.me/toxblh_bot chat.id this what you need

Docker way

Docker Hub

docker run --env-file .env toxblh/skype-to-telegram

or

git clone https://github.com/Toxblh/skype-to-telegram
cd skype-to-telegram
docker-compose up

Manual way

yarn
yarn build
node dist/index.js

Troubleshooting

If you see in the log that at the start like that

skype-bot_1  |   caused by GetLiveToken: Unable to get the Live token for Skype
skype-bot_1  |   caused by LiveTokenNotFound: Unable to find the Live token. This token is normally found in the HTML response as the value of the element with the id```

You need to open https://web.skype.com/
Login once and on question about dont exit from system answer "yes" and remember

Next to restart the docker

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.