frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Usehooks.io – A CLI-first React hook library with 30 utilities

https://www.usehooks.io/
1•oliviercolo•3h ago
Hey HN

I’ve built usehooks.io – a CLI-first React hook library with 30+ production-ready hooks for modern frontend development.

Why I built it React hooks are incredibly powerful, but I found myself constantly rewriting the same utilities—like useCounter, useDebounce, useGeolocation, etc. Many libraries felt too opinionated, under-documented, or weren’t keeping up with new APIs like Web Share, Vibration, or Bluetooth.

So I decided to create:

A comprehensive, modern hook library

With a zero-config CLI to install, remove, and explore hooks directly from the terminal

Fully typed with TypeScript-first DX

Documented with real-world examples

What’s inside 30+ reusable hooks across categories:

State & Lifecycle: useCounter, useToggle, usePrevious

Sensors & Devices: useAudioRecorder, useGeolocation, useVibration, useIsMobile

Browser APIs: useClipboard, useFullscreen, useWebShare

Network: useFetch, useNetworkInformation

And more...

A powerful CLI (npx usehooks-cli) with:

init, add, remove, list, info, update commands

Smart search by name, category, or description

MIT licensed. Built with a monorepo setup using pnpm workspaces.

Links Website: https://usehooks.io

  GitHub: https://github.com/small-lab-io/usehooks.io

 Try CLI: npx usehooks-cli@latest

 Feedback
I’d love your feedback! Are the hooks useful to you? Are there any you'd like to see added? Would you use the CLI in your projects?

Also open to contributors, ideas, or critiques. Thanks for reading!

Distributed Systems 101

https://mrinalxdev.github.io/mrinalxblogs/blogs/distributed-systems.html
1•gmays•2m ago•0 comments

Small LLMs can outperform GPT-4 at detecting jailbreaks

https://romaingrx.com/blog/llm-as-a-jailbreak-judge/
1•romaingrx•4m ago•1 comments

Food, housing, & health care costs are a source of major stress for many people

https://apnorc.org/projects/food-housing-and-health-care-costs-are-a-source-of-major-stress-for-many-people/
1•speckx•6m ago•0 comments

Bluesky and Enshittification

https://pluralistic.net/2024/11/02/ulysses-pact/#tie-yourself-to-a-federated-mast
1•tempodox•7m ago•0 comments

Quantizing Text-Attributed Graphs for Semantic-Structural Integration

https://arxiv.org/abs/2507.19526
1•PaulHoule•8m ago•0 comments

Apple's Favoritism to Fastmail

https://xcancel.com/mxroute/status/1952890684660203830
3•paul-tharun•9m ago•0 comments

White Balance is Broken [video]

https://www.youtube.com/watch?v=WADuXiMZxq4
1•skibz•11m ago•0 comments

The Dereliction of Due Process in the Scala Community

https://pretty.direct/dueprocess
4•cbeach•12m ago•1 comments

Meta Details Ultra-Wide FOV and "Hyperrealistic VR" Prototype Headsets

https://www.uploadvr.com/meta-details-boba-3-ultra-wide-field-of-view-tiramisu-hyperrealistic-vr-headset-prototypes/
1•LorenDB•13m ago•0 comments

Building a Global MaaS Platform

https://medium.com/@laardee/building-a-global-maas-platform-6f9c6abea5d9
2•dotcoma•14m ago•0 comments

Track Your Cursor and Claude Code Usage – Open-Source, Live Global Stats

https://pricepertoken.com/coding-tracker
1•alexellman•14m ago•1 comments

Show HN: Brandolia – AI that generates full brand identity in 60 seconds

https://www.brandolia.io/
2•kokau•17m ago•1 comments

Show HN: A creative writing game that makes writing fun for kids

https://storywritinglab.com/
1•areales•18m ago•0 comments

Invoking Gemini for Workspace Agents with a Simple Google Calendar Invite

https://www.safebreach.com/blog/invitation-is-all-you-need-hacking-gemini/
2•rntn•19m ago•0 comments

Why struggling companies are loading up on Bitcoin

https://www.ft.com/content/8a160bd3-c96d-468a-8052-b0aae43e5aea
1•torium•20m ago•0 comments

Show HN: MMSI decoding for all entity types (ships, SAR, coast stations, etc.)

https://github.com/leoneljdias/mmsi-country-lookup
1•leoneljdias•21m ago•0 comments

HTTP Error Simulator

https://github.com/aeimer/go-error-simulator
1•baquero•23m ago•0 comments

Modeling Symmetries

https://markneumann.xyz/blog/modeling-symmetries
1•pizza•24m ago•0 comments

Firefly lights the markets up; SpaceX starts selling trips to Mars

https://arstechnica.com/space/2025/08/rocket-report-firefly-lights-the-markets-up-spacex-starts-selling-ships-to-mars/
1•LorenDB•25m ago•0 comments

Real time tariff fees by country

https://tariffcheck.org
1•thesecretceo•26m ago•0 comments

Hacker5News: A Minimalist App for the Top Hacker News Stories

https://github.com/mateolafalce/hacker5news
1•lafalce•28m ago•1 comments

Why Students Stopped Walking to School

https://medium.com/urban-minds/why-students-stopped-walking-to-school-f8d0ff56d43f
3•speckx•29m ago•0 comments

Wassette: WebAssembly-based tools for AI agents

https://opensource.microsoft.com/blog/2025/08/06/introducing-wassette-webassembly-based-tools-for-ai-agents/
1•Bogdanp•29m ago•0 comments

Show HN: TAIsk – AI tool that breaks down yearly goals into daily to-dos

https://www.taisk.app/
1•FabianJani•29m ago•0 comments

Show HN: Azure Key Vault Emulator

https://github.com/james-gould/azure-keyvault-emulator
1•scriptinginjava•29m ago•0 comments

FCC Democrat: Trump admin is declaring "Mission Accomplished" on broadband

https://arstechnica.com/tech-policy/2025/08/fcc-democrat-trump-admin-is-declaring-mission-accomplished-on-broadband/
2•LorenDB•30m ago•1 comments

Ask HN: Help for Choosing an Embedding Model?

1•t4•30m ago•0 comments

Show HN: I built a task manager that track progress, not just completion

https://apps.apple.com/ca/app/to-do-list-calendar-zesfy/id6479947874
2•zesfy•33m ago•0 comments

Webb Finds Evidence for Planet Around Closest Solar Twin

https://science.nasa.gov/missions/webb/nasas-webb-finds-new-evidence-for-planet-around-closest-solar-twin/
3•geox•36m ago•0 comments

Bash Harder with Vim

https://oppi.li/posts/bash_harder_with_vim/
1•speckx•38m ago•0 comments