Skip to content
/ cms3 Public

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

License

Notifications You must be signed in to change notification settings

phortuin/cms3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks