it would be simple to just port it to another website that is not github, like gitlab,
For what it's worth in this context there is no difference between github and gitlab since both of their companies are located inside United States so any laws applied to github should also be applied to gitlab.