Skip to content

A sample express app that will glitch images and accept requests/responses as spec in revisit.link/spec.html

Notifications You must be signed in to change notification settings

revisitors/glitch-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Glitch Example API This little project is an example express app that abides by the revist.link spec. and glitches out images!

##Installation:

  • npm install -g nodemon
  • npm install
  • cp local.json-dist local.json

##Usage:

  • npm start

The API provides a single /service endpoint to POST an image to, which resonds with the image as modifified by glitch-jpg.

This also comes with a sample client interface for posting images to, located at /.

By default the app runs on port 8000, this can be configred in local.json.

In order to plug in your own glitching algorithm, take a look at glitch-jpg and make a similar module to pass the image to! ❤️

About

A sample express app that will glitch images and accept requests/responses as spec in revisit.link/spec.html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published