https://github.com/akscf/mod_quickjs
Alternative javascript module for Freeswitch
https://github.com/akscf/mod_quickjs
freeswitch javascript quickjs
Last synced: 9 months ago
JSON representation
Alternative javascript module for Freeswitch
- Host: GitHub
- URL: https://github.com/akscf/mod_quickjs
- Owner: akscf
- License: other
- Created: 2021-05-28T07:07:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T14:31:28.000Z (over 1 year ago)
- Last Synced: 2024-06-17T16:45:13.599Z (over 1 year ago)
- Topics: freeswitch, javascript, quickjs
- Language: C
- Homepage: https://akscf.org/
- Size: 546 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An alternative javascript module for the Freeswitch based on quickjs.
## version 1.7
- added configuration option 'use_std' for enabling functions from std/os modules
- added 'import' function for laoding so/js modules (see examples/dyn_module)
- added DBH class for interaction with freeswitch DBH
- many changes in Session (speech detection, etc)
- IVS class was removed
- odbc was removed
## version 1.6
Was an experimental version for testing some ideas
- added IVS class that helps to capture media streams and work with them
see: v16_echo.js (and other examples with v16_ prefix)
- new features in the Curl class that allows to work in asynchronous mode
see: curl_async_test.js
- new examples:
- [Stream capturing and working with chunks](https://github.com/akscf/mod_quickjs/blob/main/examples/v16_echo.js)
- [Simple transcription through the whispered](https://github.com/akscf/mod_quickjs/blob/main/examples/v16_whisperd.js)
- [Interaction with OpenAI (chatGPT+whisper)](https://github.com/akscf/mod_quickjs/blob/main/examples/v16_chatgpt.js)
- [Asynchronous requests in the Curl](https://github.com/akscf/mod_quickjs/blob/main/examples/curl_async_test.js)
## version 1.0
Quite old version, developed as a replacement for mod_spidermonkey (with capabilities to launch its scripts without changes)
- [Build and installation guide](https://github.com/akscf/mod_quickjs/blob/main/docs/installation_guide.pdf)
- [Functions](https://github.com/akscf/mod_quickjs/blob/main/docs/builtin_functions_v10.pdf)
- [Classes](https://github.com/akscf/mod_quickjs/blob/main/docs/builtin_classes_v10.pdf)
- [Examples](examples/)