onkar69483 / CodeDrop

CodeDrop allows you to easily paste and share code snippets with others. Set expiration times for automatic deletion and ensure secure, temporary sharing. Perfect for quick collaborations and ephemeral exchanges. https://codesdrop.netlify.app/ https://codedrop.vercel.app/ https://youtu.be/b1F6seHhfDo?si=-V5VxHKTBDfRTPux

Home Page:https://codesdrop.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ–₯️ CodeDrop

CodeDrop allows you to easily paste and share code snippets with others. Set expiration times for automatic deletion and ensure secure, temporary sharing. Perfect for quick collaborations and ephemeral exchanges.

🌐 Live Demo

Visit the live demo of CodeDrop hosted on Vercel: https://codedrop.vercel.app

✨ Features

  • Paste and Share: Quickly paste and share code snippets with a simple interface.
  • Expiration Times: Set custom expiration times for snippets, ensuring temporary sharing.
  • Syntax Highlighting: Automatic syntax highlighting for improved readability.
  • Responsive Design: A modern, user-friendly interface adaptable to any device.
  • Share Options: Easily share snippets with others through a generated link.
  • Download Snippets: Option to download snippets as a PDF for offline access.
  • Clipboard Copy: Copy code snippets directly to your clipboard for quick use.

πŸ› οΈ Tech Stack

  • Frontend: SvelteKit
  • Backend: Node.js, Express
  • Database: MongoDB (using MongoDB+srv for scalability)
  • ORM: Prisma
  • Deployment: Vercel
  • Syntax Highlighting: svelte-highlight
  • PDF Generation: jsPDF library
  • Clipboard Copy: clipboard.js
  • Styling: Tailwind CSS for responsive design

πŸš€ Getting Started

Follow these instructions to set up CodeDrop on your local machine.

πŸ“‹ Prerequisites

Ensure you have the following installed:

  • Node.js (version 16.x or higher)
  • npm (Node Package Manager)

πŸ› οΈ Installation

  1. Clone the Repository:

    git clone https://github.com/your-username/codedrop.git
    cd codedrop
  2. Install Dependencies:

    npm install
  3. Run the Development Server:

    npm run dev

    This will start the SvelteKit development server. Open your browser and visit http://localhost:5173 to view the application.

πŸ—οΈ Building the Project

To create an optimized production build:

npm run build

This will generate a production-ready version of your project in the build directory.

πŸ” Previewing the Production Build

To preview the production build locally:

npm run preview

🀝 Contributing

We welcome contributions from the community! Here's how you can get involved:

  1. Fork the Repository:

    Click the "Fork" button at the top right of this page to create your own copy of the repository.

  2. Clone Your Fork:

    git clone https://github.com/your-username/codedrop.git
    cd codedrop
  3. Create a Branch for Your Feature:

    git checkout -b feature/your-feature-name
  4. Make Your Changes:

    Implement your changes or new features.

  5. Commit Your Changes:

    git commit -m "Add your descriptive commit message here"
  6. Push to Your Fork:

    git push origin feature/your-feature-name
  7. Create a Pull Request:

    Go to the original repository and open a pull request, providing a clear description of your changes.

πŸ“ Contribution Guidelines

  • Follow the existing code style and structure.
  • Write clear and concise commit messages.
  • Ensure your code works by testing locally before submitting a pull request.

Thank you for contributing to CodeDrop! πŸŽ‰

About

CodeDrop allows you to easily paste and share code snippets with others. Set expiration times for automatic deletion and ensure secure, temporary sharing. Perfect for quick collaborations and ephemeral exchanges. https://codesdrop.netlify.app/ https://codedrop.vercel.app/ https://youtu.be/b1F6seHhfDo?si=-V5VxHKTBDfRTPux

https://codesdrop.vercel.app/

License:MIT License


Languages

Language:Svelte 63.6%Language:JavaScript 23.5%Language:CSS 9.4%Language:HTML 3.5%