GithubHelp home page GithubHelp logo

jakehwll / wanikaninotify Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 48 KB

๐Ÿ”Œ A little Docker Image that pings Wanikani for Reviews/Lessons then feeds into Gotify.

Python 100.00%
gotify python wanikani docker notifications

wanikaninotify's Introduction

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

wanikaninotify's People

Contributors

jakehwll avatar

Watchers

 avatar  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.