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

Feature: Add report year customization #12

Open
Nik-mmzd opened this issue Dec 4, 2024 · 2 comments
Open

Feature: Add report year customization #12

Nik-mmzd opened this issue Dec 4, 2024 · 2 comments

Comments

@Nik-mmzd
Copy link

Nik-mmzd commented Dec 4, 2024

Allows users to configure the report year in the WebUI or using env var. This will also allow users to run their own Rewind instances earlier than December 31.

@Chaphasilor
Copy link
Owner

I'll see what I can do. The issue is that the year has to be set when building the website, since there are no env vars in the browser. That would mean re-building the project every time the container starts up (which probably isn't hard, but unconventional).

Maybe a better solution would be to make the year user-selectable somewhere, so that it can be changed dynamically. That might go hand-in-hand with #10 for specifying a target (month, year, multiple years).

@Nik-mmzd
Copy link
Author

Nik-mmzd commented Dec 4, 2024

I think both #12 and #13 can be solved smth like "generate some kind of config json (with URLs, year and so on) on startup and load it from web app"

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

2 participants