Skip to content

josssch/simple-file-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Simple CDN

Things this should be able to do:

  • Serve static files (obviously)
    • Automatically compress files (gzip, brotli)
    • Caching
      • Cache-Control headers
      • Server-side caching (in-memory or on-disk if remote is added)
      • ETag headers
    • Handle large files efficiently (streaming)
    • CORS rules
      • Customizable per file or directory
    • Encrypt files at rest
  • Two different access modes
    • API access (cdn.example.com/{file})
    • Web access (files.example.com/{file})
  • API for file management
    • Simple JWT authentication
    • POST /{file} to upsert files
    • DELETE /{file} to delete files

About

A super simple file server for hosting static files via an HTTP server.

Resources

Stars

Watchers

Forks