Show HN: Codeblox.io – Connect your code with anyone else's via drag and drop
codeblox.io
codeblox.io
I built Codeblox to allow developers to connect code together like building blocks. This makes it easy to build sequences (series of blocks) to do all kinds of things.
Every block and sequence gets an API endpoint (POST api.codeblox.io/username/blockName) and you can also schedule them to run daily.
Each code block specifies an input and output type (text, number, location, etc) and you can build sequences by combining blocks that fit together.
How it Works:
- CLI tool packages up your directory as a ZIP file, and uploads it to S3 - That filename is stored in the DB - When someone invokes your code from the website, the back-end (Node.js) creates a Lambda function pointed to your ZIP in S3, invokes it and returns the result - For sequences, do the same thing, except the client handles making each sequential call
Stack: FE: React/Redux BE: Node.js, MySQL, AWS, Redis
I'd be really interested to hear any feedback or feature requests.
I'm also looking for a co-founder to work on this with (NYC or SF area), so if you like the idea just reach out at info [at] codeblox [dot] io
Thanks! Alan
There's also the problem of executing other people's code in your visitors machines, but maybe that isn't so bad -- or could be solved by running a better language than raw Javascript.
I know this sounds like a silly idea, but what do you think?
An example that I did with the platform was, parse Skype chat log (500MB ish) of it, and look search for specific strings and dump it back as CSV by stringing 3 functions together, all running inside web workers.
Right now we can assemble blocks sequentially. It would be awesome if those can also be arranged conditionally (by some programming language- a programming language to arrange blocks of code,eh).