Hacker News new | ask | show | jobs
by alanfriedman 3261 days ago
Hi HN,

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

2 comments

Alan - nice work. I'm impressed with easy encapsulation being included in this on day one. I follow and have also built developer tools at the last 2 startups I've done. People often forget that part but it's really what makes the whole thing scalable IMHO.
interesting idea. what sort of license is applied to the code i upload?
Thanks! The plan is to let the author specify the license type in the codeblox.json file, similar to what you would do on GitHub or with an NPM package.