Codeberg's philosophy sounds really good, I build open source scientific research projects, would you advise me using this platform instead of Github for making my code public?
Depends if you require just public space for the project or if you also need the project to be part of social media network of Github. As "forge" Codeberg is pretty great. I use both Codeberg instance and my selfhosted Forgejo instance (the software behind codeberg) and have no problems with it.
Github is social network. People follow other peoples profiles, people discover projects using "explore", trending and star system.
Codeberg has some of these features but the networking effect there is pretty weak because there are way fewer people. Almost Every programmer is on Github.
Whether you're expecting to have contributors that all have GitHub accounts already. And whether you expect to use the network-effects (follows/stars/activity feed) to have your project be more discoverable.