{"id":22499,"date":"2021-08-25T16:21:38","date_gmt":"2021-08-25T16:21:38","guid":{"rendered":"http:\/\/auto_completing_the_upload_code_of_media_files_with_github_copilot"},"modified":"2022-03-28T17:32:15","modified_gmt":"2022-03-28T17:32:15","slug":"auto_completing_the_upload_code_of_media_files_with_github_copilot","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot","title":{"rendered":"Auto-Completing the Upload Code of Media Files With GitHub Copilot"},"content":{"rendered":"<div class=\"wp-block-cloudinary-markdown \"><p>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.<\/p>\n<p>Separately, artificial Intelligence (AI) is certainly here to stay. In fact, it\u2019s gaining popularity as an integrated infrastructure that deftly complement developer tools in speeding up and easing software development, ultimately yielding performant code.<\/p>\n<h2>GitHub Copilot Capabilities<\/h2>\n<p>As the world\u2019s most popular code-hosting platform, GittHub serves billions of lines of open-source code. <a href=\"https:\/\/copilot.github.com\/\">GitHub Copilot<\/a> is an AI-enhanced programming companion that suggests lines and function blocks while you\u2019re 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.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<h2>Setup Procedure for GitHub Copilot and Cloudinary\u2019s Node.js SDK<\/h2>\n<p>Cloudinary\u2019s 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.<\/p>\n<p>To set up GitHub for Cloudinary\u2019s Node.js SDK, follow these steps:<\/p>\n<ol>\n<li>Join the <a href=\"https:\/\/github.com\/features\/copilot\/signup\">GitHub Copilot waitlist<\/a>.<\/li>\n<li>Start your local VS Code editor.<\/li>\n<li>Search for the GitHub Copilot extension and install it.<\/li>\n<li>Install the <a href=\"https:\/\/github.com\/cloudinary\/cloudinary_npm\">Cloudinary Node.js SDK<\/a>.<\/li>\n<\/ol>\n<p>Afterwards, set up a simple Node.js project with the <code>npm init<\/code> command.<\/p>\n<p>Like me, you\u2019ll 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\u2019s Node.js SDK .<\/p>\n<p>The video demo below shows how GitHub Copilot prescribes Cloudinary methods.<\/p>\n<video controls=\"controls\" muted poster=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/video\/upload\/w_700,c_fill,f_auto,q_auto,dpr_2.0\/Web_Assets\/blog\/co-pilot_cloudinary.jpg\" src=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/video\/upload\/w_700,f_auto,q_auto\/Web_Assets\/blog\/co-pilot_cloudinary.mp4\">\n<\/video>\n<p>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!<\/p>\n<blockquote class=\"twitter-tweet\"><p lang=\"en\" dir=\"ltr\">I took <a href=\"https:\/\/twitter.com\/github?ref_src=twsrc%5Etfw\">@github<\/a> co-pilot for a spin. I decided to use <a href=\"https:\/\/twitter.com\/cloudinary?ref_src=twsrc%5Etfw\">@cloudinary<\/a> in the project. <br><br>&#8211; No looking at documentation. <br>&#8211; Just <a href=\"https:\/\/twitter.com\/github?ref_src=twsrc%5Etfw\">@github<\/a> co-pilot auto-completing my code for me and pairing with me to figure out file uploads.<br><br>We&#39;re in trouble. This is amazing! <a href=\"https:\/\/t.co\/iWaHLPahcn\">pic.twitter.com\/iWaHLPahcn<\/a><\/p>&mdash; Bar Raiser (@unicodeveloper) <a href=\"https:\/\/twitter.com\/unicodeveloper\/status\/1410395265819885575?ref_src=twsrc%5Etfw\">July 1, 2021<\/a><\/blockquote> <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":41,"featured_media":22500,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":""},"categories":[1],"tags":[263],"class_list":["post-22499","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-sdk"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Auto-Completing the Upload Code of Media Files With GitHub Copilot<\/title>\n<meta name=\"description\" content=\"AI-enhanced GitHub Copilot recommends code through autocomplete while you&#039;re coding\u2014a big help for managing media along with Cloudinary&#039;s Node.js SDK.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Auto-Completing the Upload Code of Media Files With GitHub Copilot\" \/>\n<meta property=\"og:description\" content=\"AI-enhanced GitHub Copilot recommends code through autocomplete while you&#039;re coding\u2014a big help for managing media along with Cloudinary&#039;s Node.js SDK.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-25T16:21:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-28T17:32:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1645223601\/website-2021\/blog\/github-copilot-1\/github-copilot-1-png?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"1540\" \/>\n\t<meta property=\"og:image:height\" content=\"847\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#article\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Auto-Completing the Upload Code of Media Files With GitHub Copilot\",\"datePublished\":\"2021-08-25T16:21:38+00:00\",\"dateModified\":\"2022-03-28T17:32:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot\"},\"wordCount\":10,\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA\",\"keywords\":[\"SDK\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2021\",\"copyrightHolder\":{\"@id\":\"https:\/\/cloudinary.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot\",\"url\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot\",\"name\":\"Auto-Completing the Upload Code of Media Files With GitHub Copilot\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA\",\"datePublished\":\"2021-08-25T16:21:38+00:00\",\"dateModified\":\"2022-03-28T17:32:15+00:00\",\"description\":\"AI-enhanced GitHub Copilot recommends code through autocomplete while you're coding\u2014a big help for managing media along with Cloudinary's Node.js SDK.\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA\",\"width\":1540,\"height\":847},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudinary.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Auto-Completing the Upload Code of Media Files With GitHub Copilot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"name\":\"Cloudinary Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudinary.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\",\"name\":\"Cloudinary Blog\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"width\":312,\"height\":60,\"caption\":\"Cloudinary Blog\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Auto-Completing the Upload Code of Media Files With GitHub Copilot","description":"AI-enhanced GitHub Copilot recommends code through autocomplete while you're coding\u2014a big help for managing media along with Cloudinary's Node.js SDK.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot","og_locale":"en_US","og_type":"article","og_title":"Auto-Completing the Upload Code of Media Files With GitHub Copilot","og_description":"AI-enhanced GitHub Copilot recommends code through autocomplete while you're coding\u2014a big help for managing media along with Cloudinary's Node.js SDK.","og_url":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot","og_site_name":"Cloudinary Blog","article_published_time":"2021-08-25T16:21:38+00:00","article_modified_time":"2022-03-28T17:32:15+00:00","og_image":[{"width":1540,"height":847,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/v1645223601\/website-2021\/blog\/github-copilot-1\/github-copilot-1-png?_i=AA","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot"},"author":{"name":"","@id":""},"headline":"Auto-Completing the Upload Code of Media Files With GitHub Copilot","datePublished":"2021-08-25T16:21:38+00:00","dateModified":"2022-03-28T17:32:15+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot"},"wordCount":10,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA","keywords":["SDK"],"inLanguage":"en-US","copyrightYear":"2021","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot","url":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot","name":"Auto-Completing the Upload Code of Media Files With GitHub Copilot","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA","datePublished":"2021-08-25T16:21:38+00:00","dateModified":"2022-03-28T17:32:15+00:00","description":"AI-enhanced GitHub Copilot recommends code through autocomplete while you're coding\u2014a big help for managing media along with Cloudinary's Node.js SDK.","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA","width":1540,"height":847},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/auto_completing_the_upload_code_of_media_files_with_github_copilot#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Auto-Completing the Upload Code of Media Files With GitHub Copilot"}]},{"@type":"WebSite","@id":"https:\/\/cloudinary.com\/blog\/#website","url":"https:\/\/cloudinary.com\/blog\/","name":"Cloudinary Blog","description":"","publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudinary.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudinary.com\/blog\/#organization","name":"Cloudinary Blog","url":"https:\/\/cloudinary.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","width":312,"height":60,"caption":"Cloudinary Blog"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":""}]}},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718606\/Web_Assets\/blog\/github-copilot-1\/github-copilot-1.png?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/22499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=22499"}],"version-history":[{"count":1,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/22499\/revisions"}],"predecessor-version":[{"id":23645,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/22499\/revisions\/23645"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/22500"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=22499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=22499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=22499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}