Giter Site home page Giter Site logo

ayusht777 / ray.so-clone Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 218 KB

CodeSnap is a feature-rich code snippet beautifier and sharing tool, inspired by Ray.so.

Home Page: https://codesnap-xi.vercel.app

JavaScript 4.20% HTML 2.39% TypeScript 91.28% CSS 2.14%
codesnippets react reactjs shadcn-ui typescript zustand

ray.so-clone's Introduction

codesnap

CodeSnap a Ray.so Clone

CodeSnap is a feature-rich code snippet beautifier and sharing tool, inspired by Ray.so.

LinkedIn

Features

  • Syntax highlighting for 38+ programming languages
  • 11+ modern, visually appealing themes
  • 19+ monospaced font styles
  • Adjustable font sizes from small to huge
  • Toggleable background for versatile image generation
  • Dark mode support for reduced eye strain
  • Auto-detect language option for 38+ languages
  • Keyboard shortcuts for efficient control
  • Local storage persistence for user preferences
  • Random Theme Generator for quick theme selection
  • Export in multiple formats (PNG, SVG, WEBP) with customizable sizes (2x, 4x, 6x)
  • One-click copy of generated image link or image to clipboard
  • Responsive design for cross-device compatibility
  • Custom padding options for fine-tuning appearance
  • Title editing for easy snippet identification

Tech Stack

  • React
  • TypeScript
  • Vite
  • Tailwind CSS
  • Zustand
  • Shadcn UI
  • Radix UI & Icons
  • React Hot Keys Hook
  • React Hot Toast
  • HTML-to-Image
  • highlight.js

Libraries and Tools

  • highlight.js: Syntax highlighting
  • clsx and tailwind-merge: Conditional CSS classes
  • ESLint: Code linting

Running the Project Locally

  1. Clone the repository:
   https://github.com/Ayusht777/CodeSnap-Ray.so-Clone.git

2 . Install dependencies:

pnpm i

or

npm i

or

pnpm run dev
npm run dev
  1. Open your browser and visit

    http://localhost:5173
    

Contributing

We welcome contributions to Ray.so-Clone! Here's how you can contribute:

  1. Fork the repository
  2. Create a new branch: git checkout -b feature/your-feature-name
  3. Make your changes and commit them: git commit -m 'Add some feature'
  4. Push to the branch: git push origin feature/your-feature-name
  5. Submit a pull request

Please ensure your code adheres to the project's coding standards and includes appropriate tests.

License

MIT License

Acknowledgements

ray.so-clone's People

Contributors

ayusht777 avatar

Stargazers

 avatar Jhvonsky  avatar Divyanshu Sahu avatar Shawn Dsilva avatar  avatar Pedro Nevarez avatar ABHINAV DHAWAN avatar Dipanjan Mondal avatar Manu Arora avatar

Watchers

 avatar

Forkers

bestbuybaby

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.