I love this idea! I've been able to benefit from some code posts in the past and would be happy to share some of the customizations that I've done. Even if Studio alerts, forking, or other advanced features were not part of an initial repository just having a basic code library where you can put anything from the smallest snippets to full components (including endpoints and macros) would be very useful.
For posting or updating it could help to require some meta info about the component such as the release it runs/written on, required settings or other dependencies, usage, description, some reasonable documentation....the usual stuff. Count me in!