Manage your gas code with github/github enterprise/bitbucket/gitlab

Latest Version

Version
5.0.6
Update
September 6, 2024
Size
153KiB
Developer
Category
Users
20,000+
Rating
4.69388 ★
Manifest Version
3
Web Store Status
Languages Support
English
Français
русский
中文 (简体)
日本語
See more
Permissions
Identity
Storage
See more

Google Apps Script GitHub Assistant Extension

Manage your Google Apps Script code with your favorite scm(github/github enterprise/bitbucket).

[IMPORTANT] The new version requires Google OAuth to call Apps Script API, before the OAuth app be verified by Google, it only allow to grant 100 users' permission, if you encounter some errors said can not grant permission to the app, please wait for the verification process completed, sorry for the inconvenience!
If you can not wait, please try check out the code from https://github.com/leonhartX/gas-github and switch to v4.0.3, install the extension from source with \"Load Unpacked\" in the extension page, it can still work with the old IDE.

Feature:
- Push/Pull code between github and Google Apps Script
- Sync your code to public/secret Gist
- Works with \"Embedded\" scripts (Scripts that are bound to SHEETS, DOCS, and FORMS)
- Create github repo, branch and file from Google App Script IDE
- Show diff when pull/push
- Support choose files to pull/push
- Support commit comment when push
- Support Github, Github Enterprise, Bitbucket and GitLab
- Support two-factor authentication(only for Github and Github Enterprise)
- Support directory(with slash in filename)
- Support Github Organization, Bitbucket Team and GitLab Groups.
- Google Apps Script native ui

Attention:

- The *Pull* is not work actually the same as Github, since Google Apps Script do not have revision info, the *Pull* will just fetch your code from github and OVERWRITE(not merge) to the project.

Changelog 5.05
- migrate to manifest v3

Changelog 5.05
- remove gitlab.com permission, fix some gitlab issue by @Hell-K

Changelog 5.0.3
- remove unnecessary permission

Changelog 5.0.2
- fix ignore file error

Changelog 5.0.1
- improve log for new IDE
- change extension icon

Changelog 5.0.0
- [IMPORTANT] Use Google Apps Script API instead of internal RPC since it changed in new IDE, need to login with Google to work(currently the Google OAuth App is note verified yet, so there will be a warn page)
- Support new GAS IDE(old IDE is not supported anymore)
- Fix can not work with multi IDE tab in same browser

Changelog 4.0.7
- Fix GitHub deprecation notification for using token in query parameter

Changelog 4.0.6
- Use unicode icons
- Highlight current repo

Changelog 4.0.5
- Fix broken due to internal RPC update

Changelog 4.0.4
- Fix broken due to internal RPC update

Changelog 4.0.3
- Fix .gs pulled as .html

Changelog 4.0.2
- Remove support for hosted GitLab

Changelog 4.0.1
- Fix an undefined error when file not existed

Changelog 4.0.0
- Add support for GitLab (the addition permission requested is for GitLab)

Changelog 3.3.6
- Fix extension not work with AppsScript Color 1.0.1

Changelog 3.3.4
- Fix url issue in 3.3.3

Changelog 3.3.3
- Support corporate google apps account.

Changelog 3.3.2
- Fix push/pull not work with embedded script.

Changelog 3.3.1
- Fix GAS's PRC change.

Changelog 3.3.0
- Support manifest file with a new config item.
- Fix unexpected deletion when push to Github.

Changelog 3.2.2
- Fix bitbucket connection error when there's too many repo.

Changelog 3.2.1
- Bug fix.

Changelog 3.2.0
- Add ignore file pattern option.

Chaneglog 3.1.0
- Add an option to support change file type to sync(upload .gs file as .js).

Changelog 3.0.3
- Fix login github with email not work.

Changelog 3.0.2
- Fix dismiss link now work.

Changelog 3.0.1
- Add relogin warn.

Changelog 3.0.0
- Support bitbucket.org.
- Show repo's full name (with user/organization) in dropdown list.
- Support create repo under Github organization or Bitbucket team.
- Fix create new branch from current branch.
- Fix several minor bugs.

Changelog 2.0.5
- Bug fix.

Changelog 2.0.4
- Bug fix.

Changelog 2.0.3
- Add star option when login.

Changelog 2.0.2
- Fix delete files failed sometimes.

Changelog 2.0.1
- Support create private repo from extension.

Changelog 2.0.0
- Support file deleted and rename.

Changelog 1.0.1
- Support use access token to login.

Changelog 1.0.0
- Add Gist support. now you can sync your code to gist(public/secret).
- To use gist, you must re-login to create a new access token which has the gist permission, or manually add gist scope in your current github access token.
- Simple usage: select 'Using Gist' in repo dropdown list, and then select gist id in Gist dropdown list.

Changelog 0.1.9
- make error message more clearly when try to create branch in empty repo

Changelog 0.1.8
- change gwt call to newest version

Changelog 0.1.7
- fix minor bugs

Changelog 0.1.3
- change github scope to 'repo' to support private repo

Changelog 0.1.2
- fix bug: follow Github API's Link header to get all repos/branches
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "version": "5.0.6", "manifest_version": 3, "default_locale": "en", "name": "__MSG_appName__", "short_name": "gas-github", "author": "[email protected]", "description": "__MSG_appDesc__", "icons": { "16": "icon/icon.png", "48": "icon/icon.png", "128": "icon/icon.png" }, "background": { "service_worker": "background/background.js", "type": "module" }, "options_ui": { "page": "options/options.html" }, "content_scripts": [ { "matches":["https://script.google.com/*"], "js":[ "lib/jquery.min.js", "lib/diff.min.js", "lib/diff2html.min.js", "lib/diff2html-ui.min.js", "lib/highlight.min.js", "src/util.js", "src/scm/github.js", "src/scm/bitbucket.js", "src/scm/gitlab.js", "src/gas/script-api.js", "src/gas-hub.js" ], "css":[ "lib/diff2html.css", "lib/github.css" ], "all_frames": true, "run_at": "document_end" } ], "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" }, "web_accessible_resources": [ { "resources": [ "gas-hub.js", "content/alert.html", "content/button.html", "content/modal.html", "content/login.html" ], "matches": ["https://script.google.com/*"] }, { "resources": [ "options/options.html" ], "matches": ["*://*/*"] } ], "permissions": [ "identity", "storage" ], "host_permissions": [ "https://script.google.com/*" ], "oauth2": { "client_id": "971735641612-plgfavrj0vhpsd1brvquo4qt7m91ujs6.apps.googleusercontent.com", "scopes":["https://www.googleapis.com/auth/script.projects"] }, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApkXU5iUw1bq/mTyz8lR4l8jSgZgLAc6udwsO+FpdsisNrpCzy3EyDB52eibE+s+6IycE5G3XEkMMhtZfGOPe0BK3qz7DML1XQ2Q3GChe7rsRbWrQckzYMRwsoS6ogSJGEFccbWpzofKV1lZlc0Tu0SXVglF71b3gioPBU4K4ym1X44axuTeAjak9fqB7ICM8OkvxetenDXE+UN0zv+Y2SY+FdlY2Q2+QD5SDJ1PhydDXn7kAGiIYVzUbVWvmKyT0briT5niBbF+lMqmYeDMRCtzlcdI7ym0WGihx0ckDZJcmDksSMgEpNyzlGaYjx08+UHQ2O7a5nqUcUfUUg6307QIDAQAB"}
Read more

Similar Extensions

icon

Google Apps Script Custom IDE Extension · Developer Tools 20,000+ 8 ★ 420KiB

icon

Google Apps Script Tools Extension · Developer Tools 20,000+ 15 ★ 97.94KiB

icon

Black Apps Script Extension · Developer Tools 20,000+ 42 ★ 4.91MiB

icon

AppsScript Color Extension · Developer Tools 20,000+ 147 ★ 48.29KiB

icon

Google Apps Script Copilot Extension · Developer Tools 20,000+ 18 ★ 2.84MiB

icon

App Script Editor PRO Extension · Developer Tools 20,000+ 1 ★ 279KiB

icon

Apps Script Sortable List Files Extension · Developer Tools 20,000+ 11 ★ 27.65KiB

icon

Enhanced GitHub Extension · Developer Tools 20,000+ 59 ★ 47.01KiB

icon

Github Node.js require() navigator Extension · Developer Tools 20,000+ 8 ★ 509KiB

icon

Google Apps Sidebar Toggle Extension · Developer Tools 20,000+ 2 ★ 38.26KiB

icon

Make GitHub Great Again Extension · Developer Tools 20,000+ 38 ★ 528KiB

icon

npmhub Extension · Developer Tools 20,000+ 19 ★ 77.19KiB

icon

GitHub Hovercard Extension · Developer Tools 20,000+ 41 ★ 121KiB

icon

Markdown Menu for GitHub Extension · Developer Tools 20,000+ 9 ★ 5.8KiB

icon

Font Size Changer for AppsScript Extension · Developer Tools 20,000+ 3 ★ 462KiB

icon

Wide GitHub Extension · Developer Tools 20,000+ 67 ★ 17.71KiB

icon

github.expandinizr Extension · Developer Tools 20,000+ 29 ★ 68.69KiB

icon

Pretty Pull Requests (Github) Extension · Developer Tools 20,000+ 21 ★ 412KiB

icon

OctoLinker Extension · Developer Tools 20,000+ 110 ★ 184KiB

icon

Octotree - GitHub code tree Extension · Developer Tools 20,000+ 1139 ★ 3.54MiB

icon

GitHub Repository Size Extension · Developer Tools 20,000+ 80 ★ 12.9KiB

icon

Sourcegraph Extension · Developer Tools 20,000+ 169 ★ 8.22MiB

icon

Wiki Search for GitHub Extension · Productivity 20,000+ 31 ★ 773KiB

icon

Widescreen for GitHub Extension · Developer Tools 20,000+ 24 ★ 1.94MiB

User reviews

icon

Dmytro Vinetskyi (ID: 000000c5369ea7bb) Voted 5 ★ - Updated 02/25/2023 Amazing. Was some problems on start, but then do creates repo and pushs.

icon

Jacob Robertson (ID: 00000056f15773c2) Voted 3 ★ - Updated 11/29/2022 This tool was amazing when it worked. I wish that someone could pick it back up and make it compatible again.

icon

MATHEUS ANTONIO NUNES DE OLIVEIRA (ID: 0000002a61f5d354) Voted 5 ★ - Updated 10/07/2022 Simples de usar, e funciona perfeitamente!

icon

D W (ID: 0000003f2c96bd86) Voted 5 ★ - Updated 10/05/2022 Works flawlessly so far. Really provides essential functionaliy that should have been included into Google Apps Script from the start.

icon

Vincenzo (ID: 000000a5008a842a) Voted 2 ★ - Updated 07/15/2022 Nice idea but.... I get the following error in my console "github assistant TypeError: Cannot read properties of undefined (reading 'forEach')"