Skip to content

Oliversenseii/JavaFileRepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaFileRepo

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.

JavaFileRepo Screenshot

Features

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

Running in VS Code

Option A - Run directly with Maven

  1. Open the JavaFileRepo folder in VS Code
  2. Make sure you have the Extension Pack for Java installed
    (Publisher: Microsoft - includes Maven support)
  3. Open a terminal in VS Code and run:
mvn compile
mvn exec:java -Dexec.mainClass="com.filerepo.Main"

Option B - Build a JAR then run

mvn package
java -jar target/JavaFileRepo.jar

Option C — Run via VS Code Java extension

  1. Open src/main/java/com/filerepo/Main.java
  2. Click the Run button that appears above the main method
  3. The GUI window will open

How to Use

  1. Run the app (see above)
  2. Click New Folder to create project directories
    Tip: type src/main/java to create nested folders at once
  3. Click Upload Files to add individual files
    Or drag & drop files/folders from your file manager
  4. Click Upload Folder to import an entire directory
  5. Navigate folders using the sidebar tree or by double-clicking folders in the table
  6. Double-click any file to open the file viewer modal
  7. Right-click any file or folder to rename or delete it
  8. Click Download ZIP to export the entire repository as a compressed ZIP file

No External Dependencies

This project uses only the Java Standard Library (Swing + java.util.zip).
No third-party JARs required.

About

A Java Swing file repository app with MVC architecture, persistent storage, and file viewer

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages