An open API service indexing awesome lists of open source software.

https://github.com/losparviero/lastfm-telegram-bot


https://github.com/losparviero/lastfm-telegram-bot

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Last.fm Telegram Bot

Get recent listens of any profile in Telegram!


### Install

1. Clone git repo.
2. Run ```npm i``` in project folder. This will install the required dependencies.
3. Populate .env file with bot token & API credentials.

#### Bot token can be obtained from @BotFather.

#### API credentials can be obtained from Last.fm.

4. Run ```node bot``` to start the bot.

#### It's advisable to run the bot using PM2 or any startup manager for persistent execution.


### Uninstall

1. Use ```rm -rf```.

*Note:* If you're unfamiliar with this command, delete project folder from file explorer.


### Mechanism

The bot takes uses the lastfmapi lib to fetch recently played tracks.


Copyright (C) 2023 Zubin

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .