Nyno (“Nine-oh”) is an open-source Linux workflow builder & executor without limits. Proudly build with best.js - a faster Next.JS alternative that uses Vite!
Note: Nyno depends on Best.js which needs to be installed to run Nyno.
# install Best.js
git clone https://github.com/empowerd-cms/best.js
cd best.js
npm install
npm link
cd ../
# install Nyno
git clone https://github.com/empowerd-cms/nyno
cd nyno
bun install # or # npm install
bestjserver
- Nodes contain simple YAML code to execute Linux commands.
- Next Node flow: echo "0" to execute the most left node or "1" to execute the next first node.
- Need a new function? Add a new Linux command in src/templates.
- Define custom parameters using ${custom_paramter} and send them as JSON via TCP (see example below).
Workflow JSON files in the src/tcp/routes will be automatically loaded and available via TCP. You need to restart the server after adding workflows.
For most testing/executing ease, we also released tcpman:
tcpman localhost:6001/test1 'c{"apiKey":"changeme"}' 'q{"i":1}'
Nyno TCP docs:
- Use c{"apiKey":"changeme"} to connect
- Use q{"i":"0","other_param":"user1","path":"/test1"} to execute workflow routes and use ${other_param} specified in the YAML Text.
tcpman localhost:6001/test_nyno 'c{"apiKey":"changeme"}' 'q{"i":1}'
tcpman localhost:6001/test_nyno 'c{"apiKey":"changeme"}' 'q{"i":0}'