How kruthikkoundinyas/typeconverter works
Project type and purpose
• This is a full-stack, server-side rendered web application (“TypeConverter”) built on Node.js and Express.js.
• Purpose: allow users to upload media files (images & videos), convert them to different formats using Sharp and FFmpeg, then download the converted output.
File structure
• Top-level:
• server.js – Express app entry point
• api/index.ts – (optional) TypeScript API module for conversion logic
• public/ – static assets (styles.css, uploaded & converted files)
• views/ – EJS templates (pages & partials) for rendering UI
• package.json & package-lock.json – dependencies & scripts
• vercel.json – deployment configuration
• Key patterns:
• MVC-style separation: views/ (V), server.js & api/ (C), file system as model/storage.
• Multipart file handling (Multer) + CLI/process wrappers (FFmpeg & Sharp) for conversion.
README insights
• Tech stack: Node.js, Express.js, Multer, Sharp, FFmpeg, EJS
• No database—uses local filesystem + temporary storage/cleanup
• Security/privacy: no cookies, no tracking, files auto-deleted on return to home