@StarkRG There's also the concept of a Dyson sphere built around a star and an episode of Next Generation featured it and it was an episode where Scottie was rescued from being stuck in a transporter for years.
@lydiaconwell
Yes, though the Bobiverse books (in For We are Many) by Dennis E Taylor address the unrealistic material requirements and absolutely insane surface area a Dyson Sphere would represent
Later, in Heaven's River, he runs a riff on the ringworld in the form of a topopolis—a torus knot which wraps around itself and the star three times
Lots of space, a bit more stable that Niven's construct, and self-contained
@StarkRG