What is a long star republic?

Perhaps you mean a "Lone star" rather than a "long star." The Lone Star State is another name for Texas. Texas adopted the term "the Lone Star State" in the mid 1830s, after breaking away from Mexico.

And for the period between her separation from Mexico and its becoming a state it was named the lone star republic.