DISQUS

esjewett.com: Introducing jsglue

  • progrium · 7 months ago
    Nice work! We should definitely talk more. I've been building a lot of webhooks infrastructure. One of them is something similar in goal to this: http://www.scriptlets.org

    Perhaps we can work together. I've been thinking about this problem for years. Scriptlets lets you write glue code in any (of several) languages, safe in Google App Engine's sandbox. Scriptlets is intended for your own one-off solutions, but also as an API for sites that want to let their users execute arbitrary code (so for example, they can integrate it with their site).

    The actual adapter between services is the next step ... which I was going to build on top of Scriptlets. Something like parselets.com where users can write sharable adapters between sites. Alternatively, I've been talking (slowly) with the guys at switchub.com ... but I like distributed solutions. Maybe you and I can collaborate on a glue service ... except as a service it doesn't meet your need to stand your own.
  • esjewett · 7 months ago
    Thank you! I would be delighted to continue this conversation.

    Unfortunately as soon as I posted this work started to heat up, so I haven't been able to do much more on it. I think the next steps are to clean up the API to the request (in the javascript) and get some working examples cooked up.

    One thing that I'm very encouraged by is that javascript handlers should be relatively transferable between services like scriptlets.org, this one, and other similar services. Hoorah for interoperability.

    What I'd really like to see is some type of "scriptlets" API (you know, Rack/WSGI-style?) so that these handlers are fairly portable between engines. If you'd like to work on that together, or just continue to discuss the best way to do this, I'd be delighted!
  • progrium · 7 months ago
    Well, as for an API, I'm trying to stay close to the Rack/WSGI style environment. I use Jack (https://github.com/tlrobinson/jack/tree) for the Javascript environment in Scriptlets. Perhaps you can do the same. However, I do have some special things in the environment that we may want to add to a standard API for services like these.

    You should subscribe to the Webhooks mailing list and post progress there. :)