Skip to content

CodedByManish/QuickPaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 QuickPaste

Fast. Minimal. Secure. Instantly share text, files, and links — zero friction, maximum speed.

Live Demo PHP TailwindCSS


🚀 Overview

QuickPaste is a lightweight utility designed for developers and power users who need to move data across devices without the bloat of accounts or databases.

🧩 Core Features

  • ✍️ Smart Text Sharing: Rich text support with instant unique links.
  • 📂 File Hosting: Support for uploads up to 100MB with built-in previews.
  • 🔗 URL Shortener: Clean routing and instant redirection.
  • 🎯 Performance: No database required; uses a high-speed file-based system.

📁 Folder Structure

quickpaste/
├── 🗄️ DB/            # File-based storage system
├── ⚙️ php/           # Logic (Save/Upload/Shorten)
├── 📦 includes/      # Layout (Header/Footer)
├── 🎨 assets/        # Frontend (CSS/JS)
└── 📄 index.php      # Main entry point

🖼️ Preview

📝 Text 📁 File 🔗 S-URL
Input
txt-in
Output
txt-out
Input
file-in

Output
file-out
Input
surl


Output
[Load the url and redirect to the original link[

⚙️ Requirements

  • PHP 7.0+
  • Apache Server (XAMPP / CPanel)
  • .htaccess support enabled

🚀 Setup Instructions

  1. Upload all files to your hosting root directory.

  2. Ensure the following folders are writable (set permissions to 0777 if necessary):

    /pastes/
    /uploads/
    php/shorten_url.php
  3. Update the base URL in the following PHP files:

    // Example in save_paste.php
    $baseUrl = 'https://niggapaste.kesug.com';
  4. Launch index.php in your browser and test the app.


🔒 Security Notes

  • ✅ All inputs are sanitized to prevent XSS attacks
  • 🔐 Unique paste IDs are generated using PHP's random_bytes() for enhanced security

🔗 Example Links


📜 License & Usage

This project is public for viewing only.

  • ❌ Do not rehost, redistribute, or use this project commercially without explicit permission.
  • ✅ Allowed for personal and educational exploration.
  • 🔒 Only authorized contributors may modify the codebase.

Built for the @CodedByManish

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors