There are already open source hardware and software available by the people at SoloKey. Both Nitrokey and SoloKey sell the tokens.
OnlyKey is also open source here are some of the features: - On device PIN - FIDO2 (15 Resident keys) - TOTP (24 accounts) - Static passwords (24 passwords up to 56 char long) - OpenPGP