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

https://github.com/javigong/grafiko-image-effects-webpack-js-rust

Grafiko is a web app image editor implemented with JavaScript, HTML/CSS, Rust, Wasm, and Webpack.
https://github.com/javigong/grafiko-image-effects-webpack-js-rust

base64 css html image-effects javascript rust wasm-bindgen webassembly webpack

Last synced: 2 months ago
JSON representation

Grafiko is a web app image editor implemented with JavaScript, HTML/CSS, Rust, Wasm, and Webpack.

Awesome Lists containing this project

README

          

# Grafiko: Image Effects Web App

Grafiko is an image editor that applies a grayscalling effect to PNG images.

The grayscalling effect is a CPU intensive task that I implemented with Rust and compiled into WebAssembly. With WebAssembly the browser can access to the CPU to maximize the performance when editing images.

![captures_chrome-capture-2023-3-26](https://user-images.githubusercontent.com/42308135/234749076-9a4c95bd-d711-406f-a2bc-c6148b278cad.png)

🔗 [Open live Demo](https://grafiko-image-effects-webpack-js-rust.vercel.app/)

## Tech Stack

- JavaScript
- HTML/CSS
- Rust
- Crate libraries:
- wasm-bindgen
- base64
- image
- Webpack

## Features

- Image base64 encoding/decoding
- Image buffering
- Grayscalling effect

## Screenshot

![captures_chrome-capture-2023-3-26 (1)](https://user-images.githubusercontent.com/42308135/234757268-75910bfd-6093-44e8-86dd-7935597eb24f.png)

## Installation

First, clone the project and open it with Visual Studio Code:

```bash
git clone https://github.com/javigong/grafiko-image-effects-webpack-js-rust.git

cd grafiko-image-effects-webpack-js-rust

code .
```

Finally, install the npm dependencies and run the application:

```bash
npm install

npm run serve
```

Now the application is running on http://localhost:8080 🚀

## Deployment details

Grafiko Web App deployed using Vercel:

[https://grafiko-image-effects-webpack-js-rust.vercel.app/](https://grafiko-image-effects-webpack-js-rust.vercel.app/)