If you know or use TypeScript you ought to be familiar with its Playground. It is an awesome tool, being able to play around with TypeScript on the browser, try things out. Is also great for collaboration, since the editor's state (code and config) is kept serialized in the URL, all it take is
ctrl + s (or
Cmd if you are in need Mac) and the link is on the clipboard and ready to be shared.
But then you paste the link on Slack and it is looonger than the yarn.lock of a React application 😰
A fairly short snippet results in something like this:
That's a big nope from your coworkers who hate long links polluting the Slack history. And if you are anything like me you don't even like to be the one sharing long links either.
What if those long links looked like this instead?
Yes there are already a ton of link shorteners out there. But it is great to have a dedicate one. It creates identity. When you see tsplay.dev you know it'll be some TypeScript code.
🛡️ It is also about security. You never know where tinyurl.com or bit.ly short-links could redirect to.
For now short links can only be created on tsplay.dev.