Skip to content
@LunarisLib

Lunaris

Lunaris is the key for performance in C++ projects

    Lunaris

Welcome to Lunaris organization! 🎉

    About

Lunaris is a project originally created by Lohk and became a standard to his projects. Common C++ code and possibly public templates are made available here so anyone needing any of those tools can just download and use themself! There are several repositories useful to many applications, like simple encryption using RSA, process calls, sockets and so on. All of them should work with both Windows and Linux.

    Format of the library

The library follows these:

  • Main classes are CamelCase, so this way you know what you are supposed to instantiate or use somewhere.
  • Tools used by the main classes that may not make sense by themselves are usually snake_case -- like structs, small auxiliary classes, and so on.

    Extra info

The only thing we ask (if you're adding one or many libraries on your project) is a reference to this organization page and, like in a game or movie, add our name somewhere so people interested can find us and maybe help improve the code. If your project doesn't have a screen or a way to show this, no problem. You can also add a link to your project on the official Discord Server. We would love to know what great things you're doing with it!

If you have any ideas to be added, changed or removed, please talk about it on our official Discord Server. This server has other projects in it too, so make sure to open the Lunaris category and talk there.

And what if you're interested on joining the team? Just join the Discord Server, we'll talk about it there ;P

Pinned Loading

  1. Lunaris-Socket Lunaris-Socket Public

    This is the socket part of Lunaris, an easy interface to socket communication (TCP/UDP)! It should work on Linux and Windows

    C++ 2

  2. Lunaris-Console Lunaris-Console Public

    This is the console part of Lunaris, an useful cout-like interface, but thread safe and color enabled! It should work on Linux and Windows

    C++ 1

  3. Lunaris-Bomb Lunaris-Bomb Public

    Bomb is a destroy-triggered function tool that allows you to have a safe "detonation" when the object is destroyed or defuse if you don't want that later. Bomb "explode" a function on destroy or on…

    C++ 1

  4. Lunaris-Future Lunaris-Future Public

    This is a future with then() implementation. Promise runs all then()s and get() on future waits for it (if it needs to). This is like std::future, but with more features.

    C++ 1

  5. Lunaris-Mutex Lunaris-Mutex Public

    Mutex is a pain for performance, right? What about a fast one-way mutex then? Plus, get shared_recursive_mutex implementation too! fast_one_way_mutex is a high performance targeted mutex-like thing…

    C++ 1

  6. Lunaris-Encryption Lunaris-Encryption Public

    A handful set of encryption tools useful for some basic security stuff. This includerandom-by-seed, RSA (configurable bit length) and a combined RSA (32 bit) + random algorithm.

    C++ 1

Repositories

Showing 10 of 16 repositories
  • actions Public

    My common workflows used everywhere (you can use them too)

    LunarisLib/actions's past year of commit activity
    CMake 0 0 0 0 Updated Oct 1, 2026
  • Lunaris-JSON Public

    A C++ implementation based on works like cJSON, but completely lightweight in memory (no extra variables / copies, only pointers to original string).

    LunarisLib/Lunaris-JSON's past year of commit activity
    C++ 1 0 0 0 Updated Sep 12, 2026
  • Lunaris-Memory Public

    Memory is a very important thing to do right. This module allows some deep referencing and managing not seen in common shared_ptr and unique_ptr. It is shared, and it can even share null or change the pointer of all references on the go. It should work on any platform with mutex.

    LunarisLib/Lunaris-Memory's past year of commit activity
    C++ 0 0 0 0 Updated Sep 12, 2026
  • Lunaris-Future Public

    This is a future with then() implementation. Promise runs all then()s and get() on future waits for it (if it needs to). This is like std::future, but with more features.

    LunarisLib/Lunaris-Future's past year of commit activity
    C++ 1 0 0 0 Updated Sep 12, 2026
  • Lunaris-Bomb Public

    Bomb is a destroy-triggered function tool that allows you to have a safe "detonation" when the object is destroyed or defuse if you don't want that later. Bomb "explode" a function on destroy or on a certain time (see timed bomb) if not defused. Works on Windows and Linux

    LunarisLib/Lunaris-Bomb's past year of commit activity
    C++ 1 0 0 0 Updated Sep 12, 2026
  • Lunaris-Mutex Public

    Mutex is a pain for performance, right? What about a fast one-way mutex then? Plus, get shared_recursive_mutex implementation too! fast_one_way_mutex is a high performance targeted mutex-like thing. Run() every tick/frame and check if true, else wait (someone locked!). Great for graphics and loading.

    LunarisLib/Lunaris-Mutex's past year of commit activity
    C++ 1 0 1 0 Updated Sep 12, 2026
  • Lunaris-Console Public

    This is the console part of Lunaris, an useful cout-like interface, but thread safe and color enabled! It should work on Linux and Windows

    LunarisLib/Lunaris-Console's past year of commit activity
    C++ 1 0 0 0 Updated Sep 4, 2026
  • Lunaris-Encryption Public

    A handful set of encryption tools useful for some basic security stuff. This includerandom-by-seed, RSA (configurable bit length) and a combined RSA (32 bit) + random algorithm.

    LunarisLib/Lunaris-Encryption's past year of commit activity
    C++ 1 0 0 0 Updated Sep 3, 2026
  • Lunaris-Multimap Public

    Multimap is a library about enhancing the map experience to the limit. You can have a map that has multiple types as key, or multiple types as value, techically both? Works on Linux and Windows

    LunarisLib/Lunaris-Multimap's past year of commit activity
    C++ 1 0 0 0 Updated Sep 2, 2026
  • Lunaris-Socket Public

    This is the socket part of Lunaris, an easy interface to socket communication (TCP/UDP)! It should work on Linux and Windows

    LunarisLib/Lunaris-Socket's past year of commit activity
    C++ 2 0 0 0 Updated Sep 2, 2026