Brian Dannelly is onboard to direct Chris Colfer in high school comedy “Struck by Lightning,” to be shot during the “Glee” star’s summer hiatus.

Colfer, who won a Golden Globe on Sunday for his portrayal of Kurt Hummel in “Glee,” will be making his bigscreen debut in “Struck by Lightning.” David Permut (“Youth in Revolt”) is producing.

Thesp also penned the script. Details are being kept under wraps, but the film will be in the spirit of pics penned by the late John Hughes (Variety, Dec. 7).

Glenn Rigberg, who manages Colfer, will exec produce, and Steve Longi, Permut’s VP of production, will co-produce. Rigberg exec produced HBO’s “You Don’t Know Jack.”

Dannelly will be in familiar territory with “Lightning,” having previously helmed teen dramedy “Saved!,” which starred Jenna Malone, Mandy Moore, and Macaulay Culkin. Dannelly’s smallscreen directing credits include the pilot for “Weeds,” as well as “Pushing Daisies” and “United States of Tara.”

Permut is producing the Sam Kinison biopic at HBO Films with Tom Shadyac, who’s also attached to direct, and a feature film based on the life of John De Lorean, currently being written by Adam Mazer.

Dannelly is represented by CAA and Larchmont Literary Agency.