to be honest, the frontend of badges is probably the least complex part of Fedora Badges. The backend that actually awards the badges according to specific defined rules is the complex part – and would have to remain even if discourse becomes the frontend for browsing badges.