3 ms·
Show HN: Inspired by open startups, I built an API-driven personal dashboard
I've always been fascinated by open startups[0] and their transparency with sharing metrics. I wanted to create something similar for my personal site.
To create this, I used Next.js API routes[1] + Now serverless functions[2].
◆ Unsplash API for views/downloads
◆ YouTube API for views/subscribers
◆ Google Analytics API for page views
Bonus: Uses SWR[3] to refresh stale content
https://leerob.io/dashboard
---
[0]: https://baremetrics.com/open-startups
[1]: https://nextjs.org/docs/api-routes/introduction
[2]: https://zeit.co
[3]: https://swr.now.sh
- duiker101 7y agoVery nice post, I have been making my own dashboard(with mostly private APIs) and I didn't know about SWR. Also, your dashboard and website looks very nice!
- darekkay 7y agoI agree with my sibling poster - this looks really nice. I also did not know SWR, which sounds really handy. I'm developing an open-source general-purpose Dashboard [1] and you just gave me an idea for one more use case (metrics sharing) - thanks :) Is your dashboard by any chance open source as well? [1] https://github.com/darekkay/dashboard https://github.com/darekkay/dashboard
- leerob 7y agoIt is! https://github.com/leerob/leerob.io https://github.com/leerob/leerob.io