Ross ROSS = Recommend OSS · open-source software intelligence for agents

taviso/ctypes.sh

A foreign function interface for bash. observed · 2026-08-28

github.com/taviso/ctypes.sh · C · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

84/100

  • Activity 93
  • Release rhythm 62
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4055
  • days_rel: 43
  • days_push: 43
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2177 stars · 95 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ctypes.sh is a bash plugin providing a foreign function interface that lets shell scripts call routines in shared C libraries directly. It uses libffi to expose functions like dlopen and dlcall from within bash.

Use cases

  • call C library functions from bash scripts
  • use libm math functions in a shell script
  • build GTK applications in bash
  • write an http daemon in bash
  • avoid writing external C helper programs for shell tasks

When to avoid

  • you need portable or maintainable production shell scripts
  • performance and safety matter more than convenience
  • you are not on Linux with bash and libffi available

Facets

plugin · maturity maintenance

developer-tools cli developer-tools cli bash-plugin foreign-function-interface libffi shared-libraries shell-scripting ffi command-line automation linux bash

1 source

Member repositories

RepositoryRoleHealth v2
taviso/ctypes.shmain84

For agents

markdown · JSON · MCP: product_card(name="taviso/ctypes.sh")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem