Skip to content

ivdepaste means pastehere in malayalam :) trying make a better pastebin using nextjs,shacn/ui and typescript. feel free to post issues and pr's. I'll change the whole backend to Go + MongoDB feels more flexible.

Notifications You must be signed in to change notification settings

lijuuu/ivdepaste

Repository files navigation

ivdepaste - A simple file sharing and code snippet platform built with Next.js.

Project Overview

ivdepaste lets you easily share files and code snippets. Whether you want to quickly share some code or upload files, it's got you covered.

Demo Video

Here’s a quick demo of ivdepaste current progress:

Watch the demo video)

Tech Stack

  • Frontend: Next.js 14+ with TypeScript
  • Database: Supabase (PostgreSQL) I'll rewrite the backend completely on golang with flexible json database like mongodb next week, postgres feels so rigid for a application like this.
  • Authentication: Supabase Auth
  • ORM: Prisma (changing to Golang ODM for MongoDB)
  • File Storage: Supabase Storage
  • Styling: Tailwind CSS

Features Roadmap

Phase 1: Core Infrastructure

  • Project setup with Next.js 14+
  • Supabase integration
  • Prisma setup
  • Basic authentication
  • File upload system
  • Core database schema

Phase 2: File Management

  • Multi-file upload support
  • File preview system
    • Code files
    • Images
    • PDFs
    • Text files
  • File organization structure
  • Storage quota management
  • File sharing mechanisms

Phase 3: Code Features

  • Code editor integration
  • Syntax highlighting
  • Multiple language support
  • Code snippet management
  • Version control integration
  • Collaborative editing

Phase 4: User Experience

  • Customizable dashboard
  • Dark/Light theme
  • Search functionality
  • Tags and categories
  • Sharing options
  • File/Code analytics

Deployment Strategy

  1. Development: Vercel Preview Deployments
  2. Production: Vercel Production
  3. Database: Supabase Project
  4. Storage: Supabase Storage

Security Considerations

  • File type validation
  • Upload size limits
  • Rate limiting
  • Access control
  • File encryption
  • Secure sharing links

Performance Optimizations

  • Image optimization
  • Lazy loading
  • Incremental Static Regeneration
  • Edge caching
  • Chunked uploads

Monitoring

  • Supabase Dashboard
  • Vercel Analytics
  • Custom logging system

About

ivdepaste means pastehere in malayalam :) trying make a better pastebin using nextjs,shacn/ui and typescript. feel free to post issues and pr's. I'll change the whole backend to Go + MongoDB feels more flexible.

Resources

Stars

Watchers

Forks