GitHub launches Codespaces for in-browser coding

(Image credit: GitHub)

GitHub has announced several new features for its developer platform including Codespaces which allows customers to write code from within their browser.

GitHub Codespaces provides developers with a full cloud-hosted development environment which is based on Microsoft's VS Code editor. 

It shares a number of similarities with Microsoft's recently rebranded Visual Studio Code Online that is now called Visual Studio Codespaces.

In a blog post, SVP of product at GitHub, Shanku Niyogi explained how Codespaces will make it easier for developers to contribute code to communities, saying:

“Contributing code to a community can be hard. Every repository has its own way of configuring a dev environment, which often requires dozens of steps before you can write any code. Even worse, sometimes the environment of two projects you are working on conflict with one another. Codespaces gives you a fully-featured, cloud-hosted dev environment that spins up in seconds, directly within GitHub, so you can start contributing to a project right away.” 

GitHub Discussions and code scanning

GitHub Codespaces is currently in beta and interested developers can sign up for access now. The company hasn't revealed pricing details for the new feature yet but according to Niyogi, it will have a similar pricing model to GitHub Actions which charges for computationally intensive tasks such as builds.

In addition to Codespaces, GitHub also announced another new feature called GitHub Discussions which will add discussion forums to projects so that developers can discuss their work.

Issues and pull requests previously allowed developers to discuss their code in a linear format but Discussions will allow for unstructured threaded conversations. The new feature can even be used for Q&As and according to GitHub, they can also be used to maintain FAQs and other documents. Discussions is currently in beta for open source communities but the feature will be made available for other projects soon.

To improve security, GitHub also announced two new features called code scanning and secret scanning. Code scanning, which is free for open source projects, can check users' code for potential security vulnerabilities and is powered by CodeQL. Secret scanning, which is available for private repositories, watches private repositories for known secret formats and identifies developers if any are found.

Finally, GitHub announced the launch of Private Instances for its enterprise customers. Private Instances provide a number of benefits including enhanced security, compliance and policy features along with bring-your-own-key encryption, backup archiving and compliance with regional data sovereignty requirements.

Via TechCrunch

Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home.