There are 2 repositories under bandwidth-limiting topic.
NetLimiter-like bandwidth limiting and QoS for Linux
Go Traffic Shaper
A Node.js and Deno transform stream for throttling bandwidth
Basic to Advanced features of MikroTik router would be executed here.