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

JSON Format #679

Open
emresaracoglu opened this issue Jul 8, 2024 · 5 comments
Open

JSON Format #679

emresaracoglu opened this issue Jul 8, 2024 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@emresaracoglu
Copy link

Hello,

Thank you for this project, Is it possible to get the terminal output as JSON?

thank you.

@miraclx
Copy link
Owner

miraclx commented Jul 9, 2024

Unfortunately not, not as of this moment anyway. What data are you interested in?

@emresaracoglu
Copy link
Author

Sorry for the late response. I was just wondering if it was possible to get the data of the download process as JSON, because I wanted to develop an interface for myself and I thought that the data exchange between the application and the interface would be healthier.

@miraclx
Copy link
Owner

miraclx commented Jul 20, 2024

Ah, I see.. yeah, for now, that's unfortunately not possible, except parsing the CLI output, but that's unideal and prone to errors, but it's certainly worth looking into.

@miraclx miraclx added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 20, 2024
@emresaracoglu
Copy link
Author

It can be done with Regex, but as you said, many unexpected errors may occur after each update. Maybe if you want to improve it one day it could be great for me and for enthusiasts. Thank you again for this great repo.

@miraclx
Copy link
Owner

miraclx commented Jul 20, 2024

Thanks for the kind words, and I would love to see freyr support machine-friendly output, I'll leave this issue open to track this implementation. Would be fun to see what gets built with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants