This bot is used for sharing song with given name via several services at once. You can find it by name @SongLinkBot in Telegram
- In DM with bot you can use
/songlink
command to get sharing links
/songlink Pink Floyd - Have a Cigar
- Via inline mode in any chat just start your message with @SongLinkBot and then paste song name Bot will show preview of song he found. Click on preview to send sharing links into chat
@SongLinkBot Pink Floyd - Have a Cigar
NB!: If you use inline mode, you should not SEND message, wait for suggestion and then click on preview
If you want to test it locally, you should create own bot via Telegram's @botfather Don't forget to enable inline mode
You will also need to create Spotify account and get clientId and clientSecret if you want to fix/improve Spotify related code
After you've cloned that repo and got bot token, you should run
$: npm i
This will install all dependencies
Then you can fill local.json file using local.sample.json as reference
After this you are ready to run the bot.
$: npm run dev // <- this will run watcher and compiler
$: npm start // <- this will run the bot
This project has TS-lint enabled so you will be warned if you are breaking the law of codestyle
You can run this bot on any computer or dedicated server with no affect on end user experience. The only point is that srcipt should be up 24/7 or bot will respond with delays, which is annoying
Tip: you can comment out services that you are no working on right now.
Please read CONTRIBUTING.md
- Danil Radkovsky - Initial work, Author of idea - Krakabek
- Alexandr Rodik - Infractructure solutions, Supporter of idea - arodik
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Idea of this bot was born in group chat where 4 people used different streaming music services
- Thanks for Telegram as this is the best messenger in 2k18