Skip to content
fodydevPublic

About

Web platform for the afrim input method.

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Repository files navigation

afrim-web

A web platform for the afrim input method engine powered by afrim-js.

Build Status  Deploy Status

Demo

Built by @pythonbrad

✨ Features

  • ⌨️ Typing practice in African writing systems (Ge'ez, Bamum, Nufi, Medumba, Ewondo, ...).
  • 🔤 Optional Afrim keyboard: type Latin letters, get your script. A hint shows what to type next.
  • 🎲 Random letter drills built from each dataset, or your own text.
  • 📈 Live WPM, accuracy and personal best.

🚀 How to deploy?

npm install
npm run build   # build afrim-input and the playground
npm start       # serve the production build on http://localhost:8080

For development, npm run dev starts a dev server with live reload (including changes made in afrim-input).

Both servers listen on port 8080 by default. Use the PORT environment variable to pick another one, e.g. PORT=3000 npm start or PORT=3000 npm run dev (PowerShell: $env:PORT=3000; npm start).

Datasets

The languages come from the afrim-data site, https://fodydev.github.io/afrim-data by default: its datasets.json lists the datasets shown in the playground.

  • Build against another afrim-data site with the AFRIM_DATA_URL environment variable, e.g. AFRIM_DATA_URL=https://example.org/afrim-data npm run build.
  • At runtime, ?dataUrl=<site> uses another site, and ?configUrl=<file> loads a single configuration (.toml or .toml.gz).

🚴 Components availables for reuse

  • ✍️ afrim-input: A js library who allow you to easily reuse the afrim on any text field.

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT).

Contribution

We are open for contribution.

About

Web platform for the afrim input method.

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages