All Projects → labnol → Apps Script Starter

labnol / Apps Script Starter

Licence: mit
Setup a local development environment inside Visual Studio Code and build Google Workspace add-ons with Google Apps Script

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Apps Script Starter

code
Google Apps Script - Code Snippets 👩🏻‍💻
Stars: ✭ 108 (-82.32%)
Mutual labels:  gmail, google-sheets
Unsubscribe Gmail
Gmail Unsubscriber is a Google Apps Script for unsubscribing from unwanted emails newsletters and other bulk emails with one click. It works with Gmail and Google Inbox.
Stars: ✭ 987 (+61.54%)
Mutual labels:  google-sheets, gmail
Gmenu
A redesigned menu for Gmail iOS app, implemented using SwiftUI
Stars: ✭ 255 (-58.27%)
Mutual labels:  gmail
Flipview
Flipping views like Gmail & beyond
Stars: ✭ 477 (-21.93%)
Mutual labels:  gmail
Rssguard
RSS Guard is simple feed reader which supports web-based feed services.
Stars: ✭ 373 (-38.95%)
Mutual labels:  gmail
Magento2 Gmail Smtp App
Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
Stars: ✭ 281 (-54.01%)
Mutual labels:  gmail
Gmail Helper
it will contain different utilities for GMail API over OAuth2
Stars: ✭ 408 (-33.22%)
Mutual labels:  gmail
gnome-email-notifications
Gnome Email Notifications
Stars: ✭ 65 (-89.36%)
Mutual labels:  gmail
Sqlitebiter
A CLI tool to convert CSV / Excel / HTML / JSON / Jupyter Notebook / LDJSON / LTSV / Markdown / SQLite / SSV / TSV / Google-Sheets to a SQLite database file.
Stars: ✭ 601 (-1.64%)
Mutual labels:  google-sheets
Firestoregoogleappsscript
A Google Apps Script library for accessing Google Cloud Firestore.
Stars: ✭ 352 (-42.39%)
Mutual labels:  google-sheets
Darkness
Dark Themes for Popular Websites
Stars: ✭ 467 (-23.57%)
Mutual labels:  gmail
Gmail.js
Gmail JavaScript API
Stars: ✭ 3,439 (+462.85%)
Mutual labels:  gmail
Lieer
Fast email-fetching and sending and two-way tag synchronization between notmuch and GMail
Stars: ✭ 301 (-50.74%)
Mutual labels:  gmail
Gatsby Mail
A Gatsby email *application*
Stars: ✭ 450 (-26.35%)
Mutual labels:  gmail
Gmail Notifr
A MacRuby Gmail Notifier for Mac OS X
Stars: ✭ 264 (-56.79%)
Mutual labels:  gmail
Tosheets
Send your stdin to google sheets
Stars: ✭ 536 (-12.27%)
Mutual labels:  google-sheets
Gmail-Hack
Gmail account using brute force attack
Stars: ✭ 69 (-88.71%)
Mutual labels:  gmail
Gmvault
gmail backup software
Stars: ✭ 3,396 (+455.81%)
Mutual labels:  gmail
Gdog
A fully featured Windows backdoor that uses Gmail as a C&C server
Stars: ✭ 399 (-34.7%)
Mutual labels:  gmail
Beelogger
Generate Gmail Emailing Keyloggers to Windows.
Stars: ✭ 605 (-0.98%)
Mutual labels:  gmail

Google Apps Script Development 💯

The Google Apps Script Starker kit supports the new V8 JavaScript runtime that powers Chrome and Node.js. You can write code using modern ECMAScript syntax like Arrow functions, Classes, Template Literals, Destructuring and more.

Google Apps Script Development with ES6

Please follow the 👉 step-by-step video tutorial 👈 for quickly getting started with Apps Script development inside Visual Studio Code.

You can build GSuite add-ons (for Google Docs, Slides, Gmail and Google Sheets), web applications and workflow automation routines with next-generation JavaScript.

The starter kit is used by Digital Inspiration for building popular Google add-ons including Gmail Mail Merge, Google Forms Notifications and Document Studio.

Build with Google Apps Script 🚀

Setting up a modern development environment for building Google Apps Script projects is easy and quick (video tutorial).

You also need to install Node.js which includes the npm package manager.

📦 Getting Started

1. Clone the repository and install npm dependencies and utilities.

git clone https://github.com/labnol/apps-script-starter my-project
cd my-project
npm install

Update: The git clone command adds a .git folder to your folder that pertains to the Apps Script Starter project and not your local project. You should either re-init the repository or use degit to clone the repository.

npx degit labnol/apps-script-starter my-project

2. Log in to Google clasp and authorize using your Google account.

npx clasp login

3. Create a new Google Script bound to a Google Sheet (or set the type as standalone to create a standalone script in your Google Drive)

npx clasp create --type sheets --title "My Apps Script Project" --rootDir ./dist

4. Include the necessary OAuth Scopes in the appsscript.json file

5. Deploy the project

npm run deploy

The dist directory contains the bundled code that is pushed to Google Apps Script.

Google Apps Script - Setup Development Environment

Enable JavaScript v8 Runtime

Inside the Google Apps Script editor, select View > Show project manifest to open the appsscript.json manifest file in the editor. Add a new runtimeVersion field and set the value to V8. Save your script.

Google Apps Script - v8 Runtime

The .claspignore file

The .claspignore file allows you to specify file and directories that you do not wish to not upload to your Google Apps Script project via clasp push.

The default .claspignore file in the Apps Script Starter kit will push all the JS and HTML inside the rootDir folder and ignore all the other files.

🔰 Using Git with Google Apps Script

Google Apps Script - Github

Create a new repository in Github and make a note of the URL of the new repository. Next, open the terminal and run the above commands to push your Apps Script project to Github.

Custom Google Sheet function

Please read the tutorial on how to write custom functions for Google Sheets using Apps Script.

🔥 Meet the Developer

Amit Agarwal is a web geek, Google Developers Expert (GSuite, Google Apps Script) and author of labnol.org, a popular tech how-to website.

He frequently uses Google Apps Script to automate workflows and enhance productivity. Reach him on Twitter or email [email protected]

🌸 Contribution

Contributions and feature requests are welcome. If you are using the Google Apps Script starter package and fixed a bug for yourself, please consider submitting a PR!

🔒 License

MIT License (c) Amit Agarwal

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].