A modern media management application for automating cleanup and organization of your Sonarr and Radarr libraries.
- Smart Deletion Rules: Create custom rules to automatically manage your media library
- Media Server Integration: Full integration with Sonarr and Radarr APIs
- Storage Overview: Real-time disk space monitoring and analytics
- Advanced Analytics: Media age distribution, type breakdown, and usage statistics
- Optimized Performance: Modern React interface with virtualized tables for large datasets
- Safety First: Pending deletion system - review before any files are actually deleted
- Frontend: React 18, Material-UI, DataGrid for performance
- Backend: Node.js, Express, Sequelize ORM
- Database: SQLite (configurable to PostgreSQL/MySQL)
- Integration: Sonarr v3, Radarr v3 APIs
docker run -d \
--name managarr \
-p 3000:3000 \
-v /path/to/config:/app/config \
-v /path/to/media:/media \
managarr:latestversion: '3.8'
services:
managarr:
image: managarr:latest
container_name: managarr
ports:
- "3000:3000"
volumes:
- ./config:/app/config
- /path/to/media:/media
environment:
- NODE_ENV=production
restart: unless-stopped# Clone the repository
git clone https://github.com/YOUR_USERNAME/managarr.git
cd managarr
# Install dependencies
npm install
# Start backend
cd backend && npm start &
# Start frontend
cd frontend && npm start- Access the web interface at
http://localhost:3000 - Go to Settings → Integrations
- Configure your Sonarr and Radarr connections
- Create deletion rules in the Rules section
- Navigate to "Deletion Rules"
- Click "Create Rule"
- Configure conditions (age, watch status, quality, etc.)
- Preview affected media before saving
- Enable the rule and set schedule
- View all your TV shows and movies in the Media Manager
- Search, filter, and sort your library
- Protect important media from deletion
- Bulk operations for efficient management
- Real-time disk space tracking
- Identify storage usage by media type
- Monitor library growth over time
Managarr integrates with:
- Sonarr v3: Series management, episode tracking
- Radarr v3: Movie management, quality profiles
- Pending Deletions: Review all deletion candidates before execution
- Protected Media: Mark important content as protected
- Dry Run Mode: Test rules without making changes
- Audit Logging: Track all deletion activities
- Node.js 16+
- npm or yarn
# Clone the repository
git clone https://github.com/YOUR_USERNAME/managarr.git
cd managarr
# Install all dependencies (root, backend, and frontend)
npm run install:all
# Start both backend and frontend development servers
npm run devThe backend will start on http://localhost:5000 and the frontend will start on http://localhost:5173 (Vite's default port).
# Start only backend
npm run dev:backend
# Start only frontend
npm run dev:frontend
# Build frontend for production
npm run build
# Clean all node_modules
npm run cleanCopy .env.example to .env in the root directory and configure as needed:
cp .env.example .envMost settings can be configured through the web UI in Settings > Integrations.
# Build frontend
cd frontend && npm run build
# Build backend
cd backend && npm run build- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE file for details.
- Create an issue for bug reports
- Check existing issues before submitting
- Provide detailed information about your setup
- Plex integration for watch status
- Advanced analytics dashboard
- Mobile-responsive design
- Multi-user support
- Custom notification system
- Backup/restore functionality