A simple real-time collaborative clipboard application built with Node.js, Express, Socket.IO, and Tailwind CSS.
- Real-time text sharing across connected clients
- Copy button for easy clipboard access
- Modern UI with Tailwind CSS
- Responsive design
- No authentication required
-
Navigate to the project directory:
cd /app/clipboard-share
-
Install dependencies:
npm install
-
Build Tailwind CSS:
npx tailwindcss -i ./src/input.css -o ./public/styles.css
-
Start the server:
npm start
-
Open your browser and navigate to:
http://localhost:3000
To watch for CSS changes during development:
npm run build:css
- Enter text in the input field
- Press the "Send" button or hit Enter
- The text appears as a card for all connected users
- Use the "Copy" button to copy text to your clipboard
- Server: Node.js with Express
- Real-time communication: Socket.IO
- Frontend: HTML, Tailwind CSS, and vanilla JavaScript
- No database (messages are stored in memory and lost on server restart)