A GitHub-style local project file repository built with Java Swing.
Upload files/folders, navigate your project tree, and export everything as a ZIP - all from a desktop GUI.
| Feature | Description |
|---|---|
| Upload Files | Pick multiple files via file chooser or drag & drop |
| Upload Folders | Import entire directory trees preserving structure |
| Create Folders | Supports nested paths like src/main/java |
| Sidebar Tree | Navigate folders just like VS Code's explorer |
| File Table | Listing with file type and size |
| File Viewer | Double-click any file to view its contents in a modal |
| Copy Content | Copy file contents to clipboard from the viewer |
| Download File | Save any individual file directly from the viewer |
| Rename / Delete | Right-click context menu on any file or folder |
| Download ZIP | Compress the entire repo with DEFLATE and save anywhere |
| Drag & Drop | Drag files or folders straight from your file manager |
| Auto-Save | Repository state is saved automatically on every change |
- Open the
JavaFileRepofolder in VS Code - Make sure you have the Extension Pack for Java installed
(Publisher: Microsoft - includes Maven support) - Open a terminal in VS Code and run:
mvn compile
mvn exec:java -Dexec.mainClass="com.filerepo.Main"mvn package
java -jar target/JavaFileRepo.jar- Open
src/main/java/com/filerepo/Main.java - Click the Run button that appears above the
mainmethod - The GUI window will open
- Run the app (see above)
- Click New Folder to create project directories
Tip: typesrc/main/javato create nested folders at once - Click Upload Files to add individual files
Or drag & drop files/folders from your file manager - Click Upload Folder to import an entire directory
- Navigate folders using the sidebar tree or by double-clicking folders in the table
- Double-click any file to open the file viewer modal
- Right-click any file or folder to rename or delete it
- Click Download ZIP to export the entire repository as a compressed ZIP file
This project uses only the Java Standard Library (Swing + java.util.zip).
No third-party JARs required.
