Only a few days before he passed away from cancer at age 41, Daniel Craft received a knock at his door. When his wife Paige opened it, one of the producers of the highly anticipated "Star Trek: Into Darkness" film was standing there with a rough cut of the film. That he was even there to begin with was a heartwarming culmination of social media campaigning and Hollywood generosity. "The movie did exactly what movies are supposed to do, it helped him forget about his problems for a couple of hours," wrote friend Grady Hendrix. "It doesn't sound like much, but in this case it was."

The granting of Craft's final wish started roughly 13 days ago when his wife posted a plea to the popular social media site Reddit, asking for helping in helping him see the 10-minute preview trailer for the film that premiered before "The Hobbit."

"We, his friends and family, the love of my life — WOULD LOVE him to be able to see the Star Trek movie but even the 10 minutes of the trailer would be AMAZING," she wrote. "If there is anything any one of you or anyone you know could do to make this happen that would be an amazing, kind and generous thing."

Thanks to the Reddit community, word quickly spread throughout the 'Net of the request, reaching all the way to director J.J. Abrams; who quickly acted to make the wish come true. 

"A day or so after the thread began, Paige, Dan's wife, got a voicemail from JJ Abrams and Damon Lindelof that was very nice and very straightforward: a producer for the movie would get in touch with them," wrote Hendrix in a 'Thank you' posted to Reddit. "The next day, one of the film's producers showed up at the door of their apartment with a DVD containing a very rough cut of Star Trek: Into Darkness in his hands. Paige had made popcorn, Dan had spent the previous day resting so he could sit through the movie, and after signing about 200 non-disclosure agreements they watched the film and had a blast."

Craft died a few days later in hospice in the arms of his wife and brother.

"Dan was pretty clear that he didn't want to be the inspirational cancer story of the week, but I wanted you all to know what you had done, and how much it meant," Hendrix continued. "At the risk of sounding all grand like the prologue to LOTR or something, Reddit can be a force for great evil, or a force for great good. Every day, all of us come together here and choose which. This time, you all chose kindness, and it made a huge difference to Dan, his wife, and his friends."

In a brief interview with Deadline, Abrams called the opportunity to grant Dan's wish "unbelievably touching." 

Michael d'Estries ( @michaeldestries ) covers science, technology, art, and the beautiful, unusual corners of our incredible world.

J.J. Abrams grants dying 'Star Trek' fan's final wish
Daniel Craft, diagnosed with terminal cancer, had one wish: to see a rough cut of 'Star Trek Into Darkness' before he died.