An open API service indexing awesome lists of open source software.

https://github.com/mrrizkin/aksara

Sundanese script converter and translation
https://github.com/mrrizkin/aksara

aksara aksara-sunda converter script sundanese translation

Last synced: 7 months ago
JSON representation

Sundanese script converter and translation

Awesome Lists containing this project

README

          

# 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
-----
```javascript
const { converter } = require("aksun");

let result = converter("Kumaha Damang");
console.log(result);
```
Output: ᮊᮥᮙᮠ ᮓᮙᮀ

### CLI
```sh
aksun [options]
```

#### Example
```sh
aksun Sampurasun
```
Output: ᮞᮙ᮪ᮕᮥᮛᮞᮥᮔ᮪

```sh
aksun "Wilujeung Sumping"
```
Output: ᮝᮤᮜᮥᮏᮩᮀ ᮞᮥᮙ᮪ᮕᮤᮀ

Copy output to clipboard

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

Mac with pbcopy
```zsh
aksun "Aing maung" | pbcopy
```

Windows with clip
```powershell
aksun "Tong cicing na lawang panto, pamali" | clip
```

Available Options

```sh
-v, --version print aksun version
-h, --help print help to console
```

TODO
----
* [X] 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](https://www.google.com/get/noto/), or download sundanese font from [Kairaga.com](https://www.kairaga.com/font-sunda/ "download sundanese font")

If you are in the terminal, make sure your terminal support rendering the fonts. I use [st](https://github.com/nugrhrizki/st "my patch of st") with [JetBrainsMono Nerd Font](https://www.nerdfonts.com/font-downloads) and that's works great (although not perfect)

---

Original code from [Kairaga.com](https://www.kairaga.com/ "kairaga.com portal manuscript Sunda")
by Dian Tresna Nugraha released under GPL license