Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Latest commit

 

History

History
72 lines (54 loc) · 2.48 KB

README.md

File metadata and controls

72 lines (54 loc) · 2.48 KB

wanikaninotify

Please note.

This repository/project is maintenance mode, there shouldn't be any further development to this project, as it simply works!

This is a script for WaniKani to send notifications about your reviews and lessons hourly, should more than zero.

The following tech is used.

  • WaniKani (for gathering lessons/reviews count).
  • Gotify (for sending notifications to your phone).
  • Docker (for easy deployment).

Project Preview

Supported Architectures

The architectures supported by this image are amd64, arm/v7 and. arm64

Version tags

This image provides a singular version, built from the main branch.

Usage

Here are some example snippets to help you get started creating a container.

docker-compose (recommended).

# docker-compose.yml
version: "3"
services:
  waninotify:
    image: ghcr.io/jakehwll/wanikaninotify
    container_name: wanikaninotify
    environment:
      - WANIKANI_API_TOKEN= # https://www.wanikani.com/settings/personal_access_tokens
      - GOTIFY_API_URI= # https://gotify.domain.com
      - GOTIFY_API_TOKEN= # https://gotify.domain.com/#/applications
    restart: unless-stopped # optional.
docker-compose up -d

command.

# environment variables
export WANIKANI_API_TOKEN=""
export GOTIFY_API_URI=""
export GOTIFY_API_TOKEN=""
# the magic.
docker run \
  --name="wanikaninotify" \
  -e WANIKANI_API_TOKEN=${WANIKANI_API_TOKEN} \
  -e GOTIFY_API_URI=${GOTIFY_API_URI} \
  -e GOTIFY_API_TOKEN=${GOTIFY_API_TOKEN} \
  --restart unless-stopped \
  ghcr.io/jakehwll/wanikaninotify

Parameters

Parameter Function
-e WANIKANI_API_TOKEN="" The token from your Wanikani Account for the API.
-e GOTIFY_API_URI="" The Base URL from your Gotify Instance.
-e GOTIFY_API_TOKEN="" The Application Token from your Gotify Instance