Hoogle appears to be down

It seems hoogle.haskell.org has been down all day. I get 502 Bad Gateway.

6 Likes

I notified folks in #haskell-infrastructure.

Meanwhile, if you are not already aware, you can run Hooge locally too!

2 Likes

Thereā€™s also a Hoogle at https://stackage.org.

2 Likes

And @MangoIV has his own instance too! https://hoogle.mangoiv.com/

4 Likes

Might be worth force reloading, it respects dark mode now.

2 Likes

and a fancy looking one at that :clap: +1

2 Likes

Thanks for notifying the folks in #haskell-infrastructure. Though maybe there is some automatic alert that detects itā€™s down as well?

Thanks for the pointer about building it locally. I use nix though with cached builds, so if I changed it to build docs, Iā€™m afraid I wouldnā€™t hit the cache anymore and it would take a very long time to build. Maybe I could talk to my coworkers about possibly caching another set of builds with docs?

Yes, I know of the one at Stackage, but it doesnā€™t search packages that are in Hackage but not Stackage.

Also, Iā€™m thinking of all the new Haskellers who have been taught to use Hoogle and might be a little distraught and more likely to give up on Haskell at this point.

1 Like

Thatā€™s awesome, did not know about that one, thanks @MangoIV.

1 Like

If youā€™re using the Nixpkgs infra, building docs should be the default afaik. Thereā€™s also a thing that gives you a hoogle for a package closure, I donā€™t remember the name though. In shellFor it might just be ā€žwithHoogle = trueā€œ

1 Like

Nice one - maybe it could mention which packages it covers - eg ā€œstackage lts-22.35ā€, ā€œhackage 20240915ā€ or some such.

I wanted to keep UI as clean as possible. But it should get regenerated each night (standard settings, so iirc thatā€™s stackage smth?) (Iā€™m checking regularly and it has been working well since I spun it up). Perhaps Iā€™ll add a herald endpoint for that stuff. Maybe I should also look to generate a bit more? Dunno how important that is for you, if thereā€™s some interest then maybe Iā€™ll add it :sweat_smile:

I donā€™t need this myself at the moment, even as a fallback, so no pressure. But itā€™s always useful to know what youā€™re searching (and how to adjust the scope by adding packages if thatā€™s possible).

2 Likes

It was really helpful to have this when hoogle.haskell.org was down, thanks for providing it.

I personally find the layout, fonts and colors of hoogle.haskell.org easier to read, though. It was especially difficult to read the purple text on a black background when in dark mode.

1 Like

Thanks for the feedback. I have noticed that the darkmode has a bit of a problematic contrast, too. I will probably fix it soon.

Thatā€™s very nifty, thanks.

Is there a guide somewhere of how I can do this for a local cabal project with some private packages? Looks like thereā€™s a way to generate a hoogle database using ā€˜localā€™ items and local haddocks, but itā€™s not very clear.

Not tried, but this seems spot on.

1 Like

I have fixed that problem.

1 Like