Discharge
Deploy static websites to Amazon S3.
Discharge is a command‑line tool that automates the deployment of static websites to Amazon S3. It guides users through configuring an S3 bucket, building the site with a specified command, and uploading the resulting files, while offering optional CloudFront CDN and HTTPS support. The tool works with AWS credentials supplied either via a profile file or environment variables, making it suitable for both local development and CI/CD pipelines.
The configuration is defined in a `.discharge.json` file at the project root, where users specify the domain, build command, upload directory, index and error documents, cache settings, and AWS region. An interactive `discharge init` command can generate this file, providing a step‑by‑step UI that reduces the need for deep AWS knowledge. The utility also supports clean URLs without “.html” extensions and subdomain handling.
Designed for developers who need a straightforward way to publish static assets, Discharge abstracts the underlying AWS operations while exposing explicit options for fine‑grained control over bucket naming, caching, and CDN integration. It is available as an npm package and can be installed globally or added as a development dependency.
Reviews
Loading reviews…
Similar apps

Network & Connectivity
surge
Publish static websites for free.

DevOps & Infrastructure
release
Generate changelogs with a single command.
DevOps & Infrastructure
release-it
Automate releases for Git repositories and/or npm packages. Changelog generation, GitHub/GitLab releases, etc.
Version Control & Git
ipfs-deploy
Deploy static websites to [IPFS](https://github.com/ipfs/ipfs#overviewhttps://github.com/ipfs/ipfs#overview).

DevOps & Infrastructure
s3m
Stream of data into S3 buckets.
DevOps & Infrastructure
semantic-release
Fully automated version management and package publishing.