It took me around 4 weeks to build the initial emulation code for the DMG Game Boy. Since then I've been working from time to time on improving the structure of the emulator and the Web interface.
You can take a look at the code here https://github.com/joamag/boytacean