https://github.com/mathieu2301/geniusbot
Bot that responds to messages with song lyrics obtained from the Genius API.
https://github.com/mathieu2301/geniusbot
Last synced: over 1 year ago
JSON representation
Bot that responds to messages with song lyrics obtained from the Genius API.
- Host: GitHub
- URL: https://github.com/mathieu2301/geniusbot
- Owner: Mathieu2301
- Created: 2023-06-08T18:28:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-09T16:40:49.000Z (about 3 years ago)
- Last Synced: 2025-01-15T13:30:35.419Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 31.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Genius Bot
Bot that responds to messages with song lyrics obtained from the Genius API.
Currently compatible with Telegram.
## Development
1. Install dependencies
```sh
yarn
```
2. Configuration
Create a `.env` file or set env variables:
```env
TELEGRAM_KEY=xxxxxxxxxxxxxxxx
ARTISTS=artist1,artist2,artist3 # Optional
```
3. Start
```sh
yarn dev
```
## Deployment with Docker Compose
```yml
version: '3'
services:
genius-bot:
image: ghcr.io/mathieu2301/genius-bot:latest
restart: always
environment:
TELEGRAM_KEY: ${TELEGRAM_KEY}
```