RFC 0013 - Community Code Page

First off, I love that this is being worked on, there have been a lot of time where everything from code snippets to full tutorials would be nice to have in a singular place that we can reference to. I do have a couple questions though

For things like a GitHub repo, how will that be displayed? I have a couple tutorials on using AWS Serverless services for Webhooks, and as an EBS, if I was to have these included in the Community Code Page, and then later added another commit, will these changes be reflected on this new Community Code Page or would I need to submit the tutorials again each time there is a change? In some cases, such as an NPM vulnerability alert, it can be crucial to update modules and release the changes as soon as possible and if there is a 10 day wait on submissions like there can be for Extension Reviews then that is a long time that vulnerable code is on Twitch.

Another question, will this Community Code Page support embeds? I know are some great developers here on these forums and the TwitchDev Discord who stream their coding, so it would be interesting if there’s the possibility of VoDs, or highlights, being able to be included in this as long as they meet the submission standards.

Finally, this is more of a suggestion, but it would be nice for small code snippets it was easily possible to switch between different peoples submissions. For example if I was to submit a small portion of code showing how to validate the x-hub-signature of a webhook notification in NodeJS, and someone later submitted how to do it in Python, or PHP, or whatever language, it would be useful to just show 1 code snippet, and have tabs for the user to show it in whichever language they choose, rather than a long page of each and every language’s way to handle it.

3 Likes