How to add GitHub repository to PlatformIO platformio.ini lib_deps

You can directly add a GitHub repository as a PlatformIO library dependency by specifying its repository URL in lib_deps in platformio.ini

lib_deps =

Note that the GitHub repository must be a valid PlatformIO library i.e. it must have library.json or in its root directory. is an example for a library that can be included into PlatformIO.