https://github.com/ironjanowar/spotify_uri_bot
Bot that parses Spotify URIs and gives information about a song, artist, album or playlist
https://github.com/ironjanowar/spotify_uri_bot
elixir spotify spotify-bot telegram-bot
Last synced: 2 months ago
JSON representation
Bot that parses Spotify URIs and gives information about a song, artist, album or playlist
- Host: GitHub
- URL: https://github.com/ironjanowar/spotify_uri_bot
- Owner: Ironjanowar
- Created: 2019-03-12T20:45:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-30T20:43:37.000Z (over 2 years ago)
- Last Synced: 2025-04-01T21:03:50.033Z (3 months ago)
- Topics: elixir, spotify, spotify-bot, telegram-bot
- Language: Elixir
- Homepage:
- Size: 84 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Run it
Create a bot talking to ~@BotFather~ in Telegram.
Create a ~bot.token~ file with the bot token provided by ~@BotFather~, for example:
#+BEGIN_SRC shell
echo "" > bot.token
#+END_SRCCreate a ~client.token~ with the client ID and client secret from an spotify APP, the format should be:
#+BEGIN_SRC shell
echo -n ":" | base64 -w 0 > client.token
#+END_SRCCreate a release with:
#+BEGIN_SRC shell
make release
#+END_SRCStart the bot with:
#+BEGIN_SRC shell
make start
#+END_SRC* Attach and stop
To attach to the bot execute:
#+BEGIN_SRC shell
make attach
#+END_SRCTo stop the bot execute:
#+BEGIN_SRC shell
make stop
#+END_SRC