#!/bin/bash grep '^DATABASE_URL=' /opt/ai-fresh-delivery/server/.env | node -e " let s=''; process.stdin.on('data',d=>s+=d); process.stdin.on('end',()=>{ const u=new URL(s.trim().replace(/^DATABASE_URL=/,'')); console.log('host:', u.hostname); console.log('port:', u.port||'5432'); console.log('database:', u.pathname.slice(1)); console.log('user:', u.username); console.log('password:', decodeURIComponent(u.password||'')); }); "