Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
import { describe, expect, it } from "vitest";
import { SileroSpeechActivityDetector } from "./voice-activity.js";
describe("production Silero native binding", () => {
it("loads the packaged model and classifies one silent 16 kHz window without a network service", async () => {
const detector = await SileroSpeechActivityDetector.open();
try {
expect(await detector.pushPCM(new Int16Array(512))).toMatchObject([
{ throughSample: 512, speech: false },
]);
} finally {
detector.close();
}
});
});