Compact tunable terahertz source: Perspectives on planar configurations