Buttondown's contribution to open source software is long overdue; we, like every other piece of software out there, stand on the shoulders of giants.
Many parts of Buttondown do not make sense to open source: they are overfitted, finnicky, or otherwise engineered in a manner that makes them a poor choice of software for community usage and/or stewardship.
But there are many parts which I suspect would be useful as open source projects, and I'm excited to announce the first of many such initiatives: the dryly (but descriptively!) named django-typescript-routes
.
Check out the repository here.
django-typescript-routes
is a way to connect the URLs of your Django application to a Typescript app. That's all it does: you provide a urlconf
, it spits out a URL
object.
This is tremendously useful to get some of the benefits of strong typing even when you're using Python to power your SPA. It's a small utility, but one that has prevented countless bugs in production — I hope you find it useful.