FloofyPlasma

FloofyPlasma / splice

Public

A header-only C++26 reflection-based hook and mixin library

10
1
100% credibility
Found Mar 20, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C++
AI Summary

A header-only C++ library that enables runtime interception and modification of annotated class methods using C++26 static reflection, inspired by modding systems.

How It Works

1
🔍 Discover Splice

You learn about Splice while searching for an easy way to customize game actions like mining blocks or dealing damage.

2
📥 Add to Your Game

You simply copy a folder of ready-to-use files into your game project to get started.

3
✏️ Mark Custom Spots

You tag the key game moments you want to tweak, like when a player digs or gets hurt.

4
📋 Set Up Mod List

You create a shared notebook where all your custom changes for that game part will live.

5
Add Your Twists

You jot down fun rules in the notebook, such as blocking digs at ground level or doubling damage hits.

6
▶️ Play Through Changes

The game now checks your notebook before every tagged action, applying your rules smoothly.

🎉 Custom Game Alive

Your game feels fresh and personalized, with all tweaks working perfectly every time.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is splice?

Splice is a header-only C++26 library for runtime hooks and signals using static reflection, letting you inject callbacks before, after, or on return of annotated class methods with zero overhead for untouched code. Register hooks or connect listeners via simple macros, dispatch calls through shared registries, and handle priorities, cancellations, arg tweaks, or one-shot events. Drop it into any GCC 16+ project with `-freflection` for mod-like extensibility without build hassles.

Why is it gaining traction?

It delivers Fabric-inspired mixins natively in C++26, skipping brittle detours or vtable hacks—users get clean APIs for priority-ordered hooks, slot connections, and emits that just work at zero cost. Header-only design means instant "splice download github" integration via FetchContent, no deps or linking. Early buzz from C++26 adopters tired of manual boilerplate in plugins or games.

Who should use this?

C++ game modders extending engines like custom Minecraft clones, server plugin devs for tools like splice node github backends, or framework authors building extensible apps. Ideal for teams on GCC 16 experimenting with reflection for hooks in simulations, UIs, or tools—not daily drivers yet.

Verdict

At 10 stars and 1.0% credibility, splice is raw alpha: great README, tests, and examples, but GCC-only and unproven in wild. Watch for Clang/MSVC; prototype your next mod system here if you're on C++26 bleeding edge.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.