Skip to content

Repository files navigation

ycallr-core

High-performance API execution engine behind ycallr: YAML/OpenAPI → protobuf AOT compilation, shared call engine, HTTP client, C FFI, and WASM bindings.

Features

  • YAML API profiles with nested commands, auth, env templates, response messages
  • OpenAPI 3.x import (openapi feature)
  • SSRF-safe HTTP client (no redirects, host validation at ingest)
  • Secrets via ${ENV_VAR} — never stored in compiled profiles

Quick example profile

See examples/github_api.yaml:

env:
  - name: GITHUB_TOKEN
    required: true
auth:
  github:
    type: bearer
    token: ${GITHUB_TOKEN}
commands:
  list-issues:
    endpoint: /repos/{owner}/{repo}/issues
    method: GET
    auth: github

Development

make build
make test
make ci                 # fmt + clippy + test + coverage (≥85%)
make release-check

Documentation

Wiki: API Profiles, C FFI, OpenAPI Import.

About

The high-performance API execution engine behind ycallr. Handles YAML-to-Protobuf AOT compilation and zero-overhead HTTP requests.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages