Skip to main content

PyPI Downloads Python License Stars

global-directory

Share files from your computer for free. One command. Anyone gets a public link.

No account. No upload. No cost. Files stay on your machine — just a public link anyone can open from any device.

Terminal


Features

  • One command to share any folder publicly
  • Preview files inline — images, video, audio, PDF, code with syntax highlighting
  • Beautiful file browser — grid and list view
  • Filter by type — Images, Video, Audio, Docs, Code, Data, Archives
  • Search by filename, sort by name, size or date
  • Extension chips — see and filter by exact file extension
  • QR code printed in terminal for instant mobile access
  • Breadcrumb navigation — browse into subfolders
  • Free — Cloudflare quick tunnels, no account needed
  • Files never leave your machine — nothing is uploaded
  • Works on Mac, Linux, Windows

Install

pip install global-directory

Install the free tunnel connector once:

Mac      →  brew install cloudflared
Linux    →  https://github.com/cloudflare/cloudflared/releases
Windows  →  winget install Cloudflare.cloudflared

Usage

cd /any/folder/you/want/to/share
global-directory start

A public URL and scannable QR code appear in your terminal. Share either one. Press Ctrl+C or run the stop command to end the session.

global-directory stop

What it looks like

File Browser

Code preview with syntax highlighting

Code Preview

Image preview

Image Preview


Use cases

You want to... Without this With global-directory
Share files with a client Upload to Drive, set perms, send link One command, instant link
Send a large video or folder Too big for email, slow to upload No size limits, works instantly
Share a project with a teammate Zip it, upload it, wait Public link in seconds
Show files during a meeting Screen share only QR code — anyone opens on phone
Share from Mac to Android AirDrop does not work cross-platform Link opens on any device
Give temporary download access Cloud accounts, permissions, storage Start, share link, stop when done

How it works

  1. Starts a local file server on your machine
  2. Opens a free Cloudflare quick tunnel (trycloudflare.com)
  3. Prints a public URL and QR code in your terminal
  4. Anyone with the link can browse and download — files never leave your machine

Limitations

  • Free quick tunnels support up to 200 simultaneous connections
  • Traffic routes through Cloudflare infrastructure — do not share confidential files
  • Windows: cloudflared does not auto-update — check releases manually
  • Text file preview is capped at 100 KB to protect the browser

Contributing

Pull requests welcome. For major changes please open an issue first to discuss what you would like to change.


License

MIT — free to use, modify and distribute.


Made with ❤️ by Deevanshu Guru  ·  GitHub  ·  Instagram

Metadata

Release files for global-directory 4.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for global-directory 4.0.1
File Size Uploaded
global_directory-4.0.1.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for global-directory 4.0.1
File Interpreter ABI Platform
global_directory-4.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.3 kB

Release files / global_directory-4.0.1.tar.gz

Download URL global_directory-4.0.1.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
80144fd222a84ff5848524c83449f26737874b307e632ac170b2c318bf89b3cc
BLAKE2b-256 checksum
How to use checksums
4fa5bb34f1e1c581b38b24ba5e6307a596ca104b9f85a2bacb7c3d4e6c937cd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.1

Release files / global_directory-4.0.1-py3-none-any.whl

Download URL global_directory-4.0.1-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0e7e833b1fba09ae886aac35b053c00641e0022f74071e9b3d80a4291f53cef
BLAKE2b-256 checksum
How to use checksums
16c334953f4b195755b53ee1fd5466290071fa66dda9f0be69d39f69e80bda88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.1

Release history Release notifications | RSS feed

4.0.2

2 release files

This release

4.0.1 This release

2 release files

4.0.0

2 release files

3.0.3

2 release files

3.0.1

2 release files

3.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page