Hello, I'm Maneshwar. I'm building git-lrc, a Micro AI code reviewer that runs on every commit. It is free and source-available on Github. Star git...
For further actions, you may consider blocking this person and/or reporting abuse
Really enjoyed this π
I had no idea ANYONE and ANYONE_ANONYMOUS behaved differently in Apps Script. That kind of tiny detail can easily cost hours of debugging. Also, clasp looks like a huge quality of life improvement. Thanks for sharing this. I'll definitely keep it in mind if I end up building something similar.
Haha thanks Hema, I'm happy you liked it :)
yeah, the Apps Script copy-paste loop silently steals afternoons. clasp + a tsconfig sorted this for me too. curious what you do for deployment - push straight to prod or stage it first?
Internal tool go directly to prod xD
haha fair, direct to prod is its own kind of discipline. what's the worst incident so far
Dude, you should have just done a test deployment. Then all the changes would immediately apply to the web app without changing the URL. And after debugging is complete, you can deploy the app to production once. Read the documentation.
Heads up on the flip side of that fix. Once the deployment is ANYONE_ANONYMOUS, anyone who finds the URL can POST junk straight into your sheet, and some bored bot eventually will. A shared secret in the payload that doPost checks before writing costs a couple of lines and closes most of that hole. The clasp deploy -i trick was the part I didn't know, keeping one stable /exec URL kills the whole ritual of pasting a new URL into the extension. And the UI saying "Anyone" while the manifest means "anyone logged into Google" probably explains a lot of mystery 401 threads out there.
Yo
Clasp is a good example of tooling turning a fragile ritual into a workflow. The win is not only fewer copy-paste mistakes, but having version history and review around scripts that affect real users.
Yes sir
TextStow could be useful for this workflow β clipboard history + reusable favorites + prompt templates + cleanup for JSON/PDF/URLs. Local-first, free: textstow.com
I see
Nice use case for clasp! Glad those -i -V flags came clutch here.
Yess