Skip to content

ponurakk/simple-cdn-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple CDN Server

Setup

  1. Rename config.json.example to config.json
  2. Set your token and address in config.json file
  3. Execute go build
  4. *nix: ./cdn-server Windows: .\cdn-server

Endpoints

Upload file:

POST /

Find file:

GET /files/{generated combination}.{extension}

View file:

GET /files/v/{generated combination}.{extension}

Remove file:

DELETE /files/{generated combination}.{extension}

All uploaded files go into the /files directory

Todo

  • Toggleable theme
  • Remove htmx
  • Add Dockerfile
  • Make files list sortable
  • Add sending multiple files
  • Implement Push cdn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 58.1%
  • HTML 41.9%