CodeShare

Vibe Coded

The Story Behind CodeShare

Built in less than 4 hours with Cursor AI. Sometimes the best code comes from a good vibe and a clear problem to solve.

The Tweet That Started It All
This tweet from Sahaj perfectly captured the problem I wanted to solve
The Solution

I built CodeShare to be the simplest possible solution:

  • No accounts required - just upload and share
  • Universal access - works with any text editor
  • CLI-friendly - uses curl, the most universal tool
  • Permanent storage - no expiration, no cleanup
  • Private files - optional access codes
The Build Process

Planning (1 hour)

Pondered the idea and decided on Next.js because I can.

Development (3 hours)

Built with Cursor AI in less than 4 hours. Used existing tools instead of re-inventing the wheel.

Why curl?

Too lazy to build a custom CLI tool. Curl is universal, available everywhere, and does exactly what I need.

Tech Stack

Frontend

  • • Next.js 15 with App Router
  • • TypeScript
  • • Tailwind CSS
  • • shadcn/ui components

Backend

  • • PostgreSQL with Drizzle ORM
  • • Oslo (Argon2id) for auth
  • • Direct file content storage
  • • REST API endpoints

Tools

  • • Cursor AI for development
  • • curl for CLI access
  • • react-syntax-highlighter
  • • pnpm for package management
Built by Destiny Dinam

Vibe coded with Cursor AI in less than 4 hours. Sometimes the best solutions come from a good vibe and a clear problem to solve.