readme + license

This commit is contained in:
2025-11-06 03:19:53 +11:00
parent 64b8152e30
commit 5a7afc533b
5 changed files with 181 additions and 0 deletions

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 Max Litruv Boonzaayer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

160
README.md Normal file
View File

@@ -0,0 +1,160 @@
# AudioSort
A desktop application for organizing, tagging, and managing WAV audio files with Universal Category System (UCS) support.
![AudioSort Interface](repoimages/interface.png)
## Features
### Universal Category System (UCS)
- Pre-loaded UCS category catalog for audio categorization
- Drag-and-drop files directly onto categories for instant organization
- Intelligent file naming with automatic numbering (e.g., `AMB_Room_01.wav`)
- Automatic folder structure based on category hierarchy
### Powerful Search & Organization
- Fuzzy search across filenames, tags, categories, and metadata
- Filter by category or view untagged files
- Multi-select support for batch operations
- Custom naming with automatic conflict resolution
### Comprehensive Tagging System
- Free-form text tags
- UCS category assignments
- Metadata fields: Author, Copyright, Rating
- Bulk editing for multiple files simultaneously
![Multi-file Editing](repoimages/multiediting.png)
### Beautiful Interface
- Real-time waveform visualization with dynamic color-coding based on RMS levels
- Smooth animations and polished drag-and-drop interactions
- Responsive file list with keyboard navigation (Arrow keys, Ctrl+A)
- Dark theme optimized for long sessions
![Smooth UI Demo](repoimages/smoothui.gif)
### Smart Library Management
- Automatic library scanning and indexing
- MD5 checksums for duplicate detection
- Metadata caching for instant access
- SQLite database for fast queries and reliable storage
## Technology Stack
- **Frontend**: React 18, TypeScript, Vite
- **Backend**: Electron 29, Node.js
- **Database**: better-sqlite3 with WAL mode
- **Audio Processing**: WaveFile, music-metadata
- **Search**: Fuse.js for fuzzy search
## Installation
### From Release
Download the latest `AudioSort Setup.exe` from the [Releases](../../releases) page and run the installer.
### From Source
#### Prerequisites
- Node.js 20+
- npm or pnpm
#### Setup
```bash
# Clone the repository
git clone <your-repo-url>
cd AudioSort
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Create Windows installer
npm run dist:win
```
## Usage
### Getting Started
1. Launch AudioSort
2. Set your library path via **File > Settings** (or Ctrl+,)
3. AudioSort will automatically scan and index your WAV files
### Organizing Files
1. Select one or multiple files
2. Assign categories using the Tag Editor
3. Click "Organize" to automatically move and rename files based on their categories
4. Files are organized into `CATEGORY/SUBCATEGORY/` folders with smart naming
### Keyboard Shortcuts
- `↑/↓` - Navigate file list
- `Ctrl+A` - Select all visible files
- `Ctrl+,` - Open settings
- `Double-click` - Play audio file
### Multi-Select Operations
- `Ctrl+Click` - Toggle individual file selection
- `Shift+Click` - Select range
- Edit tags, categories, and metadata for all selected files at once
## Project Structure
```
AudioSort/
├── src/
│ ├── main/ # Electron main process
│ │ ├── services/ # Core services (Database, Library, Search, Tags)
│ │ ├── MainApp.ts # Application coordinator
│ │ └── index.ts # Entry point
│ ├── renderer/ # React frontend
│ │ └── src/
│ │ ├── components/ # UI components
│ │ ├── stores/ # State management
│ │ └── hooks/ # Custom React hooks
│ ├── preload/ # Electron preload scripts
│ └── shared/ # Shared types and IPC definitions
├── data/ # User data directory (created at runtime)
├── UCS.csv # Universal Category System catalog
└── repoimages/ # Documentation assets
```
## Development
### Scripts
```bash
npm run dev # Start development server with hot reload
npm run build # Build renderer and main process
npm run lint # Type-check with TypeScript
npm run test # Run test suite
npm run pack # Package without installer
npm run dist # Create distributable
npm run dist:win # Create Windows installer
```
### Testing
```bash
npm test # Run all tests
npm run test:database # Database service tests
npm run test:library # Library service tests
npm run test:search # Search service tests
npm run test:tag # Tag service tests
```
## Configuration
### Build Configuration
Edit `package.json` `build` section to customize:
- Application name and ID
- Icon and branding
- Installer options
- File associations
### Database Location
User data is stored in:
- **Windows**: `%APPDATA%/AudioSort/`
- **Linux**: `~/.config/AudioSort/`

BIN
repoimages/interface.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

BIN
repoimages/multiediting.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

BIN
repoimages/smoothui.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB