Photoelectric effect vacuum tube
These were common before the transistor and called "Phototubes". Every 16mm sound projector in the US schools had one to read the sound track on the film.

With higher voltage and multiple plates - one designed to emit electron when struck by light. The others are meant to kick out more electrons when they are hit by an energetic electron and you get a cascade. These are "Photomultipliers" and are still used extensively for photon counting and any very low light application like fluorescence spectroscopy or phosphorescence lifetime measurement.

There is a very fast and sensitive star tracking application that uses a spinning mask in the optical path to a photomultiplier. I have not seen one in decades even though they have a much faster response than CCD based tracking.

Hamamatsu is one maker of both devices in many forms.