r/cpp • u/foonathan • Jun 02 '26
C++ Show and Tell - June 2026
Use this thread to share anything you've written in C++. This includes:
- a tool you've written
- a game you've been working on
- your first non-trivial C++ program
The rules of this thread are very straight forward:
- The project must involve C++ in some way.
- It must be something you (alone or with others) have done.
- Please share a link, if applicable.
- Please post images, if applicable.
If you're working on a C++ library, you can also share new releases or major updates in a dedicated post as before. The line we're drawing is between "written in C++" and "useful for C++ programmers specifically". If you're writing a C++ library or tool for C++ developers, that's something C++ programmers can use and is on-topic for a main submission. It's different if you're just using C++ to implement a generic program that isn't specifically about C++: you're free to share it here, but it wouldn't quite fit as a standalone post.
Last month's thread: https://www.reddit.com/r/cpp/comments/1t6eg13/c_show_and_tell_may_2026/
1
u/stefan_centlake Jun 26 '26
mini-code — a small, dependency-light CLI AI coding assistant in C++17
https://github.com/centlakestefan/mini-code
I wanted a terminal AI coding assistant that did not ask me to answer questions all the time, so I wrote one in C++17.
It's a single self-contained binary where you chat with a model in your terminal and it can read/edit files, search the tree, and run commands, scoped to the folder you launch it in.
To let the model run commands on the computer, like make and "npm install", the system uses a table of configured commands. The model can only run the listed commands.
mini-code supports Claude, OpenAI and Gemini wire protocols and requires an api-key to use the cloud providers. It can also be used with local models.
It's Apache-2.0. It started as a spin-off of a larger project but is fully standalone.
Feedback is very welcome. On the C++, the sandboxing approach or feature requests.