From 5253b83eb579422d8e612892aeea241b6417e0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 30 May 2022 18:21:56 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20=D8=B6=D9=81=20=D8=A7=D9=84=D9=85=D8=B4?= =?UTF-8?q?=D9=83=D9=91=D9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/scripts/mushakkil.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 packages/scripts/mushakkil.sh diff --git a/packages/scripts/mushakkil.sh b/packages/scripts/mushakkil.sh new file mode 100755 index 0000000..08716d4 --- /dev/null +++ b/packages/scripts/mushakkil.sh @@ -0,0 +1,6 @@ +#!/bin/sh +curl -sSL 'https://diac.alsharekh.org/Diac/DiacText' \ + -H "Content-Type: application/json" \ + --data-raw "$(jq --raw-input '{word: ., type: 1}')" \ + --compressed \ + | jq -r .diacWord