Code Monkey home page Code Monkey logo

nika's Introduction

NIKA

CI codecov GitHub License

Nika is a command-line interface (CLI) tool designed to make learning Japanese a part of your daily routine right within your terminal. This project is my first Rust application, developed to support my Japanese studies and Rust programming skills.

Features

Main Features:

  • Dictionary updater
  • Dictionary simple search
  • Random words
  • User preferences (e.g. number of daily words)
  • Study lists
  • Daily words
  • Mark word/kanji status (skipped, done, etc.)
  • Progress tracking (e.g. streak, average words per day)
  • Word details (e.g. examples, links to online dictionaries)
  • Dictionary advanced search
  • Kanji
  • Shell completion

Future Features:

  • DBpedia definitions
  • Morphological analysis of sentences
  • Daily grammar
  • Favorites
  • History
  • SRS
  • Similar words

Requirements

This project has the following requirements:

  • Rust and Cargo: Cargo is the package manager for Rust. It is needed to build and run the project.
  • Crontab: Cron is a time-based job scheduler in Unix-like operating systems. It is used in this project to maintain the dictionary updated.

Installation

Clone the repo:

git clone https://github.com/saiteki-kai/nika
cd nika/

Run the installer:

chmod +x install.sh
./install.sh

Usage

To get started with Nika, run the following command:

nika --help

The dictionary is automatically updated through a cron job every 3 days. However, if you want to update the dictionary manually, you can do so by running the following command:

nika-updater

If you want to display daily words every time you open the terminal, add the following line to your shell configuration file (.zshrc, .bashrc, ...):

clear && nika study daily -s

You can use the less command to easily scroll through the daily words:

nika study daily | less

License

The original source code of this project is licensed under the terms of the GPLv3 license.

JMDICT & KANJIDIC

This package uses the JMdict/EDICT and KANJIDIC dictionary files. These files are the property of the Electronic Dictionary Research and Development Group, and are used in conformance with the Group's licence.

The modified versions of these files are sourced from jmdict-simplified.

nika's People

Contributors

saiteki-kai 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.