Skip to content

Docs Build your own

With your own code

Write the service in your language, package it, and publish it from the terminal with the CLI. No AI required.

For the technical team, the most direct way: you write the program, Claro Compute runs it on your company’s devices and gives it a link.

Two ways to package it

  • WebAssembly component. Light and quick to start, and runs on any device with a Claro Connector. Write it in Rust, JavaScript, Python or Go: send the source folder and we compile it, or send the component already built.
  • OCI image. For everything else. Bring your own Dockerfile, with the language, libraries and tools you need, and the image is built for you from it.

The Claro CLI

The command-line tool, for Linux, Windows and macOS.

  • Create and publish from the terminal, in one command. (A service packaged as an OCI image is created by linking its GitHub repository; from then on it is published the same way.)
  • Versions. Each publication is kept. List them whenever you want.
  • Aliases and rollback. Point the link to the version you choose, and go back to the previous one with one command.
  • Call and follow. Call the service from the terminal and read its log.
  • Made for automation. Every command can answer in JSON, with stable exit codes, so it fits into your scripts and your own pipelines.

What the platform takes care of

You write what to do with a request. Splitting the work, running it where there is room, redoing what fails, keeping secrets out of the code, and keeping every version are on Claro Compute.

See Distributed functions.