Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevinanielsen/go-fast-cdn
A fast and easy-to-use CDN, built with Go.
https://github.com/kevinanielsen/go-fast-cdn
cdn gin gin-gonic gin-gorm go go-app go-cdn golang gorm gorm-orm
Last synced: 4 days ago
JSON representation
A fast and easy-to-use CDN, built with Go.
- Host: GitHub
- URL: https://github.com/kevinanielsen/go-fast-cdn
- Owner: kevinanielsen
- License: mit
- Created: 2023-12-10T17:24:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-08T07:14:05.000Z (2 months ago)
- Last Synced: 2025-01-11T01:05:38.175Z (11 days ago)
- Topics: cdn, gin, gin-gonic, gin-gorm, go, go-app, go-cdn, golang, gorm, gorm-orm
- Language: Go
- Homepage: https://kevinanielsen.github.io/go-fast-cdn/
- Size: 15.3 MB
- Stars: 149
- Watchers: 3
- Forks: 36
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# 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](https://vite.js/) + [React](https://react.dev/) and [wouter](https://github.com/molefrog/wouter).
## How to use
See our documentation at [kevinanielsen.github.io/go-fast-cdn/](https://kevinanielsen.github.io/go-fast-cdn/)
## Development
### Clone the Repository
`git clone [email protected]:kevinanielsen/go-fast-cdn`
or `git clone https://github.com:kevinanielsen/go-fast-cdn`### Add env variables
This project uses [dotenv](https://vault.dotenv.org/) 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 [email protected]:kevinanielsen/go-fast-cdn`
or `git clone https://github.com:kevinanielsen/go-fast-cdn````
docker-compose up -d
```