Proxy-based 1fichier Download Management System
A web application built with FastAPI + Svelte that provides stable file downloads through proxy servers.
- π 1fichier Optimized: Automatic wait time detection and cooldown management (up to 24-hour wait)
- π Smart Proxy: Auto-rotation, failure detection, mixed local/proxy downloads
- π Real-time Monitoring: SSE-based real-time status updates and progress display
- π― Concurrent Download Limits: Semaphore-based limits for system stability
- π± Telegram Notifications: Download completion/failure notification support
- π Theme Support: Dark/Light/Dracula themes
- π Multilingual: Full Korean/English support
- π± Responsive UI: Mobile/Desktop optimized
- π‘οΈ Optional Authentication: JWT-based security (optional)
- FastAPI: High-performance async web framework
- SQLAlchemy: ORM and database management
- SQLite: Main database
- aiohttp: Async HTTP client (download/proxy)
- SSE: Server-Sent Events for real-time communication
- Svelte: Compile-based reactive framework
- Vite: Fast development server and build tool
- SSE: Real-time status update reception
- Docker: Containerized deployment
- Docker Compose: Development/production environment management
# 1. Download project
curl -O https://raw.githubusercontent.com/jshsakura/oc-proxy-downloader/main/docker-compose.yml
# 2. Create directories
mkdir -p downloads backend/config
# 3. Run
docker-compose up -dWe provide a standalone executable for Windows users:
- Download the latest Windows version from Releases
- Run
oc-proxy-downloader-windows.exe - Access http://localhost:8000 to use
Note: The Windows version is a standalone executable with all features included. No Docker installation required.
# docker-compose.yml
version: "3.8"
services:
oc-proxy-downloader:
image: jshsakura/oc-proxy-downloader:latest
container_name: oc-proxy-downloader
environment:
- TZ=Asia/Seoul
- PUID=1000
- PGID=1000
# Security (optional)
# - AUTH_USERNAME=admin
# - AUTH_PASSWORD=secure123
# - JWT_SECRET_KEY=your-random-secret-key
volumes:
- ./downloads:/downloads
- ./backend/config:/config
ports:
- "8000:8000"
restart: unless-stopped# docker-compose.yml (Synology)
version: "3.8"
services:
oc-proxy-downloader:
image: jshsakura/oc-proxy-downloader:latest
container_name: oc-proxy-downloader
environment:
- TZ=Asia/Seoul
- PUID=1026 # Synology user ID (check with id command)
- PGID=100 # Synology users group ID
# Security (optional)
# - AUTH_USERNAME=admin
# - AUTH_PASSWORD=secure123
# - JWT_SECRET_KEY=your-random-secret-key
volumes:
- /volume1/docker/oc-proxy/downloads:/downloads
- /volume1/docker/oc-proxy/config:/config
ports:
- "8000:8000"
restart: unless-stoppedSynology Users Note: SSH into your NAS and use the
idcommand to check your PUID
| Variable | Default | Description |
|---|---|---|
TZ |
UTC |
System timezone setting |
PUID |
1000 |
File owner ID (permission management) |
PGID |
1000 |
File group ID (permission management) |
| Variable | Default | Description |
|---|---|---|
AUTH_USERNAME |
- | Web login ID (no auth if not set) |
AUTH_PASSWORD |
- | Web login password |
JWT_SECRET_KEY |
default | JWT token encryption key (must change in production) |
β οΈ Security Warning: In production, always setJWT_SECRET_KEYto a secure random string.
| Variable | Default | Description |
|---|---|---|
MAX_TOTAL_DOWNLOADS |
5 |
Maximum total concurrent downloads |
MAX_LOCAL_DOWNLOADS |
1 |
Maximum concurrent 1fichier local downloads |
oc-proxy-downloader/
βββ downloads/ # Downloaded files storage
βββ backend/config/ # Configuration files and database
β βββ downloads.db # SQLite database
β βββ config.json # App configuration file
β βββ proxies.txt # Proxy list
βββ docker-compose.yml # Docker Compose configuration
- Access http://localhost:8000
- Settings β Proxy Management to add proxies
- Enter 1fichier URL and start download
- Monitor real-time progress and proxy status
# Clone repository
git clone https://github.com/jshsakura/oc-proxy-downloader.git
cd oc-proxy-downloader
# Run development environment
docker-compose -f docker-compose.dev.yml up -d --build
# Check logs
docker-compose logs -fcd backend
python -m venv venv
source venv/bin/activate # Windows: .\venv\Scripts\activate
pip install -r requirements.txt
python main.pycd frontend
npm install
npm run dev# Check container status
docker ps
# Check resource usage
docker stats oc-proxy-downloader
# Real-time logs
docker-compose logs -f
# Health check
curl http://localhost:8000/api/settings# Check logs
docker-compose logs oc-proxy-downloader
# Permission issues (Linux/macOS)
sudo chown -R 1000:1000 downloads backend/config# Use different port (e.g., 8080)
docker-compose up -d -p 8080:8000# Rebuild without cache
docker-compose build --no-cache
docker-compose up -d- π Report Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π Detailed Guide: Installation Guide
- π°π· Korean Documentation: README_KR.md
This project is distributed under the MIT License.
β If this project helped you, please give it a Star!

