Private (or "3rd party") Component Registry?

gamename
Posts: 38
Joined: Fri Dec 08, 2023 11:33 pm

Private (or "3rd party") Component Registry?

Postby gamename » Sun Jul 14, 2024 7:06 pm

Hi,

Has anyone succeeded in creating their own registry? If so, how? I've been going over the docs and it isn't clear if that's possible. Basically, I want to have my own collection of components to pull with `idf.py add-submodule`.

Or, should I just create component repos and add them as submodules manually?

Thanks,
-T

unclewalrus
Posts: 1
Joined: Sat Jan 10, 2026 8:49 pm

Re: Private (or "3rd party") Component Registry?

Postby unclewalrus » Sat Jan 10, 2026 8:59 pm

I have not ever been able to identify such a possibility.

git submodules is probably the best alternative, and not a terrible one honesty.
Ideally Espressif could publish the source code from the registry with an option to self-host; but I don't really see much in the source code of the toolchain that would make that an easy process...

nopnop2002
Posts: 347
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: Private (or "3rd party") Component Registry?

Postby nopnop2002 » Sun Jan 11, 2026 1:59 pm

You can include the GitHub repository as managed_components in your project.

Create an idf_component.yml like this in your project.
When you build a projects esp-idf will automaticly fetch repository to managed_components dir and link with your code.

Code: Select all

$ cat main/idf_component.yml
## IDF Component Manager Manifest File
dependencies:
  Molorius/esp32-websocket:
    git: https://github.com/Molorius/esp32-websocket
    

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot], Perplexity-User, Semrush [Bot] and 6 guests