{"id":22015201,"url":"https://github.com/ranitmanik/codesnap","last_synced_at":"2025-10-26T23:14:30.954Z","repository":{"id":260247610,"uuid":"863131423","full_name":"RanitManik/CodeSnap","owner":"RanitManik","description":"CodeSnap is a simple platform for creating, running, and sharing code snippets quickly and easily.","archived":false,"fork":false,"pushed_at":"2025-01-20T06:55:25.000Z","size":4917,"stargazers_count":3,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T10:47:20.209Z","etag":null,"topics":["authjs","codesnap","full-stack","full-stack-project","fullstack-application","fullstack-development","nextjs","nextjs14","nextui","react","vercel"],"latest_commit_sha":null,"homepage":"https://codesnap.pro","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RanitManik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ranitmanik"}},"created_at":"2024-09-25T19:09:07.000Z","updated_at":"2025-01-08T19:42:34.000Z","dependencies_parsed_at":"2024-11-20T20:21:37.053Z","dependency_job_id":"2d2d42e8-3c48-4425-88b5-9f3725cf22ec","html_url":"https://github.com/RanitManik/CodeSnap","commit_stats":null,"previous_names":["ranitmanik/codesnap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanitManik%2FCodeSnap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanitManik%2FCodeSnap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanitManik%2FCodeSnap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RanitManik%2FCodeSnap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RanitManik","download_url":"https://codeload.github.com/RanitManik/CodeSnap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236038087,"owners_count":19085152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authjs","codesnap","full-stack","full-stack-project","fullstack-application","fullstack-development","nextjs","nextjs14","nextui","react","vercel"],"created_at":"2024-11-30T04:19:55.424Z","updated_at":"2025-10-26T23:14:25.910Z","avatar_url":"https://github.com/RanitManik.png","language":"TypeScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg height=\"70px\" src=\"https://github.com/user-attachments/assets/89a292d5-674e-41de-b0de-6af88c2042b3\" alt=\"CodeSnap favicon\"\u003e\n  \u003ch1\u003eCodeSnap – Create, Run \u0026 Share Code Snippets\u003c/h1\u003e\n  \u003ca href=\"https://codesnap.pro/\"\u003eView Demo\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/RanitManik/CodeSnap/issues/new?assignees=\u0026labels=\u0026projects=\u0026template=bug_report.yml\u0026title=\"\u003eReport Bug\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/RanitManik/CodeSnap/issues/new?assignees=\u0026labels=\u0026projects=\u0026template=feature_request.yml\u0026title=\"\u003eRequest Feature\u003c/a\u003e\n  \u003cbr/\u003e  \n  \u003cbr/\u003e\n\n![excited](https://github.com/user-attachments/assets/48f47285-cfe2-41db-8b50-a6a57987c6e9)\n\n![GitHub Created At](https://img.shields.io/github/created-at/RanitManik/CodeSnap)\n![GitHub repo size](https://img.shields.io/github/repo-size/RanitManik/CodeSnap)\n![GitHub License](https://img.shields.io/github/license/RanitManik/CodeSnap)\n![GitHub stars](https://img.shields.io/github/stars/RanitManik/CodeSnap?style=default)\n![GitHub forks](https://img.shields.io/github/forks/RanitManik/CodeSnap?style=default)\n![Wakatime](https://wakatime.com/badge/github/RanitManik/CodeSnap.svg)\n\u003c/div\u003e  \n\nWelcome to **CodeSnap**, a lightweight app for creating, sharing, running, and viewing code snippets with ease. Built to\nsimplify code sharing, CodeSnap enables users to generate a shareable link for any snippet, making collaboration more\nefficient and accessible.\n\n## Table of Contents\n\n- [Overview](#overview)\n    - [Why CodeSnap?](#why-codesnap)\n    - [Technologies Used](#technologies-used)\n    - [Features](#features)\n- [Getting Started](#getting-started)\n    - [Prerequisites](#prerequisites)\n    - [Installation](#installation)\n    - [Running the Development Server](#running-the-development-server)\n    - [Building for Production](#building-for-production)\n    - [Linting and Formatting](#linting-and-formatting)\n- [Contributing](#contributing)\n- [Links](#links)\n- [Contact](#contact)\n- [Acknowledgments](#acknowledgments)\n\n## Overview\n\n### Why CodeSnap?\n\n**CodeSnap** was created to provide an easy-to-use solution for sharing code snippets, making collaboration faster and\nmore intuitive. The platform supports syntax highlighting, code editing, and live code execution, so you can showcase\nand test code within seconds.\n\n### Technologies Used\n\n\u003cp\u003e \n  \u003cimg src=\"https://img.shields.io/badge/next.js-%23000000.svg?style=for-the-badge\u0026logo=next.js\u0026logoColor=white\" alt=\"Next.js\" height=\"30px\"\u003e \n  \u003cimg src=\"https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB\" alt=\"React\" height=\"30px\"\u003e \n  \u003cimg src=\"https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge\u0026logo=typescript\u0026logoColor=white\" alt=\"TypeScript\" height=\"30px\"\u003e \n  \u003cimg src=\"https://img.shields.io/badge/postgresql-%23336791.svg?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white\" alt=\"PostgreSQL\" height=\"30px\"\u003e \n  \u003cimg src=\"https://img.shields.io/badge/Prisma-3982CE?style=for-the-badge\u0026logo=Prisma\u0026logoColor=white\" alt=\"Prisma\" height=\"30px\"\u003e \n  \u003cimg src=\"https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white\" alt=\"TailwindCSS\" height=\"30px\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/monaco-%23007ACC.svg?style=for-the-badge\u0026logo=microsoft\u0026logoColor=white\" alt=\"Monaco Editor\" height=\"30px\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge\u0026logo=javascript\u0026logoColor=%23F7DF1E\" alt=\"JavaScript\" height=\"30px\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/ESLint-4B3263?style=for-the-badge\u0026logo=eslint\u0026logoColor=white\" alt=\"ESLint\" height=\"30px\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Prettier-F7B93E.svg?style=for-the-badge\u0026logo=Prettier\u0026logoColor=black\" alt=\"Prettier\" height=\"30px\"\u003e\n\u003c/p\u003e\n\n### Features\n\n- **Real-time Code Editor**: Built with Monaco, the editor offers syntax highlighting, code completion, and error\n  handling.\n- **Live Code Execution**: Test code snippets in real-time.\n- **Firebase Integration**: Reliable backend for storing, retrieving, and managing snippets.\n- **Responsive Design**: Optimized for both desktop and mobile.\n- **Sharing Made Easy**: Generate and share links with a single click.\n\n## Getting Started\n\n### Prerequisites\n\n- **Node.js** (\u003e= 20.0.0)\n- **npm** (\u003e= 10.0.0) or **yarn** (\u003e= 1.22.0)\n\n### Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/RanitManik/CodeSnap.git\n   cd CodeSnap\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n   or\n\n   ```bash\n   yarn install\n   ```\n\n### Running the Development Server\n\nTo start the development server, run:\n\n```bash\nnpm run dev\n```\n\nor\n\n```bash\nyarn dev\n```\n\nOpen your browser and navigate to `http://localhost:5173` to interact with CodeSnap.\n\n### Building for Production\n\nTo build the application for production, run:\n\n```bash\nnpm run build\n```\n\nor\n\n```bash\nyarn build\n```\n\nThe built files will be located in the `dist` directory.\n\n### Linting and Formatting\n\nTo lint your code, run:\n\n```bash\nnpm run lint\n```\n\nor\n\n```bash\nyarn lint\n```\n\nTo format your code, run:\n\n```bash\nnpm run format\n```\n\nor\n\n```bash\nyarn format\n```\n\n## Contributing\n\nContributions to CodeSnap are welcome! To contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix:\n\n   ```bash\n   git checkout -b feature-name\n   ```\n\n3. Make your changes and commit them with clear, descriptive messages.\n4. Push your changes to your fork:\n\n   ```bash\n   git push origin feature-name\n   ```\n\n5. Open a pull request, detailing the changes and improvements you’ve made.\n\n## Links\n\n| Environment        | Link                                                       |\n|--------------------|------------------------------------------------------------|\n| Development Server | [beta.codesnap.pro](https://beta.codesnap.pro)             |\n| Production Server  | [codesnap.pro](https://www.codesnap.pro)                   |\n\n## Contact\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003e\u003c/th\u003e\n    \u003cth\u003eSocial Media\u003c/th\u003e\n    \u003cth\u003eUsername\u003c/th\u003e\n    \u003cth\u003eLink\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://cdn4.iconfinder.com/data/icons/social-media-logos-6/512/112-gmail_email_mail-512.png\" width=\"20\" /\u003e\u003c/td\u003e\n    \u003ctd\u003eEmail\u003c/td\u003e\n    \u003ctd\u003e\u003ccode\u003eranitmanik.dev@gmail.com\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"mailto:ranitmanik.dev@gmail.com\" target=\"_blank\"\u003eEmail\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/LinkedIn_logo_initials.png/480px-LinkedIn_logo_initials.png\" width=\"20\" /\u003e\u003c/td\u003e\n    \u003ctd\u003eLinkedIn\u003c/td\u003e\n    \u003ctd\u003e\u003ccode\u003eRanit Manik\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.linkedin.com/in/ranit-manik/\" target=\"_blank\"\u003eLinkedIn\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/600px-Instagram_icon.png\" width=\"20\" /\u003e\u003c/td\u003e\n    \u003ctd\u003eInstagram\u003c/td\u003e\n    \u003ctd\u003e\u003ccode\u003eranit_manik_\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.instagram.com/ranit_manik_/\" target=\"_blank\"\u003eInstagram\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/6/6c/Facebook_Logo_2023.png\" width=\"20\" /\u003e\u003c/td\u003e\n    \u003ctd\u003eFacebook\u003c/td\u003e\n    \u003ctd\u003e\u003ccode\u003eRanitKumarManik\u003c/code\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.facebook.com/RanitKumarManik/\" target=\"_blank\"\u003eFacebook\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n_Feel free to reach out if you have questions or just want to chat about web adventures!_\n\n## Acknowledgments\n\nThis project wouldn't be possible without the collaboration and resources of the developer community. Thanks to the\ncommunity and tools like React and Nextjs. Special appreciation goes to friends and family. I hope it inspires further\nlearning.\n\n---\n\n\u003cp align=\"center\"\u003e\n   Thank you for using \u003cstrong\u003eCodeSnap\u003c/strong\u003e! Happy coding! 👨‍💻\n\u003c/p\u003e\n\n","funding_links":["https://github.com/sponsors/ranitmanik"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franitmanik%2Fcodesnap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franitmanik%2Fcodesnap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franitmanik%2Fcodesnap/lists"}