It seems hoogle.haskell.org has been down all day. I get 502 Bad Gateway.
I notified folks in #haskell-infrastructure
.
Meanwhile, if you are not already aware, you can run Hooge locally too!
Might be worth force reloading, it respects dark mode now.
and a fancy looking one at that +1
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.
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ā
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
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).
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.
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.
I have fixed that problem.