Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Notify new videos from usada pekora youtube channel and reacts to text messages on discord

License

Notifications You must be signed in to change notification settings

magonxesp/usada-pekora-experiment

Repository files navigation

Usada pekora

Usada pekora discord bot, notify new videos from usada pekora youtube channel and reacts to text messages HA↗HA↘HA↗HA↘HA↗HA↘

Add pekora to discord server

pekora

⚠️ Disclaimer ⚠️

This project is developed in mind of learning design patterns, hexagonal architecture and a basic approach to DDD. So I plan to release some day a stable release with basic features but the development speed is too slow by learning things and the overengineering caused by using the design patterns mentioned above.

Build and run

Requeriments

  • Make
  • NodeJS >= 18
  • Openjdk 17
  • Gradle

Gradle and npm

Create the .env file from the .env.example files on the directories under apps directory.

$ make env-files

For build backend applications run the gradle build command. For build frontend applications run the npm install command for install dependencies and develop with npm run dev

You need a running instance of MongoDB, Redis and RabbitMQ. You can run this instances with the provided docker-compose.yml

Docker

Create .env file for containers and put its contents

$ make env-files # if you don't run it

Edit the .env.docker for the application containers and .env.infrastructure for the infrastructure containers such redis, rabbitmq and mongodb.

Run all containers

$ docker compose up -d --build

Run tests for each application

$ make docker-backend-test # for run backend tests
$ make docker-discord-bot-test # for run discord bot tests

Commands

  • peko!feed (on|off) - Enable or disable YouTube notifications on the current channel

Pekora voice

The sound triggers are configured in the new frontend (in development)

About

Notify new videos from usada pekora youtube channel and reacts to text messages on discord

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages