Better HN
topnewbestaskshowjobs
Log inSign up

tonghohin

82 karma · joined Nov 28, 2024 (1y ago) · 16 submissions

https://github.com/tonghohin
Submissions

comment 1y ago · link · parent

Thanks! I usually use the OSM API for that: https://nominatim.org/release-docs/develop/api/Search/. But if you need more accurate data, you may wanna use the Google Maps API.

2.

Show HN: A map component for shadcn/ui(shadcn-map.vercel.app ↗)

4 points · by tonghohin · 1y ago · 3 comments

comment 1y ago · link · parent

Well, I can't even use it at all, it's just stuck on the 'Setting Up Your Account' step forever. That's a pretty sad product launch lol.

comment 1y ago · link · parent

Thanks for the idea! I just made that feature!

comment 1y ago · link · parent

Just deployed a new feature, audio can also be shared now! But it's only supported in Chrome and Edge, and users must select the option to share a tab. It won't work for sharing a window or whole screen.

comment 1y ago · link · parent

No, it doesn't share across domains.

comment 1y ago · link · parent

It should work, is it not working for you?

comment 1y ago · link · parent

Sorry for the misleading wording, I was trying to say that I'm not paying for any TURN servers. You are totally right, PeerJS is still using TURN server under the hood. Thanks for pointing that out!

comment 1y ago · link · parent

I guess you visited the page right after a new deployment. This happens sometimes due to a version mismatch in Next.js after deployment. Refreshing the page should fix it!

comment 1y ago · link · parent

Yeah, it's not working that well on phones right now, working on it...

comment 1y ago · link · parent

I just fixed that, the share button should stay forever now until you click it.

comment 1y ago · link · parent

No, it's not using TURN server now.

comment 1y ago · link · parent

don't know why Bolt.new downloaded all the shadcn components for me lol

comment 1y ago · link · parent

Thanks for the feedback! I’ll check out the issue. It still has a lot to improve!

15.

Show HN: Screen Sharing in the Browser(github.com ↗)

219 points · by tonghohin · 1y ago · 53 comments