https://github.com/bosons-riemann/riemann is the recursive version of the code for ease of understanding. this can factorize any number on earth in acceptable amounts of time provided your machine stacklimit allows
https://github.com/bosons-riemann/kosen-rufu (branch: laptop) can factorize any number on earth on a simple laptop running redis server.
sharing the complete code , just in case somebody wants to use it and I am not around
This version of the code can truly run on a laptop
https://github.com/bosons-riemann/riemann/wiki/Integer-Facto...
is a short writeup of the logic behind the code if you are interested.