Giter VIP home page Giter VIP logo

wkwallpaperandroid's Introduction

Wanikani Progress Wallpaper (Tasker)

Based on the scriptable project by maboesanman on WaniKani. Be sure to go thank them for creating this!

I thought it was a really cool project that deserved to have an Android version, since Scriptable is iOS only.

Setup

Import the durtles_profile.prf.xml profile into Tasker (Import button is accessed by tapping the Profiles tab whilst viewing profiles).

Navigate to the tasks tab. Click on the "Update Wallpaper" task, and adjust the following actions:

Place the updatewallpaper.js file into the tasker folder in your internal storage (This is the default path). Alternatively, place the script in your desired location and adjust the filepath:

Screenshot showing the script path

Set the api_key variable to your WaniKani V2 API key:

Screenshot showing API key setting

Optionally, you can set the buffers to any amount in pixels, if your phone has curved edges or anything else that may obscure your view of the wallpaper. This can be adjusted in the variable screen_buf, values are comma separated. Take care not to include spaces. Order is top, bottom, left, right.

Screenshot showing buffer variable

Here is an example. Below is with the buffer values all set to 0.

Screenshot showing wallpaper with no buffer

And here is the wallpaper with the top and bottom buffers set to 500, and the left and right set to 200.

Screenshot showing wallpaper with buffer

Extra Configuration

You can also change the "Set Wallpaper" action to change your home screen, or both wallpapers if you wish.

Removal

Aside from deleting the task, profile and script, there is a folder that will be generated to store your WaniKani data, as well as the most recently created wallpaper. The folder is called wkcache and is placed in the root of your internal storage. I may add a variable so this can be customised later.

Future Updates

The only thing I wish to improve right now is the font, but please raise an issue if you want to ask for a feature.

wkwallpaperandroid's People

Contributors

ungluedbike avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.