Skip to content

Welcome to CodeSnap, an open-source project inspired by Carbon.now.sh. This project allows you to create and share beautiful images of your source code with a simple and intuitive interface. The backend is powered by Flask, and the frontend is built with Next.js.

License

Notifications You must be signed in to change notification settings

MuhammadSaim/CodeSnap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeSnap

CodeSnap is an open-source project inspired by Carbon.now.sh. It allows users to create and share beautiful images of their source code with a simple and intuitive interface. The project consists of a Flask backend and a Next.js frontend.

Table of Contents

  1. Project Structure
  2. Features
  3. Getting Started
  4. Running the Application
  5. Contributing
  6. License

Project Structure

The repository is organized into two main folders:

  • frontend/ - Contains the Next.js frontend code.
  • backend/ - Contains the Flask backend code.

Each folder has its own README.md with detailed instructions for setting up and running the respective parts of the project.

Features

  • Responsive design for optimal viewing on any device
  • Syntax highlighting for various programming languages
  • Custom themes and styling options
  • Image export functionality
  • RESTful API to handle code snippet processing

Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

  • Python 3.10 or higher
  • Node.js and npm/yarn
  • pip (Python package installer)
  • virtualenv (optional, but recommended)

Installation

  1. Clone the repository:

    git clone https://github.com/MuhammadSaim/CodeSnap.git codesnap
    cd codesnap
  2. Follow the installation instructions in the respective frontend and backend folders.

Contributing

We welcome contributions to improve CodeSnap. To contribute, please follow these steps:

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

Please ensure that your code adheres to the existing coding conventions and includes appropriate tests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Feel free to reach out if you have any questions or need further assistance. Happy coding!

About

Welcome to CodeSnap, an open-source project inspired by Carbon.now.sh. This project allows you to create and share beautiful images of your source code with a simple and intuitive interface. The backend is powered by Flask, and the frontend is built with Next.js.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages