33 comments

[ 3.0 ms ] story [ 81.8 ms ] thread
Trying to wrap my head around this.

It seems to not make frontend requests to Google.

So Google has an API?

Where is the pricing information? I cannot find it. Even when searching with Goosh :)

Thanks

    Custom Search JSON API provides 100 search queries per day for free.
    If you need more, you may sign up for billing in the API Console.
    Additional requests cost $5 per 1000 queries, up to 10k queries per day.

    If you need more than 10k queries per day and your Programmable
    Search Engine searches 10 sites or fewer, you may be interested in
    the Custom Search Site Restricted JSON API, which does not have a
    daily query limit.
This makes it sound like 10k queries per day is the max, no matter how much you pay?
> This makes it sound like 10k queries per day is the max, no matter how much you pay?

There's no limit if you restrict it to 10 websites or less.

This looked pretty good at first! Now I don't get results anymore. Maybe it runs on the free quota of Google custom search?

Otherwise, I would have loved to add it to my search engine comparison page. I found 41 useful unique search engines so far:

https://www.gnod.com/search/

This one looked like it might have been the cleanest of them all.

Thank you, I ran out of quota. I pay for the queries out of my own pocket, so I set the limit low (1000 per day), because I don't want to be bankrupted by some spambot ;)
(comment deleted)
How about setting the title to something like “Goosh: the Google Shell”? It’d sure be nice to have some indication before clicking of what the link is about.
Please include "unofficial" in the final title if "the Google Shell" is included
Or : “a shell for Google” ?
Developing anything around Custom Search API does not make sense because of the limits.
Off topic: How do you get rid of/prevent the focus border style on inputs that appears to be present in all framework styles?
:focus-visible allows you to work out if something has focus because it was clicked (not what you usually want) or if it's been tabbed to via a keyboard (what you want).
I don't know how to use it, it does nothing to me. Unless it is broken right now, maybe API limits?
Same here. No idea what I'm supposed to do with it. I think it's just an MVP at this point.
(comment deleted)
Looks cool, but what would be a practical use for this?
Google results unaffected by location bias and the like? Not sure what this is supposed to be
I'm guessing “plaything that the maker was amused by thinking about and putting together”.

If that isn't practical enough, maybe they learned/practised/refined something while doing it.

Quota exceeded for quota metric 'Queries' and limit 'Queries per day' of service 'customsearch.googleapis.com' for consumer 'project_number:256763066954'.
Yes, I set the quota higher. Should work again.
Hi, creator here, sorry I ran out of quota, I set it higher now. Should work again.
How about a translator like this: translate (tr) [word, from, to]
What about adding a new command: open the result in a new window.

so I can have this terminal window on the side like a control dashboard, and I got output on a different pane and I can see it immediately, to avoid extra mouse clicks and moves.

other cool commands I can think of is: tldr, or man(not the help, the real man for docs, e.g. man printf)

can I self-host this?