This commit is contained in:
2026-02-15 19:16:18 +01:00
commit 96ab29b481
8 changed files with 422 additions and 0 deletions

10
app.mjs Normal file
View File

@@ -0,0 +1,10 @@
import { Stream_Relay } from './stream-relay.mjs';
import { Unix_Socket } from './unix-socket.mjs';
import fs from 'node:fs';
const source_stream = fs.createReadStream('/logsock/gitea.fifo');
const target_socket = new Unix_Socket('/logsock/external.sock');
const relay = new Stream_Relay(source_stream, target_socket);
relay.serve();