HNHacker News
TopNewBestAskShowJobs

steventey

978 karma · joined November 18, 2019

twitter: @steventey founder dub.co prev: @vercel
submissionscomments
steventey··on Show HN: I made an open-source Bitly alternative
Oh interesting! You can actually do that right now with https://dub.sh/stats/<YOUR_SHORTLINK_SLUG>

E.g. https://dub.sh/stats/github

But I like this idea, might just add it to Dub... ;)

steventey··on Show HN: I made an open-source Bitly alternative
The link still works, and the link still gets tracked in redis, you just won't be able to see the stats for the link until you upgrade. It's a similar model to Plausible.io, which I think is really fair! Let me know what you think! :)
steventey··on Show HN: I made an open-source Bitly alternative
Appreciate the kind words! :)
steventey··on Show HN: I made an open-source Bitly alternative
Agreed – the plan is to keep this running as long as possible, and the freemium AGPL model is a great way to get there in a sustainable pace! :)
steventey··on Show HN: I made an open-source Bitly alternative
Love these lol, really gave me a good laugh when I saw them in the past
steventey··on Show HN: I made an open-source Bitly alternative
Hey Tim! Thanks a lot for sharing your experience with T.LY! I'm definitely going to implement some abuse prevention measures over the next few days. My first instinct is to prevent folks from pointing shortlinks to certain malicious sites – do you think that'll be enough? Or are there other abuse vectors?

Also, very interesting note regarding the hash combinations! The main focus of Dub is probably going to be for folks to add their own domains – but this is something that I'll keep in mind as well!

steventey··on Show HN: I made an open-source Bitly alternative
Thanks for the headsup re: the lag – there's some performance issues with the Globe animation that I'm trying to fix right now, sorry about that!
steventey··on Show HN: I made an open-source Bitly alternative
It's basically an effort to promote code transparency + user privacy, and in general it's just super fun building in public! :)
steventey··on Show HN: I made an open-source Bitly alternative
No plans yet, but you can easily clone this repo and deploy your own version on platforms like Vercel.com, no docker containers required! :)
steventey··on Show HN: I made an open-source Bitly alternative
lol that would've been amazing haha
steventey··on Show HN: I made an open-source Bitly alternative
That's exactly the next thing on my roadmap! Thanks for the suggestion!
steventey··on Show HN: I made an open-source Bitly alternative
Oh my word! Good catch lol I'm not sure how that broke, will fix now!

And thanks a lot for the kind words!

steventey··on Show HN: I made an open-source Bitly alternative
Very good point, I'm going to try and add some abuse prevention measures to make sure the domain doesn't get blacklisted!

In the meantime, you can also use your own custom domain for maximum control: https://twitter.com/steventey/status/1572958205814214657

steventey··on Show HN: I made an open-source Bitly alternative
Oh nooo :( what's the specs of your computer? I'm gonna try and optimize this further tonight!
steventey··on Show HN: I made an open-source Bitly alternative
Very good questions! I was actually thinking about that right before launching last night!

I'm planning to blacklist certain problematic hostnames and not let folks add them.

In terms of rate limits, it does have rate limits when it comes to collecting analytics (if you spam click a link >10 times in 10s it still redirects you but it stops recording clicks.

I can't think of how URL looping could bypass checking – could you elaborate?

steventey··on Show HN: I made an open-source Bitly alternative
Just wanted to chime in and say that QR Codes are next on the roadmap! Would be fun to learn how to build those
steventey··on Show HN: I made an open-source Bitly alternative
Hey! I believe it's the globe animation, it uses a very simple stripped down version of webgl & threejs (based on the lib: https://cobe.vercel.app/)

Gonna think about how I can optimize that further! Thanks for the headsup!

steventey··on Show HN: I made an open-source Bitly alternative
Ahh yes I believe it's the globe animation, it uses a very simple stripped down version of webgl & threejs (based on the lib: https://cobe.vercel.app/)

Gonna think about how I can optimize that further! Thanks for the headsup y'all!

steventey··on Show HN: I made an open-source Bitly alternative
Yeah I was thinking about that right before launching last night, gonna go ahead and add some simple abuse prevention measures now!

My first idea is blacklisting certain problematic hostnames and not let folks add them. Can you think of any other abuse vectors?

steventey··on Show HN: I made an open-source Bitly alternative
So glad to hear that!!
steventey··on Show HN: I made an open-source Bitly alternative
Funny thing – I actually had to do some regex validation for domain submissions from users and this was one of the edge cases I had to account for haha

Here's the regex that I ended up with: https://github.com/steven-tey/dub/blob/main/lib/utils.ts#L12...

steventey··on Show HN: BlockNote – a “Notion-style” block-based text editor
This is so freaking beautiful!! Absolutely love the UX and animation effects!!
steventey··on Non Fungible Tickets
I feel you on that lol!!
steventey··on Non Fungible Tickets
"Contrast this to the usual signup flow of other conferences, where you have to provide enough info to get Pentagon clearance”

Brilliant piece Swyx!!!

steventey··on Show HN: Collaborative event registration with WebGL and WebSockets
the engineering that went into this site is insane – given also how performant it is in production globally
steventey··on Forms should be apps: Why I'm building Component
This is incredible!! Congrats on shipping this :D
steventey··on Show HN: WebAssembly vs. JavaScript Maze Solver
wow, had no idea Wasm is that much faster than JS
steventey··on Ask HN: What’s the most minimalist self-hosted Markdown-to-blog solution?
We have some really cool templates here: https://vercel.com/templates/blog :)
steventey··on Show HN: Get Slack notifications for Hacker News mentions
Yes! This is something that a couple of folks have brought up before so I'm definitely planning to look into how we can make that happen! :)
steventey··on Vercel Build Output API: Infrastructure-as-Filesystem
Never bet against Javascript!!!
← PreviousPage 4 of 8Next →