A cross-platform Go utility that automatically organizes project directories based on their programming language or framework.
- Scans directories for
.filesortfiles - Reads the project type from each
.filesortfile - Moves the project to an organized directory structure:
~/Coding/{language}/{projectName}
- Create a
config.jsonfile:
{
"sortDir": "~/Coding",
"acceptedLanguages": ["golang", "nextjs", "python", "javascript"]
}- In each project directory, create a
.filesortfile:
type=golang
Install the right binary from the "Release" folder. Then run the binary:
./filesortingIf you have a project in /tmp/my-go-project/ with a .filesort file containing type=golang, the tool will move it to ~/Coding/golang/my-go-project/.
- Go 1.24.4 or later
- Write permissions to the target directory