Marc Köhlbrugge

Marc Köhlbrugge

@marckohlbrugge.com

🚧 Building blueskycounter.com wip.co betalist.com roomai.com startup.jobs m-u-l-t-i-v-e-r-s-e.com handle.horse submit.co and more.

4.4K followers219 following163 posts

View full thread

I used Express which reminded me of Sinatra in Ruby. Easy to understand, but got messy quickly having almost everything in one file. Wasn't sure how to better organize into MVC. Also realized how much I love Ruby's syntax and Rails' ActiveRecord.

Some recent improvements: - Followers are now updated in real-time using firehose data - Fixed some bugs causing incomplete data - Fixed some bugs in chart rendering - Switched default period from "all" to "last 3 months" - Added ability for me to manually add accounts w/o OAuth

Marc Köhlbrugge@marckohlbrugge.com

I converted BlueskyCounter.com 's codebase from Node to Ruby on Rails. It should be more reliable now and I can add more features quicker 🙌

Nothing wrong with Node. But I have ~20 years experience with Rails and almost zero with Node. I find Rails much easier and pleasant to work with. Had to temporarily go with Node because it has better SDKs for Bluesky and I wanted to ship fast. But now Ruby has SDKs too, so switched back :)

Noticing the same trend. Seems like either growth is slowing down a bit

Justin Jackson@justinjackson.ca

Browsing profiles on blueskycounter.com it looks like most accounts hit "peak daily new followers" between Nov 20-25. (@marckohlbrugge.com might have a better dataset)

BlueskyCounter is starting to use up my full database capacity 😅 Time to learn how to implement caching in Node Express. (I normally use Ruby on Rails for all my projects, but decided on Node here cuz of the libraries).

I think everyone should have Bluesky analytics free of charge, so BlueskyCounter.com main features will be free. To monetize, and support continued development, I’m exprimenting with “Featured Profiles”. If you want to promote your account and get more followers, you can pay to be in the sidebar.

I’m learning to accept “bugs” like these. Yes they are easy to fix, but if you’re not careful you find yourself pursuing 100 “easy to fix” things, instead of making real progress on the stuff that matters.

Here's how far I got: github.com/marckohlbrug... It accepts a handle (e.g. marckohlbrugge.com), finds the right auth server to redirect to (looks at TXT records, etc). Redirects you there. Finally redirects you back to the app. That's where I hits an error

github.comGitHub - marckohlbrugge/omniauth-atprotoContribute to marckohlbrugge/omniauth-atproto development by creating an account on GitHub.
Marc Köhlbrugge@marckohlbrugge.com

ok I've given up on this 😅 too complicated. hope someone can figure it out someday or that bluesky invests into developing some more open source libraries

ok I've given up on this 😅 too complicated. hope someone can figure it out someday or that bluesky invests into developing some more open source libraries

Marc Köhlbrugge@marckohlbrugge.com

For any Ruby devs interested in Bluesky OAuth, here's my current work: gist.github.com/marckohlbrug... Logging in works, but refreshing tokens doesn't yet. And access tokens tend to expire in 30 minutes.