bruno@cabado:~$ cat projects/cpp-library-template.md

← projects/

CPP Library Template

Up (live demo)

  • C++
  • Cookiecutter
  • Developer Tooling

Cookiecutter-based template for bootstrapping production-ready C++ libraries with a repeatable project structure and update workflow.

Context

Starting a new C++ library often means repeating the same setup work: folder layout, build configuration, and repository conventions. This slows down delivery and creates inconsistency between projects.

What I built

I built a reusable template for C++ libraries using Cookiecutter, with a structure aimed at quick bootstrapping and long-term maintainability. The template is designed so developers can generate new repositories with a predictable baseline instead of recreating scaffolding each time.

Technical approach

The project is distributed as a template repository and integrated with Cruft for lifecycle management. That means teams can both create a new library from the template and later pull template improvements into existing projects. This approach balances speed at project start with controlled evolution over time.

Outcome

CPP Library Template turns setup effort into a repeatable workflow. Developers can begin implementation faster, while teams benefit from consistent project organization and easier maintenance across multiple C++ library codebases.

## Project gallery

CPP Library Template repository view on GitLab

bruno@cabado:~$ mail hi@brunocabado.com# I share work, research and product experiments in AI systems

$ send-message$ wget cv.pdf$ open linkedin$ open github

© 2026 Bruno Cabado · designed & developed in Galicia with Astro

↑↓ navigate · Enter open · Esc close

key bindings

0–8select window
n / pnext / previous window
ctalk to the agent pane
% / " or -split side by side / stacked (up to 3 panes, each shows a window)
Spacenext layout (side by side → stacked → main + stack → main + row)
qshow pane numbers, then press one to jump there
{ / }swap the focused pane with the main one
Shift+←↑↓→resize (main pane smaller / larger)
o · Ctrl+b ←↑↓→focus next pane · pane in that direction
zzoom the focused pane (again to restore)
xclose the focused pane (closing the main one promotes the split)
ttoggle theme (dark ⇄ latte) · :theme next cycles gruvbox, nord, tokyo, dracula
/ · Ctrl+ksearch the whole site
:command prompt
:set keys offdisable single-key shortcuts (the prefix still works)
Ctrl+bprefix — every key above also works after it; % " x and arrows need it

commands: search · select-window <name|n> · open <query> · ask <question> · split-window [-h|-v] [name] · kill-pane · zoom · swap-pane · layout · theme [mocha|latte|gruvbox|nord|tokyo|dracula] · ls · exit · help
agent: type /clear to reset the conversation