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

add support for multiple currencies #10

Open
ajnart opened this issue Oct 9, 2024 · 1 comment
Open

add support for multiple currencies #10

ajnart opened this issue Oct 9, 2024 · 1 comment

Comments

@ajnart
Copy link
Owner

ajnart commented Oct 9, 2024

Disclaimer

So, this repo is built mostly using my own code-assistant extension : https://kodu.ai

I used the assistant a lot in order to test its capacities and improve them when seeing the results.

Idea

Id like to welcome contributors wanting to add a feature to contribute to the repository solely using AI (if the contribution is disclosed as such, obviously)

This would allow me to improve both projects in parallel and would allow you (the user) to have new versions super often

Example use case:

having a support for multiple currencies.

I'm pretty sure that feature can be added only by Kodu, with the correct prompt. It would be very interesting to have someone with little to no coding experience try to make these changes and then submitting their proposal for the feature, describing their experience and the prompt they used.

Call to action

If you are reading this and want to give it a try, go ahead! I'll be very proud if it works for someone who has never coded before

Prompt idea

In order to achieve good results you probably want to tell Kodu that you want the ability to choose a currency for each service as well as a "global currency" that will show the total.

You could provide Kodu with a URL to look up, it should show the top 25 currencies in relation to the US dollar (as 1) then save all these values to a constants file and use it for conversion.

Make sure to tell it to save all this info in "zustand" (the state manager that saves data to local storage) so that it says persistent between refreshes.

@ajnart ajnart changed the title Disclose AI generated code add support for multiple currencies Oct 9, 2024
@ajnart
Copy link
Owner Author

ajnart commented Oct 9, 2024

This logic can be used to any issue actually, feel free to contribute using Kodu (it's free to try!)

I'm curious to see what features people have in mind for this new self hosted project

kazelise pushed a commit to kazelise/subs that referenced this issue Oct 13, 2024
…components

Relevant Issue: Fixes ajnart#10 – Add support for multiple currencies. Calculate exchange rate by using Frankfurter API.
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