E.g. https://dub.sh/stats/github
But I like this idea, might just add it to Dub... ;)
978 karma · joined November 18, 2019
E.g. https://dub.sh/stats/github
But I like this idea, might just add it to Dub... ;)
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!
And thanks a lot for the kind words!
In the meantime, you can also use your own custom domain for maximum control: https://twitter.com/steventey/status/1572958205814214657
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?
Gonna think about how I can optimize that further! Thanks for the headsup!
Gonna think about how I can optimize that further! Thanks for the headsup y'all!
My first idea is blacklisting certain problematic hostnames and not let folks add them. Can you think of any other abuse vectors?
Here's the regex that I ended up with: https://github.com/steven-tey/dub/blob/main/lib/utils.ts#L12...
Brilliant piece Swyx!!!