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

https://github.com/pkgxdev/www

all pkgx web properties
https://github.com/pkgxdev/www

Last synced: 5 months ago
JSON representation

all pkgx web properties

Awesome Lists containing this project

README

          

# pkgx/www

This repo creates the websites for

1. https://pkgx.sh
2. https://pkgx.dev
3. https://pkgx.app
4. https://blog.pkgx.dev
5. https://mash.pkgx.sh

## How to dev

```sh
$ npm i
$ VITE_HOST=pkgx.sh npm run dev
# ^^ one of `pkgx.sh`, `pkgx.dev` or `pkgx.app` or `mash.pkgx.sh`
# there is no default! set one!

$ cd blog
$ hugo server --buildDrafts
```

## How to deploy

Pushing to `main` deploys all three. See `cd.yml` for details.

Note that pages in the React Router are handled by a CloudFront Function
on the CloudFront Distribution.

## Notes

* The “Shader” font’s license stipulates that it only be published to a CDN
or web platform that we control so it is not committed to GitHub

## Tasks

### sync

```sh
cd public/pkgs
AWS_PROFILE=tea \
aws s3 sync \
. \
s3://www.pkgx.dev/pkgs \
--exclude=.DS_Store \
--exclude=\*/.DS_Store \
--exclude=.git/\*
git add .
git commit -m 'add pkgs'
git push
```