donfrigo / img-manipulation

A full-stack application written in Go and React, where users can upload videos and the server splits it up to individual frames and converts the pictures to greyscale.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IMG Manipulation

A full-stack application written in Go and React, where users can upload videos and the server splits it up to individual frames and converts the pictures to greyscale.

Installation

  1. Git clone this repo

Server side

  1. navigate to server directory and install necessary dependencies using go get -d ./...

  2. build server file by typing go build server.go

  3. start server executable

  4. by default, the server runs on localhost:8888

There is also a websocket communication between the server and client, which runs on localhost:5000

Client Side

  1. navigate to client directory

  2. run npm install

  3. run npm start

  4. navigate to localhost:3000

Usage

Files can be uploaded by either via the client

Or files can also be curl-ed to the webserver

curl -X PUT http://localhost:8888/upload --upload-file example.mp4

Generated files are placed in the output folder of the server directory.

About

A full-stack application written in Go and React, where users can upload videos and the server splits it up to individual frames and converts the pictures to greyscale.


Languages

Language:Go 45.1%Language:JavaScript 44.5%Language:HTML 7.2%Language:CSS 3.3%