An open API service indexing awesome lists of open source software.

https://github.com/sammarxz/codart

Create beautiful images of your source code
https://github.com/sammarxz/codart

code-to-image nextjs react-editor

Last synced: 6 months ago
JSON representation

Create beautiful images of your source code

Awesome Lists containing this project

README

        

# Codart

Codart let you create beautiful images of your source code. We have several customization options, from backgrounds with beautiful gradients, paddings and themes.

![codar preview](https://cdn.dribbble.com/userupload/12177433/file/original-d473f52ec6316b91935594461ade89f0.png?resize=1024x768)

## Table of Contents

- [Technologies](#technologies)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Usage](#usage)

## Technologies

* [React](https://react.dev/) (with contextAPI and useReducer)
* [Next 14](https://nextjs.org/)
* [TailwindCSS](https://tailwindcss.com/) for styles
* [react-outside-click-handler](https://www.npmjs.com/package/react-outside-click-handler) to create simple `` Component
* [react-ace](https://www.npmjs.com/package/react-ace) for the code editor
* [lucide-react](https://lucide.dev/icons/) for the icons
* [dom-to-image](https://github.com/tsayen/dom-to-image/blob/master/src/dom-to-image.js) to convert the `` with the CodeEditor to an `image/png`

## Getting Started

[Provide information on how to get started with your project. Include any prerequisites or dependencies that need to be installed, and steps to run the project locally.]

### Installation

1. Clone the repository and install the dependencies:

```bash
git clone https://github.com/sammarxz/codart.git
cd codart
yarn
```

### Usage

1. Start the development server

```bash
yarn dev
```
2. Go to https://localhost:3000