{"id":18437,"library":"http-up","title":"http-up","description":"http-up is a zero-configuration command-line HTTP server with an interface for file uploads, browsing, and online editing. Current stable version is 3.2.4, with frequent releases addressing security vulnerabilities. It supports TLS, basic auth, thumbnails, and office document editing via LibreOffice. Unlike simple static servers (e.g., http-server), http-up enables uploads, file management (copy/move/delete) in extended mode, and online editing of office and code files. The server runs via npx without installation and generates self-signed TLS certs automatically.","status":"active","version":"3.2.4","language":"javascript","source_language":"en","source_url":"https://github.com/western/http-up","tags":["javascript","cli","command","static","static-server","http","https","tls","http-server"],"install":[{"cmd":"npm install http-up","lang":"bash","label":"npm"},{"cmd":"yarn add http-up","lang":"bash","label":"yarn"},{"cmd":"pnpm add http-up","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[],"quickstart":{"code":"# Serve current directory with default options\nnpx http-up .\n\n# Serve a specific directory on a custom port\nnpx http-up --port 3999 /path/to/fold\n\n# Enable extended mode for file management\nnpx http-up --extend-mode /tmp\n\n# Enable basic auth (random accounts)\nnpx http-up --basic .\n\n# Enable TLS and basic auth for secure sharing\nnpx http-up --tls --basic /path/to/you\n\n# Show help\nnpx http-up --help","lang":"javascript","description":"Examples of running http-up as a CLI tool: basic serve, custom port, extended mode, authentication, TLS, and help."},"warnings":[{"fix":"If you relied on these features, do not upgrade beyond 2.x.","message":"Version 3.0.0 removed the SHARE option, ADMIN console, and file ENCRYPT option.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Enable database with --database flag if needed.","message":"Version 3.0.0 disabled database by default. Log output disable option added.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Use npx http-up or install globally with npm install -g http-up.","message":"The package uses npx for execution; no programmatic API is exported.","severity":"deprecated","affected_versions":"all"},{"fix":"Ensure target paths are empty or desired before performing these operations.","message":"During group COPY or MOVE operations in extended mode, target files/folders are overwritten without confirmation.","severity":"gotcha","affected_versions":"all"},{"fix":"Install LibreOffice or avoid editing office files; plain text/code editing works without it.","message":"Office file editing (docx, odt, etc.) requires LibreOffice installed on the system.","severity":"gotcha","affected_versions":"all"},{"fix":"Accept the self-signed certificate manually in the browser, or use a reverse proxy with a proper certificate.","message":"TLS mode uses self-signed certificates generated on first run; browsers will show a warning.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Add flags like --port, --basic, --tls as needed.","cause":"Running without any options works by default, but users may expect specific behavior.","error":"npx http-up ."},{"fix":"Run with appropriate permissions or serve a directory you own.","cause":"The user does not have write permission to the directory being served.","error":"Error: EACCES: permission denied, open '/path/to/file'"},{"fix":"Use npx http-up or install globally; do not require/import in code.","cause":"Trying to import the package as a module, but http-up is CLI-only and not meant for programmatic use.","error":"Cannot find module 'http-up'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}