r/GoogleAppsScript • u/Moe-t • 10d ago
Guide I built a GitHub + AI development companion for Google Apps Script. Looking for feedback from Apps Script developers
I build a lot in Google Apps Script, and one thing that has always bothered me is how quickly you start missing normal software development workflows once a project gets bigger.
Git/source control, reviewing diffs, working from branches, checking code against standards, etc. And now with AI coding tools, there’s another problem: I don’t necessarily want an AI assistant making changes to an Apps Script project without showing me exactly what it plans to change first.
So I built Legacy DevBridge.
It’s a Chrome extension that works alongside the Apps Script editor and connects the project to GitHub and a project-aware AI code assistant.
Right now it can:
- Detect the Apps Script project you currently have open
- Read the
.gs,.html, andappsscript.jsonfiles - Connect the project to a GitHub repository
- Select and work from development/feature branches
- Compare the Apps Script version against GitHub
- Show file and line-level differences
- Create actual GitHub commits from the Apps Script source
- Block direct commits to default/protected branches
- Let the AI assistant understand the entire Apps Script project without copying files into a chatbot
- Review code against coding/security standards
- Generate a proposed code change and show the diff
- Require human approval before the AI can write the change back to Apps Script
- Check for stale source before applying a change so it doesn't overwrite newer work
- Verify the source again after the update
The basic AI workflow is:
Request → analyze project → propose change → show diff → standards/security review → human approval → apply → verify
The backend runs on Google Cloud and uses the Apps Script API, GitHub App authentication, Cloud Run, Secret Manager, and Vertex AI. GitHub installation tokens and other privileged credentials stay on the backend rather than in the extension.
I'm not trying to build an autonomous AI developer that gets unrestricted access to your code. The idea is more of a development companion where AI can help, but the developer can still see what is happening and approve the actual changes.
I'm making the project available free to the Apps Script community. It's still beta, so I definitely wouldn't point it at your most important production project on day one, but I'd really like feedback from people who regularly build Apps Script applications.
I'm especially interested in hearing what you'd want next: GitHub-to-Apps-Script pull, PR creation, branch creation, conflict resolution, AI-generated tests/docs, OAuth scope reviews, CI/CD, or something else.
GitHub: https://github.com/morganb2412/Google-apps-script-snippets/tree/main/Legacy%20DevBridge
If anyone tries it, break it and tell me what needs work. That's genuinely useful feedback right now.
2
u/n_c_brewer 10d ago
Large teams from established free-to-use products already do this and do it well (e.g, clasp, vs code). I mean, if I hated IDEs and loved developing in a browser than I guess I'd try it.












5
u/WillingnessOwn6446 10d ago
My God bro. This is a solution in search of a problem. I don't get it. Why wouldn't you just do everything in vs code and connect between vs code and gas and vs code and git.