Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shuvra-matrix/code-carbon

Live Demo
https://github.com/shuvra-matrix/code-carbon

carbon code codeshare nodejs share shared

Last synced: 3 days ago
JSON representation

Live Demo

Awesome Lists containing this project

README

        


Code Carbon




View Demo
·
Report Bug
·
Request Feature



# :notebook_with_decorative_cover: Table of Contents

- [About the Project](#star2-about-the-project)
- [Live Demo](#house-livedemo)
- [Tech Stack](#space_invader-tech-stack)
- [Features](#dart-features)
- [Environment Variables](#key-environment-variables)
- [Getting Started](#toolbox-getting-started)
- [Prerequisites](#bangbang-prerequisites)
- [Run Locally](#running-run-locally)
- [To-do](#notes-to-do)
- [Contributing](#wave-contributing)
- [License](#warning-license)
- [Contact](#handshake-contact)
- [Acknowledgements](#gem-acknowledgements)

## :star2: About the Project


Code Carbon is a powerful and versatile web app that allows users to easily share their code in image format. With support for all types of programming languages, users can showcase their skills and share their work with friends, colleagues, and the wider programming community with ease.





With Code Carbon, users have complete control over the look and feel of their code, with the ability to change the code theme and color dynamically. Whether you prefer a dark or light mode, or a transparent background for your images, Code Carbon makes it easy to customize your code to your preferences.





Overall, Code Carbon is the perfect tool for programmers, developers, and anyone who wants to share their code with the world in a beautiful and professional way. With its intuitive interface and advanced features, Code Carbon is sure to become a go-to platform for coders everywhere!

### :house: LiveDemo

[Live Demo](https://code-carbon.onrender.com/)

### :space_invader: Tech Stack

Frontend

Backend

Database

### :dart: Features

- User
- Support for all types of programming languages
- Easy sharing of code in image format
- Dynamic code theme and color customization options
- Dark mode and light mode options
- Transparent background image option
- Intuitive interface for easy code sharing
- Professional and polished code image output
- Easy editing and updating of code images
- Secure storage and sharing of code images

### :key: Environment Variables

To run this project, you will need to add the following variables to your .env file

`MONGO_USER = MONGO DB USE NAME`
`MONGO_PASS = MONGODB PASSWORD`
`SESSION SECRET = SESSION SECRET`
`MONGO_DB_NAME = YOUR MONGO DB NAME`

## :toolbox: Getting Started

### :bangbang: Prerequisites

This project uses MongoDB as database. please install mongodb server in local environment.

### :running: Run Locally

Clone the project

```bash
git clone https://github.com/shuvra-matrix/CODE-CARBON
```

Go to the project directory

```bash
cd project-directory
```

Install dependencies

```bash
npm install
```

Start the backend server

```bash
npm run dev
```

Use following paths

```bash
Backend server : localhost:3000/

```

## :notes: to-do


  • add more features

## :wave: Contributing



Contributions are always welcome!

## :warning: License

Distributed under the no License.

## :handshake: Contact

Shuvra Chakrabarty -

Project Link: [https://github.com/shuvra-matrix/CODE-CARBON](https://github.com/shuvra-matrix/CODE-CARBON)

## :gem: Acknowledgements

Following libraries have been used in this projects.

- [highlight.js](https://highlightjs.org/)
- [express-validator](https://express-validator.github.io/docs/)
- [connect-mongodb-session](https://www.npmjs.com/package/connect-mongodb-session)