项目作者: minond

项目描述 :
Brainloller interpreter and editor. Runs your brainloller program while displaying execution and memory information.
高级语言: Elm
项目地址: git://github.com/minond/brainloller.git
创建时间: 2017-09-04T00:20:28Z
项目社区:https://github.com/minond/brainloller

开源协议:

下载


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
  1. curl -X POST -F file=@brainloller/helloworld.png https://tmpstore.herokuapp.com/upload
  2. # -> {"name":"STOTAoaKaKyeIESyzXPlpeIupXDcbDyt"}
  3. imgfileurl="https://tmpstore.herokuapp.com/get/STOTAoaKaKyeIESyzXPlpeIupXDcbDyt"
  4. imgprocess="https://8rwnim1cq1.execute-api.us-west-2.amazonaws.com/prod/pixels_pixels"
  5. curl "https://paddedjson.herokuapp.com/?url=$imgprocess&method=POST&body=%7B%22path%22:%22$imgfileurl%22%7D"
  6. # -> callback({"isBase64Encoded":false,"statusCode":400,"headers":{},"body":{"pixels":[[{"R":255,"G":0,"B":0,"A":255}, ...