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

https://github.com/jfoyarzo/node-jimp

A Node.js app for processing images and converting them to grayscale. The backend is built with Node.js and uses the http and fs modules. Also uses the jimp package to process the image and yargs to create a command that includes a key for executing the server.
https://github.com/jfoyarzo/node-jimp

bootstrap http-server javascript jimp nodejs yargs

Last synced: about 2 months ago
JSON representation

A Node.js app for processing images and converting them to grayscale. The backend is built with Node.js and uses the http and fs modules. Also uses the jimp package to process the image and yargs to create a command that includes a key for executing the server.

Awesome Lists containing this project

README

          

# 📗 Table of Contents

- [📗 Table of Contents](#-table-of-contents)
- [📖 Black and White Server ](#-black-and-white-server-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [👥 Authors ](#-authors-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [📝 License ](#-license-)

# 📖 Black and White Server

**Black and White Server** is a Node.js app for processing images and converting them to grayscale. The backend is built with Node.js and uses the `http` and `fs` modules. Also uses the `jimp` package to process the image and `yargs` to create a command that includes a key for executing the server.

## 🛠 Built With

### Tech Stack

Client/Server

### Key Features

- **Convert to grayscale** any image you want, as long as you have the URL.
- **Jimp** package is used for image processing.
- **Yargs** command is used to pass the correct key to the server so it can run.

(back to top)

## 🚀 Live Demo

- [Live Demo Link](https://node-jimp.onrender.com/)

(back to top)

## 💻 Getting Started

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

### Prerequisites
To run this project you need:

- Node.js

### Setup

Clone this repository to your desired folder:

```
git clone git@github.com:jfoyarzo/node-jimp.git
```

### Install

Install this project with:

```
npm install
```

### Usage

To run the project, execute the following command:

```
node index.js server --key yourSecretKey
```
You must also provide the key in a `.env` file as illustrated in the `.env.example` file.
This will start the server in the port provided using an environment variable or 3000 if no environment variable was configured.

(back to top)

## 👥 Authors

👤 **Felipe Oyarzo**

- GitHub: [@jfoyarzo](https://github.com/jfoyarzo)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/jorge-felipe-oyarzo-contreras/)

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/jfoyarzo/node-jimp/issues).

(back to top)

## ⭐️ Show your support

If you like this project, please give it a star ⭐

(back to top)

## 📝 License

This project is [MIT](./LICENSE) licensed.

(back to top)