Skip to content

VanishInk is a full-stack service built for sharing code, text snippets and and multi-file uploads that automatically vanish after a set period. It provides a seamless experience for developers to quickly share and collaborate.

Notifications You must be signed in to change notification settings

aslams2020/VanishInk-Snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanish-Ink

A full-stack service for sharing code snippets, text, and files that automatically vanish after a set period.

Built with a React frontend and Spring Boot backend, VanishInk provides a seamless experience for secure, temporary content sharing.

Frontend (React) → Backend (Spring Boot) → Database (MySQL)
       ↑                    ↓
       └────→ Cloudinary (File Storage)

✨ Features

Core Functionality🔥

  • Instant Sharing: Generate unique, shareable links with one click
  • Multiple Content Types: Support for text, code, images, and files
  • Smart Expiration: Automatically deletes content after configurable durations
  • One-Time Links: "Burn after reading" option for sensitive information

User Experience🍀

  • QR Code Generation: Quick mobile sharing with generated QR codes
  • Responsive Design
  • Copy Functionality: One-click copy for both links and content
  • Syntax Highlighting: Beautifully formatted code with language detection

Advanced Features⚡

  • Multiple File Upload: Upload and share multiple files simultaneously
  • File Management: Intuitive interface for adding/removing files before submission
  • Custom Expiration Times: Flexible duration settings (minutes, hours, days, weeks)
  • Real-time Validation: Client and server-side input validation
  • Automatic Cleanup: Scheduled database maintenance

🛠️ Tech Stack

Frontend

  • React.js
  • QR Code generation
  • CSS3

Backend

  • Spring Boot
  • Spring Data JPA with Hibernate
  • MySQL Database
  • Cloudinary API Integration for file storage
  • Scheduled tasks with Spring Scheduler

Deployment

  • Vercel.com for Frontend
  • Render.com for Backend
  • MySQL managed database (h2 database temporarily)
  • Cloudinary CDN for file storage

🚀 How It Works

  1. Create → Paste text/code or upload files, add title, set expiration time
  2. Share → Copy the unique link or scan QR code
  3. Access → Recipients view content before expiration
  4. Vanish → Content automatically deleted after expiration or first view

🗂️ Database Schema

Vanish Table

  • id, vanish_id (unique 8-char identifier)
  • title, content (text), content_type (TEXT/FILE/IMAGE)
  • created_at, expires_at, is_one_time
  • file_url (for backward compatibility)

FileMetadata Table

  • id, original_file_name, file_url (Cloudinary)
  • file_size, file_type, vanish_id (foreign key)

About

VanishInk is a full-stack service built for sharing code, text snippets and and multi-file uploads that automatically vanish after a set period. It provides a seamless experience for developers to quickly share and collaborate.

Topics

Resources

Stars

Watchers

Forks