Do you like coding but you hate the scaffolding and prep-work?
As developer, I often spend a considerable amount of time setting up development environments and the project scaffolding before I even write a single line of code. Configuring dependencies, installing tools, and making sure everything runs smoothly across different machines can be tedious. IF you find this prep work time consuming and constraining then...
Enter GitHub Codespaces
GitHub Codespaces is cloud-based development environment that allows you to start coding instantly without the hassle of setting up a local machine on your browser!
Whether you’re working on an open-source project, collaborating with a team, or quickly prototyping an idea, Codespaces provides a streamlined workflow with minimal scaffolding.
Why GitHub Codespaces?
-
Instant Development Environments
With a few clicks, you get a fully configured development environment in the cloud. No need to install dependencies manually—just launch a Codespace, and it’s ready to go. -
Pre-configured for Your Project
Codespaces can use Dev Containers (.devcontainer.json
) to define dependencies, extensions, and runtime settings. This means every team member gets an identical setup, reducing "works on my machine" issues. -
Seamless GitHub Integration
Since Codespaces runs directly on GitHub, pushing, pulling, and collaborating on repositories is effortless. No need to clone and configure repositories locally. -
Access from Anywhere
You can code from a browser, VSCode desktop, or even an iPad, making it an excellent option for developers who switch devices frequently. -
Powerful Compute Resources
Codespaces provides scalable cloud infrastructure, so even resource-intensive projects can run smoothly without overloading your local machine.
A Real-World Example
Imagine you’re starting a new Streamlit project on their community. Normally, you’d:
- Install Streamlit and other packages
- Set up a virtual environment
- Configure dependencies
- Ensure all team members have the same setup
With GitHub Codespaces, you can define everything in a requirements.txt and .devcontainer.json
file and launch your environment in seconds. No more worrying about mismatched Python versions or missing dependencies—just open a browser and start coding.
See below how I obtained this coding environment to built a Weather Streamlit app quickly and for FREE using the Streamlit community Cloud
Final Thoughts
GitHub Codespaces is a game-changer for modern development I think. It eliminates the friction of setting up environments, making collaboration effortless and speeding up development cycles. If you haven’t tried it yet, spin up a Codespace for your next project—you might never go back to traditional setups on your laptop anymore.
There is another tool I want to look at which does all the scaffolding automatically with AI. Is the IDE called 'Windsurf' from Codeium, but that's another blog post.