Nyno 9.0 Open-Source Release: For the Lovely Frontend Developers (Connect Nyno securely to any Frontends, Docker-friendly Persistent Postgresdb and more
It's finally here: Nyno 9.0.
What's special about this release (besides the version literally being called "Nine" and "O") is that the API is now finally stable and secure for frontend developers to use.

This one is for the frontend developers.
Build visually, call workflows in HTML.
- Nyno now automatically creates secure APIs from .nyno files in the workflow-enabled directory, so you can use them like:
<script>
fetch("http://localhost:9057/api/v1/flow.nyno", {
method: "POST",
headers: {
Authorization: "Basic " + btoa("john@example.com:my-secure-password")
},
body: JSON.stringify({
prev: "Hello, can you summarize this text?"
})
})
.then(r => r.json())
.then(console.log);
</script>
You can now create (test) accounts with one HTTP request
Since API keys are not safe for the frontend, you can now create accounts on demand:
curl -X POST "http://localhost:9057/api/v1/users" -H "Authorization: change_me" -d "{\"email\":\"john@example.com\",\"password\":\"my-secure-password\"}"
The Docker Image now includes a persistent database.
- Thanks to a few edits, Postgres data now persist when using Docker, so you keep your data even after reboot:
mkdir -p ~/nyno/{pgdata,workflows-enabled}
docker run -d \
-p 9057:9057 \
-v ~/nyno/pgdata:/nyno/pgdata \
-v ~/nyno/workflows-enabled:/nyno/workflows-enabled \
flowagi/nyno