Skip to content

PHP Realtime Clipboard: Effortless real-time clipboard creation and sharing with unique user IDs. No login needed—just seamless clipboard management!

License

Notifications You must be signed in to change notification settings

codeterrayt/Realtime-Clipboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📋 PHP Realtime Clipboard

Overview

Create and share your clipboards in real-time hassle-free! This PHP application generates a unique user ID for each user, eliminating the need for login or account creation. Users can effortlessly manage their clipboards by providing the unique user ID.

Features

  • Real-time clipboard creation and sharing.
  • Automatic generation of unique user IDs.
  • No login or account creation required.
  • Seamless access to all clipboards using the user ID.

Installation

Prerequisites

  • PHP installed on your server.
  • A MySQL database.
  • Git for cloning the repository.

Steps

  1. Clone the GitHub Repository:

    git clone https://github.com/codeterrayt/Realtime-Clipboard.git
  2. Import the SQL File:

    • Use a MySQL client to import the realtime_clipboard_table.sql file into your database.

      mysql -u username -p realtime_clipboard_db < realtime_clipboard_table.sql
  3. Configure your Web Server:

    • Make sure your web server is configured to serve the index.php file.
  4. Run the Application:

    • Open your browser and navigate to http://yourdomain.com to start using the Realtime Clipboard.

Usage

  1. Create a Clipboard:

    • Visit the application and create a new clipboard.
  2. Get Unique User ID:

    • Your unique user ID will be generated automatically.
  3. Access Clipboard:

    • Use the unique user ID to access your all clipboard anytime.
  4. Share Clipboard:

    • Share the clipboard link with others for real-time updates.

File Structure

  • index.php: Main application file.
  • realtime_clipboard_table.sql: SQL file for database setup.

Docker

  1. Docker Compose Up

    docker-compose up -d
    
  2. Visit

    open localhost in browser
  3. PHPMYADMIN

    open localhost:8080 

Notes

  • This application is designed for passwordless access for user convenience.
  • The unique user ID serves as the key to access all clipboards.
  • Ensure proper security measures before deploying in a production environment.

🚀 Happy Clipboarding! 📎