Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 826 Bytes

README.md

File metadata and controls

51 lines (36 loc) · 826 Bytes

MigrateHub

Transfer your Github repositories, starred repos and followers to another user.

Get Started

Requirements:

Python 3.8+ & pipenv

Create a .env file in project root.

cp .env.sample .env

Create a Github Personal access token for both users & update the values in .env file.

Install dependencies:

pip3 install pipenv
pipenv install

Open async python3 REPL:

pipenv shell
python3 -m asyncio

In python terminal:

By default, the script is dry run and will only print responses.

from migrate_bh import main
await main.account_transfer() # Pass `False` to start actual migration.

TODO:

  • Add CLI command based setup
  • Add tests
  • Add documentation
  • Refactor codebase

Contributing

Fork and send PRs

Need help?

Raise an issue