Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skitsanos/openresty-njs
OpenResty with NJS bundled. Bash script to build the whole thing from sources
https://github.com/skitsanos/openresty-njs
nginx nginx-configuration nginx-js nginx-module nginx-njs njs openresty
Last synced: about 1 month ago
JSON representation
OpenResty with NJS bundled. Bash script to build the whole thing from sources
- Host: GitHub
- URL: https://github.com/skitsanos/openresty-njs
- Owner: skitsanos
- License: mit
- Created: 2020-11-12T13:14:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T10:07:09.000Z (about 1 year ago)
- Last Synced: 2024-11-15T09:16:28.261Z (3 months ago)
- Topics: nginx, nginx-configuration, nginx-js, nginx-module, nginx-njs, njs, openresty
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openresty-njs
OpenResty with NJS bundledThe purpose of this project is to create a platform that uses [OpenResty](https://openresty.org/en/) as the core and ads nginx NJS as additional functionality, so both Lua and JavaScript programming languages can be used to develop HTTP route handlers.
### OpenResty
OpenResty® is a full-fledged web platform that integrates our enhanced version of the Nginx core, enhanced version of LuaJIT, many carefully written Lua libraries, lots of high quality 3rd-party Nginx modules, and most of their external dependencies. It is designed to help developers easily build scalable web applications, web services, and dynamic web gateways.### NJS
[njs](https://nginx.org/en/docs/njs/) is a subset of the JavaScript language that allows extending nginx functionality. njs is created in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later extensions### Building your OpenResty+NJS bundle
```shell
chmod +x ./build-from-sources.sh
sudo ./build-from-sources.sh
```Get some patience, it takes some time ...
### Additional info
- [NGINX JavaScript examples](https://github.com/nginx/njs-examples/)
- [NJS Learning Materials](https://github.com/soulteary/njs-learning-materials)