Court is told how man’s racist rambling and deluded rants attracted hundreds of followers online.