/nasin-sona

nasin sona: o alasa e nimi

Primary LanguageTypeScriptMIT LicenseMIT

Nasin Sona: o alasa e nimi

Nasin Sona Definitions

toki! mi wile sona pona e toki pona la mi pali e ilo ni!

o sona pona kepeken ilo ni <3

Installation

You will need either Tampermonkey (for Chrome/Chromium users) or the Greasemonkey (for Firefox users). These are extensions that allow you to install userscripts.

After installed, you can open the latest userscript and you should see an install page. You can also always find the latest version of the userscript in the Releases page, the userscript should automatically update though. The userscript doesn't update at the moment, I need to find out how to make that work.

Usage

Double click an any toki pona word to open the word hint. Click anywhere that isnt a word to close it.

chrome_leoNpOyDIc.mp4

Contributing

Pull requests are very welcome!

You'll need pnpm v17 and at least Node v16. Running pnpm i will install dependency and fetch the lipu linku dataset for you.

Afterwards, running pnpm dev should create a development userscript for you to install (the one that ends with .dev.user.js). Make sure this is the only nasin pona userscript you have enabled when developing. It will rebuild every file-change, and you can refresh whatever page you're on to reload it.

Credits

Thanks to waso Wen for helping me name this project, and to kon Deni for helping me with the tagline "o alasa e nimi"

Thanks to jan Tani for making nimi.li and to Lipu Linku for hosting a public database for definitions and such