Skip to content

Conversation

@johnny603
Copy link
Contributor

This PR introduces user-specific API key management for Free Image Hosting. Instead of using a hardcoded, shared API key, the application now:

  • Loads the API key from a user-specific config file (~/.freeimagehost_user_config.json).
  • Falls back to the default key only if no user key is found.
  • Provides methods to set and check the need for a new API key.

This change improves privacy and security by ensuring each user can have their own API key, reducing the risk of key sharing and potential abuse. No breaking changes are introduced for existing users, as the default key is still used if no user config is present.

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

Successfully merging this pull request may close these issues.

1 participant