News for hackers. Stuff that matters.
Re:Show HN: Codeblox.io – Connect your code with anyone else... by alanfriedman on Wednesday July 12, 2017 @10:52AM (#14752985)
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

Re:Show HN: Codeblox.io – Connect your code with anyone else... by addcn on Wednesday July 12, 2017 @10:46PM (#14758375)
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.
Re:Show HN: Codeblox.io – Connect your code with anyone else... by staple on Wednesday July 12, 2017 @02:52PM (#14755396)
interesting idea. what sort of license is applied to the code i upload?
Re:Show HN: Codeblox.io – Connect your code with anyone else... by alanfriedman on Wednesday July 12, 2017 @03:12PM (#14755630)
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.