A man accused of planning deadly bombing attacks on left-wing targets ordered an ingredient for use in explosive devices and was compiling a right-wing version of The Anarchist Cookbook, according to court documents.

Phillip Michael Galea, 31, was arrested by counter-terrorism police in August and charged with two terrorism offences.

On Monday he appeared via video link before Melbourne Magistrates Court, which was told he was now being kept at the Thomas Embling psychiatric hospital.

According to documents released by the court, Galea this year told associates from right-wing and anti-Islam groups of plans he devised to bomb left-wing targets.