You could use Cursor IDE (VS code fork) + local API documents + github desktop together. + bus ETA app #3372
Unanswered
espruino-discuss3
asked this question in
Projects
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2024-10-15 by ccchan
hi,
at mid 2023, i used the web chatgpt to write a microwave conversion app for banglejs2:
https://forum.espruino.com/conversations/390703/#comment17149725
web is ok, but most people found the hallucination of non existing APIs frustrating.
now, my setup is use github desktop to make a new local repo,
use cursor IDE (support calling gpt4/claude3.5 etc) to open that folder as base.
ADD FOLDER to that workspace and choose your folder that contain the API. (this api documents better be .txt or .md, PDF almost always result in weird results as the LLMs read them misaligned).
in cursor IDE, you can use Ctrl I or K to call up the AI, which can be gpt4/claude, and you can share the whole folder to it by @codebase, or you just open the file and it can see it, or you can tag the file... many ways.
it makes my life much easier.
my city 's government provide real time data on bus/minibus,
there are android/ios apps to show them on android watch or apple watch.
i am planning to implement that. currently the AIs helped me to show that API on python to test.
then i simply ask it to re-do in JS.
(ps i found it easier to test thing working in python and the move to espurino,
espurino is less well known thus better not for test trial)
Beta Was this translation helpful? Give feedback.
All reactions