Readit News logoReadit News
dineshgowda24 commented on Show HN: An Alfred workflow to open GCP services and browse resources within   github.com/dineshgowda24/... · Posted by u/dineshgowda24
gelatocar · 3 months ago
@ seems to show a list of configurations, not GCP projects
dineshgowda24 · 3 months ago
Yeah my bad. @ will show configurations. So you can set up your configurations to point a specific project(gcloud config set project PROJECT_ID) and then when you use @ and select a specific config and access the resources the project is auto applied to the urls and for resource searches as well
dineshgowda24 commented on Show HN: An Alfred workflow to open GCP services and browse resources within   github.com/dineshgowda24/... · Posted by u/dineshgowda24
victorbjorklund · 3 months ago
Oh this is really nice! Thanks!
dineshgowda24 · 3 months ago
Thanks for the feedback. It does mean a lot.
dineshgowda24 commented on Show HN: An Alfred workflow to open GCP services and browse resources within   github.com/dineshgowda24/... · Posted by u/dineshgowda24
rochak · 3 months ago
Nice. Looks awesome. I had been thinking of building something similar for AWS. Definitely gonna reference some of the source to build that. Thanks!
dineshgowda24 · 3 months ago
Thanks for the feedback.

Actually, for AWS[0], it's already there. Being a prior user of it, that's where I got the idea to build for GCP after shifting to GCP.

You may want to consider adding new features to it or exploring the option of building for Azure. I'm pretty sure it's not currently available for Azure.

[0]https://github.com/rkoval/alfred-aws-console-services-workfl...

dineshgowda24 commented on Show HN: An Alfred workflow to open GCP services and browse resources within   github.com/dineshgowda24/... · Posted by u/dineshgowda24
gelatocar · 3 months ago
This is really cool, one thing that would make it much more useful for me is to have the ability to easily select which project you want to use, especially if it could have the same fuzzy search as resources. My company has hundreds of GCP projects. At the moment it seems like I'd have to set up individual configurations for each project.
dineshgowda24 · 3 months ago
Both of them are already supported. To select the project you can type @ and it will show you the list of available project. The fuzzy search is also already supported.
dineshgowda24 commented on Show HN: An Alfred workflow to open GCP services and browse resources within   github.com/dineshgowda24/... · Posted by u/dineshgowda24
falleng0d · 3 months ago
This is actually amazing. I wish there was something similar that for windows's keypirinha[1].

specifically would be interesting to have something like that for k8s resources.

1. https://keypirinha.com/

dineshgowda24 · 3 months ago
Thank you for the feedback!

Hopefully, someone will do it, or perhaps you can try replicating the same approach for Keypirinha.

dineshgowda24 commented on Show HN: An Alfred workflow to open GCP services and browse resources within   github.com/dineshgowda24/... · Posted by u/dineshgowda24
lovich · 3 months ago
What is Alfred?
dineshgowda24 · 3 months ago
Alfred is a Spotlight replacement for macOS. https://www.alfredapp.com/

You can build any workflow based on your use case, and you can execute those right from your keyboard. Workflows are limited only by your imagination, like turning off Bluetooth, killing a process, emptying trash, and much more, just from a few keyboard strokes.

For example, this workflow allows you to open a specific service or resource page in the GCP console directly from the keyboard, eliminating the need to navigate to Google Cloud, search for the desired page, and then open it, which can be a time-consuming process. Also, lets you avoid the mouse altogether.

Deleted Comment

dineshgowda24 commented on Go Browser Package   browser.dineshgowda.com/... · Posted by u/dineshgowda24
mpcjanssen · a year ago
It seems to recompile every regex on every matching operation. This is really slow. The compiled regexes should be cached in the different matchers.
dineshgowda24 · a year ago
Good point. I didn't give much attention to this part. I run some benchmarks and move these to compile only once. Thank you.
dineshgowda24 commented on Go Browser Package   browser.dineshgowda.com/... · Posted by u/dineshgowda24
silisili · a year ago
This looks pretty useful, kudos.

If I had any nit to make, it's about browser.NewBrowser. It stutters, and even with just New(), at first I thought it was making a client. Not sure what I'd go with, maybe Parse like net/url?

Again, just a minor nit, not trying to take away what you've done here at all.

dineshgowda24 · a year ago
Yes, it does right. Honestly, I couldn't find a better name. `Parse` sounds nice, so let me think about it.

u/dineshgowda24

KarmaCake day153July 29, 2020View Original