Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ddjerqq opened this issue Apr 22, 2023 · 0 comments

Comments

@ddjerqq
Copy link

ddjerqq commented Apr 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant