Skip to content

Brainloller interpreter and editor. Runs your brainloller program while displaying execution and memory information.

Notifications You must be signed in to change notification settings

minond/brainloller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Brainloller debugger and code editor. To play around with the debugger, go to my site or run locally by downloading this repo and running make install run.

Resources on Brainloller

Image processing flow

In order to allow users to both upload and link to Brainloller programs, and not having to process the image on the client and potentially running into CORS limitations, I've created a handfull of services that untimately process and image and send back the pixel data:

  • https://tmpstore.herokuapp.com for temporary file storage
  • https://paddedjson.herokuapp.com for turning any endpoint into a jsonp resource
  • https://8rwnim1cq1.execute-api.us-west-2.amazonaws.com/prod/pixels_pixels for image processing
curl -X POST -F file=@brainloller/helloworld.png https://tmpstore.herokuapp.com/upload
# -> {"name":"STOTAoaKaKyeIESyzXPlpeIupXDcbDyt"}

imgfileurl="https://tmpstore.herokuapp.com/get/STOTAoaKaKyeIESyzXPlpeIupXDcbDyt"
imgprocess="https://8rwnim1cq1.execute-api.us-west-2.amazonaws.com/prod/pixels_pixels"

curl "https://paddedjson.herokuapp.com/?url=$imgprocess&method=POST&body=%7B%22path%22:%22$imgfileurl%22%7D"
# -> callback({"isBase64Encoded":false,"statusCode":400,"headers":{},"body":{"pixels":[[{"R":255,"G":0,"B":0,"A":255}, ...

About

Brainloller interpreter and editor. Runs your brainloller program while displaying execution and memory information.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published