Skip to main content

A minimal CLI HTTP file explorer

Project description

fexp

A minimal CLI to serve a simple HTTP backend for browsing and uploading files.

Install

You can install fexp via pip:

pip install fexp

CLI

fexp [--host HOST] [--port PORT] [--root ROOT]  [--quiet] [--upload] [--cors]
  • --host (default: 127.0.0.1)
  • --port (default: 8765)
  • --root root directory to expose (default: $PWD)
  • --quiet disable logging output (default: false)
  • --upload enable upload support (default: false)
  • --cors enable CORS (default: false)

Web UI

A minimal web UI is available at:

  • GET /path/to/dir — opens a simple file manager page

Features:

  • Navigate directories with breadcrumbs
  • Click files to preview (text) or open in a new tab
  • Upload files into the current directory (requires --upload)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fexp-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fexp-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file fexp-0.1.0.tar.gz.

File metadata

  • Download URL: fexp-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for fexp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4c0c2a30aa650fa34fdee11ab40508e2afec392d7a91eeb6bb00892d2b75a91
MD5 54798eeb0f4966cd789a910fa0d9102a
BLAKE2b-256 3f8931e5bf485817d185a82e9390d3d2b09d3923b3ef8083df9cb1d4d55985b3

See more details on using hashes here.

File details

Details for the file fexp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fexp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for fexp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd466f04d477944fe73607edfbcc9a9006176c829fd494c3d9c32c4f74c65a97
MD5 41d8a1e46991db4a768059d81265bb99
BLAKE2b-256 6cb9c45a75093cb8ccbb06fcb7da0b02c6f211d834648659297f73e473fde82e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page