Andy Weir is having a moment. His third sci-fi novel, Project Hail Mary, has been adapted into a blockbuster that's raked in over $580 million worldwide. But long before that, Weir's debut book, The Martian, became a cultural phenomenon—thanks in no small part to Ridley Scott, who turned it into the highest-grossing film of his career, surpassing even Alien and Blade Runner.

What many don't know is that The Martian didn't start in a publisher's office. It began on a personal blog, where Weir shared chapters of his story about stranded astronaut Mark Watney (played by Matt Damon in the film). This humble origin story is a testament to how passion and persistence can reshape Hollywood.

Read also
Movies
Nolan's Mind-Bending Revenge Thriller 'Memento' Exits HBO Max June 2026
Christopher Nolan's career-defining revenge thriller 'Memento' is leaving HBO Max on June 1, 2026. Stream the mind-bending classic before it disappears.

From Software Engineer to Sci-Fi Sensation

Weir, a former software engineer at AOL and Blizzard Entertainment, had long dreamed of becoming a published author. He wrote web comics, short stories, and even completed a novel called Theft of Pride, but faced rejection after rejection. Undeterred, he posted his work on his personal website, building a loyal following of sci-fi enthusiasts.

In 2009, the idea for The Martian struck him. Weir dove into exhaustive research, studying Mars' geology, rocket science, botany, and orbital mechanics. He even wrote his own software to calculate thrust trajectories for the fictional spacecraft. His goal was to make the survival story as scientifically accurate as possible—both to heighten the stakes and because he genuinely loved the subject.

Self-Publishing in Real Time

Weir self-published each chapter of The Martian on his blog, and readers quickly became hooked. The story's blend of hard sci-fi, dark humor, and relentless optimism resonated. Chemists and engineers in his audience offered real-time feedback, helping Weir refine details. Over time, the blog grew into a phenomenon.

Fans demanded a complete e-book version, so Weir uploaded it to Amazon's Kindle store for 99 cents—the lowest price allowed. Within months, it topped the charts. A literary agent soon came calling, and in 2014, Penguin Random House offered a six-figure deal. The book spent 53 weeks on The New York Times bestseller list, often at number one.

Hollywood Comes Knocking

Even before the hardcover hit shelves, Hollywood had taken notice. Ridley Scott signed on to direct, with Drew Goddard (Cloverfield, Project Hail Mary) writing the screenplay. A star-studded cast—including Matt Damon, Jessica Chastain, and Jeff Daniels—joined the project. At Scott's request, NASA provided tours and technical consulting to ensure accuracy.

The film opened to a 91% Rotten Tomatoes score, earned $630 million on a $108 million budget, and received seven Oscar nominations. It remains Scott's most commercially successful film, a feat that even his genre-defining classics like Alien and Blade Runner couldn't match. For more on Scott's legacy, check out why Ridley Scott wasn't asked to direct 'Aliens'.

A Streaming Comeback

Thanks to the success of Project Hail Mary, The Martian is enjoying a resurgence on streaming platforms. New audiences are discovering its optimistic charm, while longtime fans are revisiting the story that started it all. Weir's shift from software engineer to full-time author has paid off—for him and for audiences everywhere.

As for what's next, Weir continues to write, and Hollywood keeps adapting. But the journey of The Martian—from a blog to a $630 million blockbuster—remains one of the most unlikely and inspiring origin stories in entertainment. For more on Scott's recent work, see how 'Alien: Covenant' found new life on HBO Max.