As part of my work on this this post How to build your own Streamlit component, I created a lightweight cookiecutter template for creating and auto-publishing a streamlit component.
The repository is here GitHub - blackary/cookiecutter-streamlit-component: Template for creating and publishing simple (vanilla js, html and css) bidirectional streamlit component, and you can use it with either cookiecutter or cruft (see the blog post for an example of how to use it).
I’m considering adding some additional features to the template such as pre-commit hooks for linting, and suggestions/contributions are very welcome.