Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

210 B
Raw Blame
import { exec } from 'node:child_process';

export const encodeInput = (input: { text: string }) => {
  const encoded = Buffer.from(input.text).toString('base64');
  return exec(`printf '%s' '${encoded}'`);
};