Code Monkey home page Code Monkey logo

anime-reminder-whatsapp's Introduction

anime-reminder-whatsapp

WhatsApp bot to notify users when a new episode airs of an ongoing anime. It uses Marika (API wrapper of the unofficial MyAnimeList API, Jikan) for retrieving the airing data of the anime and AnimeSchedule for retrieving the anime scheduled to air for the day (with respect to the local timezone). preview

Running Yourself

First of all, make sure you have Node.js & pnpm installed.

  • Clone the project and install the dependencies by running the following commands:
git clone https://github.com/LuckyYam/anime-reminder-whatsapp.git
pnpm install
  • Rename the file .env.example to .env (or you can just create a new .env file) in the root directory of the project and assign the value to the variables (reference).

  • Run the following commands:

pnpm prisma generate
pnpm prisma db push
pnpm run build
pnpm start
  • Finally, scan (from the WhatsApp of your phone) the QR code printed in the logs.

Configuration

VARIABLE REQUIRED DESCRIPTION DEFAULT VALUE
DATABASE_URL TRUE Your MongoDB connection string
PREFIX FALSE Prefix of the bot !
SESSION_DIR FALSE The name of the directory where your WhatsApp's bot session is saved auth
OWNERS TRUE WhatsApp ids of the owner(s) with country code without '+' (should be seperated by a comma and a space)

LICENSE

This project is licensed under the GNU Affero General Public License v3.0

anime-reminder-whatsapp's People

Contributors

luckyyam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.