Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Copyparty on Android: A Self-Hosted Alternative to Google Drive

Use an Android phone as a Copyparty file server, with setup steps, browser access, and the storage, backup, and security limits to consider.

Table of Contents

Copyparty can turn an Android phone into a file server that you access through a browser. It is useful for sharing files across your home network and reusing spare phone storage. It can replace some paid cloud storage needs, but you must keep the device running, maintain the server, and back up the files yourself.

What Copyparty can do

Copyparty is a portable file server with resumable transfers, file browsing, and optional media thumbnails. It runs on computers as well as Android through Termux, a terminal environment. The official Copyparty documentation covers installation, supported protocols, and permissions.

Why should you stop paying for Google Drive and switch to Copyparty? Picture 1

Its appeal is a browser interface without a full cloud collaboration platform. Transfer performance depends on the phone, storage, Wi-Fi, and client device; there is no basis for assuming it will always outperform Google Drive or Nextcloud.

Set up Copyparty on an Android phone

1. Prepare Termux and storage access

Install Termux and its companion Termux:API app from the same supported distribution source, following the project's installation instructions. Termux is also covered in our guide to open-source Android apps. Check the phone's actual free space before deciding what to store.

In Termux, update the packages, allow storage access when Android prompts you, and install Python and the Termux API package:

pkg upgrade
termux-setup-storage
pkg install python termux-api
python -m ensurepip
python -m pip install --user -U copyparty

Run each line separately so you can see and resolve errors. If installation fails, consult the current Android section of the official documentation rather than repeatedly pasting an old one-line script.

Why should you stop paying for Google Drive and switch to Copyparty? Picture 2

2. Add thumbnails if you need them

For photo and video thumbnails, the documented optional setup uses FFmpeg and Pillow:

pkg install ffmpeg
python -m pip install --user -U pillow

These packages require additional storage. The amount can change with package versions, so check the installation prompt rather than relying on a fixed size.

Why should you stop paying for Google Drive and switch to Copyparty? Picture 3

3. Start from a folder you intend to share

Create a dedicated folder in shared storage and start the server there. Keep personal files outside that folder until you have configured and tested access permissions.

mkdir -p ~/storage/shared/Copyparty
cd ~/storage/shared/Copyparty
python -m copyparty --qr

The terminal shows the server addresses and a QR code. On another device connected to the same local network, open the phone's local-network address in a browser. An address beginning with 127.0.0.1 refers to the device you are using and will not reach the phone from another computer.

Why should you stop paying for Google Drive and switch to Copyparty? Picture 4

Test with an unimportant file: upload it, download it, and confirm it opens correctly. Stop the server with Ctrl+C when finished. If another device cannot connect, check that the server is still running, both devices are on the same network, and the router is not isolating Wi-Fi clients.

Decide whether it can replace your cloud storage

Why should you stop paying for Google Drive and switch to Copyparty? Picture 5

  • Storage: Capacity is limited by the phone's available space. The original advertised capacity is not the amount you can use.
  • Availability: Files become unavailable when the phone is off, disconnected, or Android stops the server. Test how your phone behaves with its screen off.
  • Access outside home: A local server is not automatically reachable over the internet. Configure authentication, permissions, and secure remote access before making it accessible beyond your trusted network.
  • Backups: A file stored only on an old phone has no independent backup. Keep another copy of important data on a separate device or service.
  • Collaboration: Browser-based transfers do not replace Google Docs editing or every sharing and synchronization feature in Google Drive.

Copyparty is a practical option for local transfers and a secondary storage device if you are comfortable maintaining it. If your main issue is a full Google account, first review these ways to free up Google Drive storage before moving files or cancelling a paid plan.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.