Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1019 Bytes

readme.md

File metadata and controls

19 lines (13 loc) · 1019 Bytes

cmS3

Syncs content of textarea as a gzipped file to an S3 bucket of your choice

Set up

  • Install dependencies with npm i
  • Copy the .env.example file and name it .env
  • Fill in the AWS key, secret, region & default bucket name1
  • Run with npm start

An Express server will run on localhost:3012 and show a full screen textarea, a file list, and a Save button. When clicking the Save button, the content of the textarea is gzipped and uploaded to your bucket with the right headers. The textarea automatically gets prefilled with the content of the files (already) on your bucket2. You can delete files and upload (binary) files too!

Simple websites made simple!


  1. Switch buckets by putting them in the URL: localhost:3012/my-bucket
  2. The default is index.html but you can send any text file to your bucket by putting it in the URL: localhost:3012/my-bucket/styles.css