/go-fast-cdn

A fast and easy-to-use CDN, built with Go.

Primary LanguageGoMIT LicenseMIT

Go-Fast CDN - Fast and simple Open Source CDN

Go-Fast CDN

"The PocketBase of CDNs" - Me

A fast and easy-to-use CDN, built with Go.

Utilizing an SQLite database with GORM and the Gin web framework. UI built with Vite + React and wouter.

How to use

See our documentation at kevinanielsen.github.io/go-fast-cdn/

Development

Clone the Repository

git clone git@github.com:kevinanielsen/go-fast-cdn or git clone https://github.com:kevinanielsen/go-fast-cdn

Add env variables

This project uses dotenv and I recommend that you do the same.
Read more about the usage on their page.

If you do not wish to use this, you can just rename .example.env to .env and fill in the fields.

Building the binary

  1. Run make prep
  2. Run make clean
  3. Run make test
  4. Run make build

Your binary should now be tested, built, and you can run it with bin/go-fast-cdn-linux or bin/go-fast-cdn-windows or bin/go-fast-cdn-darwin

Quick start with Docker

git clone git@github.com:kevinanielsen/go-fast-cdn or git clone https://github.com:kevinanielsen/go-fast-cdn

docker-compose up -d