How to adopt a lot of repos from filesystem

I have a lot of repos, more than 2000.
adopt them from Gitea admin panel is a tough task.

use the swagger API

loop over the /admin/unadopted and call the /admin/unadopted/{owner}{repo}

1 Like