Ai Coding Tools

How to Use GitHub Copilot to Complete a Project in 2 Hours

By BTW Team3 min read

Comparing tools? See the AI tools tested on the show.

In short

A step-by-step guide showing how to effectively leverage GitHub Copilot's features to enhance productivity and finish a coding project quickly.

You’ve probably heard the buzz about GitHub Copilot but might be wondering if it can actually help you ship a project in a tight timeframe. The truth is, using AI tools like Copilot can significantly enhance your productivity, especially if you're a solo founder or indie hacker working on a side project. In this guide, I’ll show you how I’ve used GitHub Copilot to complete coding tasks in just two hours. Let’s dive in!

Prerequisites: What You Need

Before you can start using GitHub Copilot, ensure you have the following:

  1. GitHub Account: Sign up for a free account if you don’t have one already.
  2. Visual Studio Code (VS Code): Download and install VS Code, as Copilot integrates directly with it.
  3. GitHub Copilot Subscription: As of July 2026, GitHub Copilot costs $10/month with a free trial for the first 30 days.
  4. Basic Coding Knowledge: Familiarity with the programming language you plan to use is essential.

Step-by-Step: Completing Your Project

Step 1: Set Up Your Environment (10 minutes)

  • Open Visual Studio Code and install the GitHub Copilot extension from the marketplace.
  • Create a new project folder and open it in VS Code.

Step 2: Start Coding with Copilot (15 minutes)

  • Begin typing a function or a class. For example, if you’re building a simple API, start with a comment like // Create an Express server.
  • Copilot will automatically suggest code based on what you’ve typed. Accept the suggestion by pressing Tab.

Step 3: Refine Functionality (30 minutes)

  • Continue adding comments to guide Copilot. For example, // Add a route to get user data.
  • Evaluate the suggestions Copilot provides. You might need to refine or edit the code to fit your specific requirements.

Step 4: Testing Your Code (30 minutes)

  • Set up a testing framework like Jest, which is straightforward if you’re using Node.js.
  • Write a few test cases, and let Copilot assist you in writing the test functions based on the main code you’ve created.

Step 5: Final Review and Deployment (25 minutes)

  • Go through your code and remove any unnecessary parts or comments.
  • Deploy your project using a service like Heroku or Vercel, which can be done quickly with a few commands.

Expected Output

By the end of this process, you should have a functional project, complete with basic features and tests, ready for deployment.

Troubleshooting: What Could Go Wrong

  1. Inaccurate Suggestions: Sometimes Copilot may suggest incorrect code. Always validate the suggestions.
  2. Language Limitations: Copilot works best with popular languages like JavaScript, Python, and TypeScript. If you're using something niche, be prepared to write more manually.
  3. Debugging: If your code doesn’t work as expected, take time to debug. Copilot can’t fix logical errors.

What’s Next?

After completing your project, consider the following next steps:

  • Iterate: Gather feedback from users and iterate on your project.
  • Scale: If your project gains traction, think about how you can scale it effectively.
  • Explore Advanced Features: Look into more advanced GitHub Copilot features, like multi-line suggestions or context-aware completions.

Conclusion: Start Here

GitHub Copilot can be a game-changer for indie hackers and solo founders looking to speed up their coding process. By following the steps outlined above, you can realistically complete a project in just two hours. Remember to leverage Copilot's suggestions while also validating the code it generates to ensure quality.

What We Actually Use: In our experience at Ryz Labs, we use GitHub Copilot primarily for rapid prototyping and to handle boilerplate code, which saves us tons of time on routine tasks.

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read