How nutlope/blinkshot works
Project type and purpose
• BlinkShot is a full-stack, server-rendered Next.js application that lets users generate AI images in real time.
• The front end (Next.js App Router + Tailwind + React) collects prompts, the back end (Next.js API routes) calls the Together.ai inference service (using Flux Schnell), and observability is handled by Helicone and Plausible.
File structure
• Top-level files: ESLint, Prettier, Next config, Tailwind config, PostCSS, environment examples.
• app/ — Next.js “app router” pages, layout.tsx, global styles, and app/api/generateImages/route.ts for the serverless API endpoint.
• lib/utils.ts — shared helper functions.
• middleware.ts — any request-level middleware.
• public/ — static assets (images, fonts, styles).
Extract insights from the README
• Core services: Flux Schnell (model), Together AI (inference), Helicone (observability), Plausible (analytics).
• Tech stack: Next.js (front/back), Tailwind CSS, React.
• No internal database today—state is ephemeral, results are returned directly.