A giant laser whose Active laser medium and Laser pumping mechanism are both a star. The lasing medium is formed by a gas like CO2 through the direction of a massive energy source (often collected from the same star), which then lases at cosmic energies.
The purple hue that preceded the destruction the engines of the ship Lying Bastard is revealed to be a stellaser directed by the shadow squares structure that provides nighttime and energy to the Ringworld.