Skip to content

Hook cheat sheets ​

Copy-paste instructions for adding a runtime hook by hand: when the hub has no proposal for a service, its proposal failed, or it only does part of the job. One page per language; on it, a table per runtime (Node.js, Bun, …) leads to one block per setup, split into what works without source access (a compose change only) and what needs source access (a code change and a rebuild). Each block says in plain words when to use it and how much the hub automates, and shows the change as code.

The counts below are the setups each page covers: without source access / with source access, and how many of them the hub automates fully.

LanguageRuntimesWithout sourceWith sourceFully automated
PythonPython717
JavaScript and TypeScriptNode.js, Bun, Deno613
GoGo161
RustRust0160
JVM: Java, Kotlin, Scala, ClojureJVM (Java, Kotlin, Scala, Clojure)101
.NET.NET121
RubyRuby111
PHPPHP480
PerlPerl111
Lua and OpenRestyOpenResty / nginx with Lua, Standalone Lua212
Erlang and ElixirErlang / Elixir303
C and C++C / C++0140
ZigZig010
NimNim010
CrystalCrystal010
DD010
OdinOdin010
VV010
DartDart010
SwiftSwift010
Kotlin/NativeKotlin/Native010
HaskellHaskell010
OCamlOCaml010
JuliaJulia010
RR010
Scala NativeScala Native010

The sheets are generated from the same proposal files the hub proposes from (format), so the manual way and the automatic one say the same.