If you are interested in writing open-source code that ends up in space. Don't hesitate to check Libre Space Foundation's repositories https://gitlab.com/librespacefoundation/ there are several open-source software and hardware projects currently in development including satellites and their components. More info on the organization here: https://libre.space
Disclaimer: I'm the vice-chair of the organization, and I might be biased.