Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/interactivetraining/self-hosted-unpkg

:package: self-hosted unpkg clone (with private registry option)
https://github.com/interactivetraining/self-hosted-unpkg

cloudflare dockerfile npm-registry private-npm self-hosted typescript unpkg unpkg-clone

Last synced: 3 months ago
JSON representation

:package: self-hosted unpkg clone (with private registry option)

Awesome Lists containing this project

README

        

# self-hosted-unpkg

## Requirements
- Registry token or credentials (if you want to allow access to private packages)
- Redis (if you want short-term file caching to reduce registry load)

### For HTTPS
- Cloudflare credentials (used to verify domain with Lets Encrypt)
- Google Cloud Storage + service account (for storing SSL cert/key)

## Example
Create .env file. (see http.sample.env) and run:

```bash
docker run -it --rm -p 443:443 -p 80:80 --env-file ./.env --name self-hosted-unpkg interactivetraining/self-hosted-unpkg
```

[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://console.cloud.google.com/cloudshell/editor?shellonly=true&cloudshell_image=gcr.io/cloudrun/button&cloudshell_git_repo=https://github.com/InteractiveTraining/self-hosted-unpkg)