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

Topic-specific Configurations #1214

Open
tentme opened this issue Nov 3, 2024 · 0 comments
Open

Topic-specific Configurations #1214

tentme opened this issue Nov 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tentme
Copy link

tentme commented Nov 3, 2024

💡 Idea

As the title suggests, this will allow admin to specify custom attachment size limits, expiration times, etc. for individual topics.

For example, via server.yml:

topics:
  my_topic:
    attachment-file-size-limit: 20MB
    attachment-expiry-duration: 12h
  another_topic:
    attachment-file-size-limit: 5MB
    attachment-expiry-duration: 1h

Or, like auth-file, these configurations could be put into a .db file and modified dynamically via the ntfy CLI.

I imagine this could provide more flexibility and better resource management. And it would cool if this implemented like Tiers.

@tentme tentme added the enhancement New feature or request label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant