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

Would anyone be interested in me building an Electron option for drag and drop? #286

Open
markojak opened this issue Jan 11, 2025 · 4 comments
Labels
enhancement New feature or request needs discussion Issues needing discussion and a decision to be made before action can be taken

Comments

@markojak
Copy link

I'm pretty visual and sometimes I work with files across different directories, it would be great to be able to have a UI component like a "Dropbox" that you can drag and drop files into which then gets piped into Repomix CLI

Anyone interested?

@T9Air
Copy link

T9Air commented Jan 12, 2025

That would be cool.

@yamadashy
Copy link
Owner

Hi, @markojak !
Thanks for the great suggestion!
I understand you're proposing a desktop version of Repomix where users can simply drag & drop folders to generate the output.

Actually, there has been some related discussion about adding folder upload support to the Repomix website:
#219 (comment)

Having a dedicated desktop app would definitely make the iteration process faster and smoother, so I'd love to explore this idea further!

@markojak
Copy link
Author

Not sure if I should comment there or here but here's how I would approach it (talking about the user journey combined with the logic)

  • Electron binary and builder on package install
  • user runs repomix with a --ui flag
  • loads the electron binary with a simple always on top drop window
  • drag and drop folders and files into the window
  • some simple checkboxes
  • get a command back you can copy paste into the CLI

@yamadashy
Copy link
Owner

yamadashy commented Jan 15, 2025

@markojak
Ah I see what you mean! Something like this where you can:

  1. Drag a folder into the window
  2. Select options with checkboxes
  3. Get the ready-to-use repomix command generated below

I put together a quick mockup by claude to visualize your idea:
https://claude.site/artifacts/cc204e46-d4d6-43d4-9e4a-5c6f7430e21b

image

Is this the kind of interface you were thinking of? Let me know if you had a different direction in mind!

@yamadashy yamadashy added enhancement New feature or request needs discussion Issues needing discussion and a decision to be made before action can be taken labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs discussion Issues needing discussion and a decision to be made before action can be taken
Projects
None yet
Development

No branches or pull requests

3 participants