GhostFile

GhostFile

Lightweight one-time file upload server with auto-shutdown

61stars
2forks
Last commit: 10mo ago
Repo age: 1y old

GhostFile is a lightweight ephemeral file upload server implemented in Python that accepts one-time uploads and automatically shuts itself down after a successful transfer. It is distributed as a single self-contained binary (built with PyInstaller) and can also be run from source or inside a Docker container.

Key Features

  • One-time, ephemeral uploads: the server stops itself after handling uploads to avoid running as a persistent service.
  • Dual operation modes: command-line (CLI) mode when run from a terminal, and an optional desktop GUI when launched from a desktop environment or forced via a flag.
  • Single-binary distribution: pre-built self-contained binaries are provided for convenience (Intel x86_64 and ARM64 builds are mentioned).
  • Web-based upload UI: a bundled index.html provides a drag-and-drop web interface served on start (default host 0.0.0.0 and port 5000).
  • Flexible deployment: can be run directly from source, via the provided binary, or inside Docker (CLI mode only in containers).
  • Configurable save location: uploaded files are written to a configurable directory (defaults to ./downloads or the user’s home directory in GUI mode).

Use Cases

  • Quickly move files between machines on a local network without setting up a persistent file server.
  • Provide an easy drag-and-drop upload endpoint for non-technical users for short-lived transfers.
  • Integrate into ad-hoc workflows or scripts where a temporary, single-use file receiver is required.

Limitations and Considerations

  • Platform testing is limited: GhostFile is noted as only tested on Linux; Windows and macOS compatibility is likely but not guaranteed, and ARM64 testing is limited.
  • Docker runs CLI mode only: GUI mode is not supported when run inside Docker containers.
  • Not intended for persistent hosting: GhostFile is explicitly designed as a temporary uploader and is not a replacement for long-running file hosting solutions.

GhostFile is a pragmatic tool for short-lived file transfers: compact to run, simple to operate, and designed to minimize the window in which a file-receiving service is exposed. It is best suited for occasional LAN transfers and ad-hoc sharing where a persistent server would be unnecessary.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Syncthing

Syncthing

Open-source, peer-to-peer file synchronization tool.

79.1k
4.9k
Last commit: 2d ago

Open-source peer-to-peer file synchronization with TLS encryption, no central server, and a browser-based UI.

Alternative to:
Resilio Sync
Resilio Sync
+6
LocalSend

LocalSend

Open-source cross-platform local network file sharing app

73.3k
3.9k
Last commit: 4d ago

LocalSend is a free, open-source app for fast, encrypted file and text sharing between nearby devices over a local network, available on desktop and mobile.

Alternative to:
Apple AirDrop
Apple AirDrop
+6
AList

AList

Multi-storage file listing server with WebDAV and previews

48.8k
8k
Last commit: 26d ago

AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

Alternative to:
Dropbox
Dropbox
+19
copyparty

copyparty

Portable file server with fast resumable uploads and many protocols

41k
1.7k
Last commit: 19h ago

Copyparty is a portable file server with a web UI, accelerated resumable uploads, deduplication, indexing, and support for WebDAV, SFTP, FTP and more.

Alternative to:
WeTransfer
WeTransfer
+19
qBittorrent

qBittorrent

Cross-platform BitTorrent client built with Qt and libtorrent

35k
4.5k
Last commit: 21h ago

qBittorrent is a fast, free, cross-platform BitTorrent client with a desktop UI and optional Web UI, built on libtorrent for efficient torrent downloading and seeding.

Alternative to:
BitTorrent
BitTorrent
+2
Nextcloud

Nextcloud

Open-source collaboration platform for file sync and groupware

33.8k
4.7k
Last commit: 16h ago

Nextcloud is an open-source content collaboration platform providing file sync & share, groupware (calendar, contacts, mail), real-time office editing, chat and video con...

Alternative to:
Google Drive
Google Drive
+19