Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anjaraeu/nocdn
Self-hosted alternative to CDNs.
https://github.com/anjaraeu/nocdn
cdn self-hosted
Last synced: about 2 months ago
JSON representation
Self-hosted alternative to CDNs.
- Host: GitHub
- URL: https://github.com/anjaraeu/nocdn
- Owner: anjaraeu
- License: mit
- Archived: true
- Created: 2017-11-29T18:15:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-26T19:36:08.000Z (almost 7 years ago)
- Last Synced: 2024-08-14T10:16:15.615Z (6 months ago)
- Topics: cdn, self-hosted
- Language: Shell
- Homepage: https://nocdn.nsa.ovh
- Size: 3.93 MB
- Stars: 37
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# NoCDN
Nocdn is an alternative to old-school CDNsFor the developers who wants to protect the privacy of their users, just put "nocdn.domain.tld/" between "https://" and the CDN.
Per example, if you want to have a javascript file on ajax.googleapis.com, and, if you installed NoCDN on nocdn.nsa.ovh, the URL should be like this: https://nocdn.nsa.ovh/ajax.googleapis.com/some/random/ressource.For an user, you can bind thoses old-school CDN to your instance.
You can do it by editing the entries in your local resolver or editing your hosts file.So each time you call for a CDN, the request will be handled by your instance, a big plus for privacy.
For now, we only support Javascript CDNs, we will do CSS CDNs in the future.
## CDNs supported
- ajax.aspnetcdn.com
- ajax.googleapis.com
- ajax.microsoft.com
- cdn.jsdelivr.net- cdnjs.cloudflare.com
- code.jquery.com
- lib.sinaapp.com
- libs.baidu.com
- yandex.st
- yastatic.net## Installation
Just download the script, check it and execute it:
```sh
wget https://raw.githubusercontent.com/nsaovh/nocdn/master/install.sh -O /tmp/install.sh
less /tmp/install.sh
bash /tmp/install.sh
```
## Docker
You can run NoCDN via Docker:
```sh
docker run -p 8080:80 --name nocdn -d luclu7/nocdn
```## License :
This project is under the MIT license, if you have any question, please contact a member of the team.
## ToDo List :
- Auto install script (in progress)
- A Wiki (one day)