Live data from Hacker News

Google Workspace CLI

github.com

241–250 of 316 posts

Re: Google Workspace CLI

#242

Related, I often work with markdown docs (usually created via CLI agents like Claude Code) and need to collaborate with others in google docs, which is extremely markdown-unfriendly[1], so I built small quality-of-life CLI tools to convert Gdocs -> md and vice versa, called gdoc2md and md2gdoc: https://pchalasani.github.io/claude-code-tools/integrations/... They handle embedded images in both directions. There are si…

Paste from markdown (Chrome only) works _really_ well for me. What are the extra steps you’re running into?

Interesting, in my Arc browser, I just tried File -> open -> upload -> blah.md and it does seem to render fine. This exact thing did not work a few weeks ago, meaning the various header markers etc showed up as raw "##" etc, and I had to further select something like "open as new doc" to finally make it look good.

Re: Google Workspace CLI

#243
What a shame Google Photos have no decent API or CLI. Photos could have been the best SAAS but changes in the API make it terribely unusable.

I wish I could use an API/CLI to query/geoquery my photos.

Re: Google Workspace CLI

#244
post #220

Earlier quoted context omitted.

I would be very interested in this if you could share? Maintaining a Knowledge Base without a Git workflow is a pain currently.

I'm afraid I can't easily share this, as we have embedded a lot of company-specific information in our setup, particularly for cross-linking between confluence/jira/zendesk and other systems. I can try explain it though, and then Claude Code is great at implementing these simple CLI tools and writing the skills. We wrote CLIs for Confluence, Jira, and Zendesk, with skills to match. We use a simple OAuth flow for user…

Thank you! Sounds like a fantastic setup. Are the claude code agents acting autonomously from any trigger conditions or is this all manual work with them? And how do you manage write permissions for documents amongst team members/agents, presumably multiple people have access to this system?

(Not OP, but have been looking into setting up a system for a similar use case)

Re: Google Workspace CLI

#245
post #34

Interesting post from the main contributor about this (at least I assume it’s what he’s referencing) https://justin.poehnelt.com/posts/rewrite-your-cli-for-ai-ag...

Looks like I am hitting some Cloudflare Block when accessing this URL

Probably because he built his site for agents not humans

Re: Google Workspace CLI

#248
post #227

Earlier quoted context omitted.

[flagged]

Most projects under the "google" org will have exactly the same disclaimer about not being official Google products.

Crazy.

And this project uses "google" in its org, so I would assume it is offical or at least lawyers are running toward the owner with lawsuits.

Re: Google Workspace CLI

#249
post #246

Is Google Workspace some separate thing from well, normal Google? I mean I have personal gmail,drive, keep, etc. Will it work there?

It should, as long as you have access to Google cloud for Auth.

https://workspace.google.com/

Google Workspace is their corporate offering (think Microsoft suite competitor)

Re: Google Workspace CLI

#250
post #194

Earlier quoted context omitted.

Can someone explain to me, why Google can't (or does not want to) implement the same auth flow that any other SaaS company uses: # API Keys in Settings 1. Go to Settings -> API Keys Page 2. Create Token (set scope and expiration date) # OAuth flow 1. `gws login` shows url to visit 2. Login with Google profile & select data you want to share 3. Redirect to localhost page confirms authentication I get that I need to co…

Can you name a service you think works like that? Google have over a billion very non-technical users. The friction of not having this in the account page that everyone has access too probably saves both parties lots of heartbreak.

github? I just do some click here, click there, copy paste and gh cli is ready.

For google I need PhD to setup any kind of API access to my own data. And it frequently blocks you, because you can setup as a test product, add test accounts (but it can't be owner account (WTF?)) etc.

I gave up on using a google calendar cli project because of all that lack of normal UX.

UX for google APIs looks like it was designed by accountant.

gws auth setup looks promising, but it won't work yet for personal accounts.

Post reply on HN