<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: akihito</title>
    <description>The latest articles on DEV Community by akihito (@akihito_f71811336b).</description>
    <link>https://dev.to/akihito_f71811336b</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3893314%2F933f98f6-93d3-4689-ac15-7d726c90af6c.png</url>
      <title>DEV Community: akihito</title>
      <link>https://dev.to/akihito_f71811336b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/akihito_f71811336b"/>
    <language>en</language>
    <item>
      <title>glasp: A Go-based, Zero-dependency CLI for Google Apps Script (clasp Alternative)</title>
      <dc:creator>akihito</dc:creator>
      <pubDate>Fri, 24 Apr 2026 05:17:56 +0000</pubDate>
      <link>https://dev.to/akihito_f71811336b/glasp-a-go-based-zero-dependency-cli-for-google-apps-script-clasp-alternative-5hnl</link>
      <guid>https://dev.to/akihito_f71811336b/glasp-a-go-based-zero-dependency-cli-for-google-apps-script-clasp-alternative-5hnl</guid>
      <description>&lt;p&gt;If you use &lt;code&gt;clasp&lt;/code&gt; for local Google Apps Script (GAS) development, you might have faced challenges with Node.js runtime overhead or slow deployment speeds. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/takihito/glasp" rel="noopener noreferrer"&gt;glasp&lt;/a&gt;&lt;/strong&gt; is a Go-based CLI tool designed to address these issues, offering high performance and a simplified developer experience.&lt;/p&gt;




&lt;h3&gt;
  
  
  What is glasp?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;glasp&lt;/strong&gt; is a CLI for managing Google Apps Script projects. By leveraging Go, it provides a standalone binary that eliminates the need for Node.js while maintaining high compatibility with the official &lt;code&gt;clasp&lt;/code&gt; tool.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Official Site:&lt;/strong&gt; &lt;a href="https://takihito.github.io/glasp/" rel="noopener noreferrer"&gt;https://takihito.github.io/glasp/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/takihito/glasp" rel="noopener noreferrer"&gt;takihito/glasp&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero Dependencies:&lt;/strong&gt; Runs as a single binary. No Node.js or &lt;code&gt;npm install&lt;/code&gt; required.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;clasp Compatibility:&lt;/strong&gt; Works with existing &lt;code&gt;.clasp.json&lt;/code&gt; and &lt;code&gt;appsscript.json&lt;/code&gt; files. Commands like &lt;code&gt;login&lt;/code&gt;, &lt;code&gt;push&lt;/code&gt;, and &lt;code&gt;pull&lt;/code&gt; follow the same syntax.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High Performance:&lt;/strong&gt; Concurrent processing allows for significantly faster file scanning and uploading, especially in large projects.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Actions Optimized:&lt;/strong&gt; A dedicated Action is available, allowing for deployment without setting up a Node.js environment.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Installation (Local)
&lt;/h3&gt;

&lt;p&gt;For macOS and Linux, you can install &lt;code&gt;glasp&lt;/code&gt; using the following script:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-sL&lt;/span&gt; https://takihito.github.io/glasp/install.sh | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Deployment via GitHub Actions
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;glasp&lt;/code&gt; is provided as a GitHub Action, so you can call it directly in your workflow. This eliminates the "Setup Node.js" step and reduces CI execution time.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Deploy to Google Apps Script&lt;/span&gt;
&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;push&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;branches&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;main&lt;/span&gt;&lt;span class="pi"&gt;]&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;deploy&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/checkout@v4&lt;/span&gt;

      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Deploy with glasp&lt;/span&gt;
        &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;takihito/glasp@v0.2.8&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;v0.2.8'&lt;/span&gt;
          &lt;span class="na"&gt;auth&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;${{&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;secrets.CLASPRC_JSON&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;}}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Implementation Note:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Register the contents of your local &lt;code&gt;~/.clasprc.json&lt;/code&gt; as a GitHub Secret named &lt;code&gt;CLASPRC_JSON&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Since it runs as a Docker container action, the environment setup is minimal and fast.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  💡 Conclusion
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;glasp&lt;/code&gt; is a practical alternative for developers who want to decouple their GAS workflow from Node.js or optimize their CI/CD pipelines for speed.&lt;/p&gt;

&lt;p&gt;If you are looking for a lightweight and faster way to manage your scripts while keeping your existing &lt;code&gt;clasp&lt;/code&gt; configurations, &lt;code&gt;glasp&lt;/code&gt; is a strong candidate.&lt;/p&gt;

&lt;h1&gt;
  
  
  googleappsscript #gas #go #githubactions #clasp #glasp
&lt;/h1&gt;

</description>
      <category>cli</category>
      <category>gas</category>
      <category>clasp</category>
      <category>githubactions</category>
    </item>
  </channel>
</rss>
