Skip to content

mrrizkin/aksara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aksun

Sundanese script converter and translation [WIP]

Introduction

Aksun or Aksara Sunda (or Sundanese script) is a program for converting Latin script to Sundanese script easily. Also useful for translating from or to Sundanese language with or without Sundanese script.

Usage

const { converter } = require("aksun");

let result = converter("Kumaha Damang");
console.log(result);

Output: ᮊᮥᮙᮠ ᮓᮙᮀ

CLI

aksun [options] <input>

Example

aksun Sampurasun

Output: ᮞᮙ᮪ᮕᮥᮛᮞᮥᮔ᮪

aksun "Wilujeung Sumping"

Output: ᮝᮤᮜᮥᮏᮩᮀ ᮞᮥᮙ᮪ᮕᮤᮀ

Copy output to clipboard

Linux with xclip

aksun "Nami abdi Rizki, anjeun tiasa nyauran kuring Iki" | xclip -selection c

Mac with pbcopy

aksun "Aing maung" | pbcopy

Windows with clip

aksun "Tong cicing na lawang panto, pamali" | clip
Available Options
-v, --version           print aksun version
-h, --help              print help to console

TODO

  • CommandLine Interface (node.js)
  • Shell script version (for easy integration with other scripts)
  • C version (for multi-platform)

Troubleshoot

If you see square instead of glyps, make sure you install noto fonts, or download sundanese font from Kairaga.com

If you are in the terminal, make sure your terminal support rendering the fonts. I use st with JetBrainsMono Nerd Font and that's works great (although not perfect)


Original code from Kairaga.com by Dian Tresna Nugraha released under GPL license

Releases

No releases published

Packages

No packages published