Encode text
codec://host/text/query/base64
{
"mode": "encode",
"text": "hello"
}
Utilities connector
Base64 is a polyglot urirun connector written in PHP. It proves connectors are language-agnostic: the script emits a v2 bindings document and answers the codec:// route via an argv-template the urirun runtime invokes.
php>=8.1codec://host/text/query/base64
{
"mode": "encode",
"text": "hello"
}
codec://host/text/query/base64
{
"mode": "decode",
"text": "aGVsbG8="
}
curl -fsSL 'https://connect.ifuri.com/install?connectors=base64' | bash
{
"id": "base64",
"name": "Base64 (PHP)",
"status": "available",
"uriSchemes": [
"codec"
],
"routes": [
"codec://host/text/query/base64"
],
"install": {
"mode": "urirun-extra",
"pipSpec": "urirun-connector-base64 @ git+https://github.com/if-uri/urirun-connector-base64.git@v0.1.0"
},
"hubUrl": "https://connect.ifuri.com/connectors/base64"
}