Many fractional quantum Hall wave functions are known to be unique highest-density zero modes of certain "pseudopotential" Hamiltonians. While a systematic method to construct such parent Hamiltonians has been available for the infinite plane and sphere geometries, the generalization to manifolds where relative angular momentum is not an exact quantum number, i.e., the cylinder or torus, remains an open problem. This is particularly true for non-Abelian states, such as the Read-Rezayi series (in particular, the Moore-Read and Read-Rezayi Z 3 states) and more exotic nonunitary (Haldane-Rezayi and Gaffnian) or irrational (Haffnian) states, whose parent Hamiltonians involve complicated many-body interactions. Here, we develop a universal geometric approach for constructing pseudopotential Hamiltonians that is applicable to all geometries. Our method straightforwardly generalizes to the multicomponent SUðnÞ cases with a combination of spin or pseudospin (layer, subband, or valley) degrees of freedom. We demonstrate the utility of our approach through several examples, some of which involve non-Abelian multicomponent states whose parent Hamiltonians were previously unknown, and we verify the results by numerically computing their entanglement properties.