Skip to content

Latest commit

 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Show notification on Gnome shell

Usage

For first time run in this directory in terminal
sudo ./install.bash for add path to this
application in global scope, add desktop entry
and add shell complition to.

After that you can run "learnwords" in terminal.
Or run from desktop menu.

dictionary.json

[
    {
        "summary": "thing",
        "body": "річ"
    },
    {
        "summary": "entirely",
        "body": "повністю"
    },
    {
        "summary": "afterwards",
        "body": "згодом"
    }
]

words - csv format

Column name: "summary body"

Example

thing річ
entirely повністю
afterwards згодом
homogeneous [ˌhōməˈjēnēəs] однорідний
summary body
thing річ
entirely повністю
afterwards згодом

Commands

run - run application in background.
update - get "words" file content and add to
"dictionary.json" file with transformation that
needed.
open - run gui
build - build gui application add - open words file in vi editor for manual write words check - check if word exist in dictionary

./learn_words.bash & - run application in
background process. Application repeat each 5
minutes.
kill %1 - terminate background process, when
number 1 is a process number that return in
terminal after running previus command.

For write "words" file, is made possible use
gui application.
Run ./gui/gui.js.
gui application

For update one word from terminal use:
./updateWord.js enveriable "навколишнє середовище"

If you have Simple Message extension this application push to him text to show.
Details in extensionChangeText function.

GUI

Base on GTK3, GJS and typesctipt
For build local gui app, run command npm run tsc

Require

  • GJS
  • Node.js
  • typescript(tsc)
  • jq

GUI Resources

About

Learn words of some language. Show notifications with translated words on GNOME JavaScript (GJS)

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages