Welcome to CodeSnap, a lightweight app for creating, sharing, running, and viewing code snippets with ease. Built to simplify code sharing, CodeSnap enables users to generate a shareable link for any snippet, making collaboration more efficient and accessible.
CodeSnap was created to provide an easy-to-use solution for sharing code snippets, making collaboration faster and more intuitive. The platform supports syntax highlighting, code editing, and live code execution, so you can showcase and test code within seconds.
- Real-time Code Editor: Built with Monaco, the editor offers syntax highlighting, code completion, and error handling.
- Live Code Execution: Test code snippets in real-time.
- Firebase Integration: Reliable backend for storing, retrieving, and managing snippets.
- Responsive Design: Optimized for both desktop and mobile.
- Sharing Made Easy: Generate and share links with a single click.
- Node.js (>= 20.0.0)
- npm (>= 10.0.0) or yarn (>= 1.22.0)
-
Clone the repository:
git clone https://github.com/RanitManik/CodeSnap.git cd CodeSnap
-
Install dependencies:
npm install
or
yarn install
To start the development server, run:
npm run dev
or
yarn dev
Open your browser and navigate to http://localhost:5173
to interact with CodeSnap.
To build the application for production, run:
npm run build
or
yarn build
The built files will be located in the dist
directory.
To lint your code, run:
npm run lint
or
yarn lint
To format your code, run:
npm run format
or
yarn format
Contributions to CodeSnap are welcome! To contribute:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature-name
-
Make your changes and commit them with clear, descriptive messages.
-
Push your changes to your fork:
git push origin feature-name
-
Open a pull request, detailing the changes and improvements you’ve made.
Environment | Link |
---|---|
Development Server | beta.codesnap.pro |
Production Server | codesnap.pro |
Social Media | Username | Link | |
---|---|---|---|
[email protected] |
|||
Ranit Manik |
|||
ranit_manik_ |
|||
RanitKumarManik |
Feel free to reach out if you have questions or just want to chat about web adventures!
This project wouldn't be possible without the collaboration and resources of the developer community. Thanks to the community and tools like React and Nextjs. Special appreciation goes to friends and family. I hope it inspires further learning.
Thank you for using CodeSnap! Happy coding! 👨💻