wandb / openui

OpenUI let's you describe UI using your imagination, then see it rendered live.
https://openui.fly.dev
Apache License 2.0
17.69k stars 1.59k forks source link

Upload Existing Code Files #33

Open GetGud opened 3 months ago

GetGud commented 3 months ago

Can someone add the option to upload existing code files or code?

vanpelt commented 3 months ago

This is a cool idea. It's close to being able to work as the HTML window on the bottom is editable, it's just not wired up to the state store properly. I'll spend some more time thinking about this one.

vale46n1 commented 3 months ago

Loading an entire project and then editing it piece by piece could be a game-changer. Full supporter of this

MyndPhreak commented 3 months ago

That would be amazing! I can absolutely get behind that idea

vanpelt commented 3 months ago

@vale46n1 @MyndPhreak that sounds like a bigger undertaking. For multi-file / project use cases I suggest:

  1. I've been using Cursor and it's awesome. You can open a chat window and ask questions about multiple files in the codebase. Very cool.
  2. I haven't checked this out, but OpenDevin looks really cool.

Love how there's so much OpenSource hotness happening in this space. I'm humbled to have created something exciting for folks and can't wait to make it better!

vale46n1 commented 3 months ago

@vanpelt I would suggest to start to think to integrate such kind of functionality:

From my point of view, to be effective, this kind of tool shall be tailored not just to the programming language but also to the specific frameworks being used, such as React with Next.js, Gatsby, or Vite for the frontend and FastAPI for the backend. This approach ensures the creation of a cohesive and fully functional system.

Maybe OpenDevin could do this. Anyhow is not specifically tailored for this scope and here could be the big difference and the reason why this could work much better.

Looking on current market and trends, maybe React with Next.js could be a good target. FASTApi as backend.

vale46n1 commented 3 months ago

@vanpelt This seems doing something similar of what I was considering https://github.com/plandex-ai/plandex