DROSL / kalita-js-old

A JavaScript client with a graphical user interface for Kalita, a text-to-speech software with a focus on data minimization and user privacy.

Repository from Github https://github.comDROSL/kalita-js-oldRepository from Github https://github.comDROSL/kalita-js-old

Logo Kalita

kalita-js

Kalita is text-to-speech software with a special focus on data minimization and user privacy. We do not collect any personal data, do not set tracking cookies and do not outsource our service to third-party cloud solutions. The speech synthesis takes place on-premises on your own server and still offers many of the conveniences of a conventional readspeaker.

  • kalita-server is a server written in Java that provides the speech synthesis.
  • kalita-js is a JavaScript client for integration into a website that provides a graphical user interface.

How to use

CSS

Copy-paste the stylesheet <link> into your <head> before all other stylesheets to load our CSS:

<link rel="stylesheet" type="text/css" href="kalita.css">

HTML

Add the following <div> element to a position on your page where the graphical interface should be displayed:

<div id="kalita-player"></div>

JS

Our components require the use of JavaScript to function. Place the following <script> near the end of your pages, right before the closing </body> tag, to enable them:

<script src="kalita.js"></script>

To use Kalita outside your local machine, the public address of your Kalita server must be entered in the first line of the kalita.js file.

const API_ENDPOINT = "http://{KALITA_SERVER_ADDRESS}/speak";

Disclaimer

THIS SOURCE CODE IS PART OF A PROJECT WORK FOR THE MODULES "IT SECURITY AND DIGITAL SELF-DEFENSE" (MMDAP) AND "KEY AND METHODOLOGICAL COMPETENCIES IN IT SECURITY" (SMK-ITS) IN THE WINTER SEMESTER 2020/21 AT THE OTTO VON GUERICKE UNIVERSITY MAGDEBURG UNDER THE FACULTY SUPERVISION OF PROF. DR.-ING. JANA DITTMANN, PROF. DR.-ING. CLAUS VIELHAUER, DR.-ING. STEFAN KILTZ AND ROBERT ALTSCHAFFEL.

About

A JavaScript client with a graphical user interface for Kalita, a text-to-speech software with a focus on data minimization and user privacy.

License:MIT License


Languages

Language:JavaScript 67.9%Language:HTML 30.7%Language:CSS 1.4%