Project Hail Mary
An astronaut, Ryland Grace, wakes up with amnesia in a spaceship, millions of kilometers from Earth. He little by little finds out that he is humanity's last hope, and he has to save lives on Earth from mass extinction.