2 ms·
GitLab exposes a list of newly created projects over it's API: https://gitlab.com/api/v4/projects?order_by=created_at https://gitlab.com/api/v4/projects?order_b
by mgliwka 8y ago
GitLab exposes a list of newly created projects over it's API: https://gitlab.com/api/v4/projects?order_by=created_at https://gitlab.com/api/v4/projects?order_by=created_at
And Github allows to search by commit hash: https://github.com/search?q=hash%3A04e699c8bc970423f243eca3eb4381d228c0be48 https://github.com/search?q=hash%3A04e699c8bc970423f243eca3e...
By combining those two you could get a list of projects which are on GitLab and on Github. Using the created_at on both APIs you could figure out which one was there first and which one has been imported/pushed onto the other platform.
(you would of course miss all projects which have been already deleted on Github, although forks should still exists which should help in most cases)