ajnart / subs

Subs ! Track your subscriptions easily
https://subs.ajnart.fr/
361 stars 19 forks source link

add support for multiple currencies #10

Open ajnart opened 1 week ago

ajnart commented 1 week ago

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 commented 1 week ago

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