TechWiz-3 / who-unfollowed-me

😡 Python CLI tool that shows you who has unfollowed you on GitHub. PRs welcome!
GNU General Public License v3.0
11 stars 24 forks source link

The content of the `${HOME}/.unfollow/followers.json` is plaintext instead of json #68

Open ddjerqq opened 1 year ago

ddjerqq commented 1 year ago

When you're saving the followers to the JSON file, instead of saving it as plaintext separated by new lines, you could save the GitHub user ids along with their names inside of JSON objects like this

[
  {
    "id": 123,
    "username": "ddjerqq"
  },
  // more
]

image

this would handle cases where users change their handles!

I could help you with this.