# vinniefalco/LuaBridge

A lightweight, dependency-free library for binding Lua to C++

Repository: https://github.com/vinniefalco/LuaBridge
Canonical: https://ross.abutalabs.com/products/luabridge
Language: C
License Family: other
Last push: 2025-10-13T13:15:40+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 46, release rhythm 35, longevity 100
- inputs: {"age_days": 5259, "days_push": 324, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1779, forks 362 (observed 2026-08-28T04:05:35.323057+00:00)

## What it is
LuaBridge is a lightweight, dependency-free, header-only C++ library for binding Lua data, functions, and classes between C++ and Lua. It supports Lua 5.1 through 5.4 and LuaJIT with type-safe stack access and automatic parameter binding.

## Use cases
- embed lua scripting in a c++ application
- expose c++ classes and functions to lua
- bind c++ game engine to lua scripts
- call lua functions from c++
- header-only lua c++ binding library

## When to choose
- you want a lightweight, dependency-free alternative to sol2 or Boost.Python
- you need header-only integration with no build configuration
- you must support multiple Lua versions including LuaJIT

## When to avoid
- you need advanced metaprogramming features or compile-time optimizations offered by sol2
- you are not using C++ or Lua

## Facets
- artifact type: library
- maturity: active
- function: sdk, interpreter, plugin-system
- domain: programming-languages, developer-tools
- platform: cpp, lua, cross-platform
- tags: lua-binding, header-only, scripting-language-binding, luajit, game-development

## Member repositories
- vinniefalco/LuaBridge (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:35.323057+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:08.195149+00:00, confidence not recorded.
  - readme: https://github.com/vinniefalco/LuaBridge (fetched 2026-08-28T04:05:35.323057+00:00, sha a95cb0e5b7cf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
