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
- Host: GitHub
- URL: https://github.com/pkgxdev/www
- Owner: pkgxdev
- Created: 2023-08-11T20:05:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-21T12:58:32.000Z (6 months ago)
- Last Synced: 2025-07-21T14:40:48.050Z (6 months ago)
- Language: TypeScript
- Homepage: https://pkgx.dev
- Size: 5.08 MB
- Stars: 6
- Watchers: 3
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
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
```