Skip to content

Auto-Completing the Upload Code of Media Files With GitHub Copilot

The past decade has seen massive improvements in software tools that facilitate coding. In fact, a campaign is currently underway to promote building software with no-code tools like Bubble, which promise to be a boon for those not acquainted with the rudiments of programming.

Separately, artificial Intelligence (AI) is certainly here to stay. In fact, it’s gaining popularity as an integrated infrastructure that deftly complement developer tools in speeding up and easing software development, ultimately yielding performant code.

As the world’s most popular code-hosting platform, GittHub serves billions of lines of open-source code. GitHub Copilot is an AI-enhanced programming companion that suggests lines and function blocks while you’re coding in an editor. Basically a code-autocomplete tool on steroids, GitHub Copilot is powered by Codex, the new AI system created by OpenAI and trained on all the code hosted on GitHub.

Seasoned developers are usually armed with code-editor extensions that help them build well-written, clean software faster. GitHub Copilot takes that to the next level, enabling adeptness with tools and libraries that might take time to familiarize with.

Functioning as an extension of Visual Studio (VS) Code, GitHub Copilot works locally in your VS Code editor and in the cloud on GitHub Codespaces. Currently, besides supporting many programming languages, GitHub Copilot is optimized for JavaScript, Ruby, Python, Typescript, Ruby, and Go.

Cloudinary’s Node.js SDK offers intuitive and comprehensive image- and video-upload, transformation, optimization, and delivery capabilities, which you can leverage with code that seamlessly integrates with your Node.js app.

To set up GitHub for Cloudinary’s Node.js SDK, follow these steps:

  1. Join the GitHub Copilot waitlist.
  2. Start your local VS Code editor.
  3. Search for the GitHub Copilot extension and install it.
  4. Install the Cloudinary Node.js SDK.

Afterwards, set up a simple Node.js project with the npm init command.

Like me, you’ll likely be wowed with how fast GitHub Copilot starts churning out terrific suggestions on everything that you need to build a media app with Cloudinary. For details on the procedures for uploading, serving, and transforming media files, see the comprehensive documentation on Cloudinary’s Node.js SDK .

The video demo below shows how GitHub Copilot prescribes Cloudinary methods.

For all the functionalities you need to implement for your app, GitHub Copilot recommends the related code and documentation, greatly boosting your productivity. Happy testing!

Back to top

Featured Post