Giter Club home page Giter Club logo

wanikaniwallpaper's People

Contributors

hexagenic avatar jonnyjd avatar justinian avatar kyrias avatar mrowqa avatar padarom avatar tsurai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

wanikaniwallpaper's Issues

Proper CLI-interface

Should take named paramters in typical unix style.
eg:
wanikaniwallaper --key my-key --resolution 1920x1080

Migrate to WaniKani API v2

The v2 API is not yet finalized, so it does not make sense to drop support for the v1 API right now, but support for the new version should be considered.

I'll gladly give an implementation with the current v2 API a try.

Theming

Should be possible to set colors for background and SRS-levels through config files and command line options.

Kanji order

Hi,

WaniKani kanji progress page contains 2027 characters and your order file which is 5 years old contains 2044 characters. I haven't read in detail your code. Sorry, haven't got enough time. Just wanted to let you know about potential problem. It's worth to have some reliable and up to date method of ordering which will display only WK kanji and exactly all of them.

Regards,
mrowqa

Proper font handling

Fonts are currendly hard-coded as an absolute path.

  • Research posibility to get list of system fonts (needs to work on linux, windows and mac)
  • If nothing is found, let font be configurable from config file/command line

Build instructions for rpm based systems

I had some trouble building the project on Fedora 38, it would be good to mention where to get the dependencies on non Debian systems.

dnf install freetype-devel jsoncpp-devel boost-devel cmake make takes care of most things, but utfcpp does not seem to be packaged for fedora at least. There is a tumbleweed rpm package, but I could not get that to work.

Besides that, maybe add cmake . && cmake --build . to the readme.

No safety check on order file

You don't validate the loading of the file order in order.cpp.
This results in an std::bad_alloc exception when order does not exist or isn't readable. Please validate the loading process and print a pretty error message when it fails :)

Tracking latest changes with some marking

Hey,

I'm using your program to generate my current progress on daily basis as one of my few wallpapers. It's great! Thank you.
Today I've got an idea: it would be cool to have somehow marked (highlight, border) these kanji which changed lately. Haven't checked the API, maybe it allow you get last time given kanji changed SRS level to Apprentice, Guru and so on*. If not, you can keep progress info in SQLite db or some text file. Then you can add a parameter as "latest changes threshold" with default value as a week or something (remember there aren't so many reviews of kanji, most of them are vocabs).
* worth giving further thought if it should differentiate Apprentice 1-4 and Guru 1-2 levels. Maybe set it as an option?

Regards,
mrowqa

README improvements

Hey,

after playing for a while with your program, I really suggest adding two pieces of information to README:

  • Mentioning that order file is important and explaining how it works. If it is not meant to be changed by user - compiling it into binary to have no dependency on it.
  • Mentioning that people can use config.ini, explaining how to use it, and even providing some config.ini.template or config.ini.example with the sources and all options. That's a cool feature, so why hiding it?

Regards,
mrowqa

Api not working via http anymore

The WK api doesn't work via http anymore and returns a 302 code redirecting to its https version. A 302 response is a vaild answer and curl doesn't throw an error but instead returns an empty string instead which libjson can't parse.
Simply using https instead fixes this error.

Segmentation fault in renderer.cpp

I'm getting a segmentation fault at renderer.cpp:73
No idea how you are handling all the rendering stuff so I didn't play around there to not make things worse.

Windows support

Project needs to be set up for compilation under Visual Studio.

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.