DEV Community

NovixoTech
NovixoTech

Posted on

I built a network intelligence engine for JS apps that handles offline, encryption, failover and more

 Most JavaScript apps break on bad networks.

Requests fail silently. Users lose data. Payments
duplicate. On 3G, 2G, or unstable connections —
which is the reality for millions of users in Africa,
Asia, and anywhere outside major cities — apps behave
unpredictably.

I built novixo-engine to solve this.

What it is

A network intelligence engine that sits between your
app and the network. It handles everything
automatically — offline queuing, smart retries,
encryption, failover, deduplication, and more.

Install

npm install novixo-engine

Quick start

import Novixo from "novixo-engine";

await Novixo.init({
syncHandler: async (item) => {
const res = await fetch("/api/sync", {
method: "POST",
body: JSON.stringify(item),
});
return res.ok;
},
onSyncSuccess: (item) => console.log("Synced:", item.id),
});

await Novixo.send({ type: "message", payload: { text: "Hello" } });

Key features

  • Offline queue (IndexedDB / AsyncStorage)
  • 4-state network detection
  • AES-256-GCM encrypted queue
  • Transaction integrity — exactly-once delivery
  • Endpoint failover
  • Optimistic UI
  • Deduplication
  • Ordered execution
  • TypeScript ready
  • React Native support

Live demo

Try every scenario live — no install needed:
https://novixotech.github.io/novixo-demo

GitHub

https://github.com/NovixoTech/novixo-engine

Built this from scratch. Would love feedback on
the API design, missing features, or anything
that could be improved.

Top comments (0)