Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wuz/wuz.sh
My personal site
https://github.com/wuz/wuz.sh
bun docker nextjs nix personal-site
Last synced: 30 days ago
JSON representation
My personal site
- Host: GitHub
- URL: https://github.com/wuz/wuz.sh
- Owner: wuz
- Created: 2023-11-02T21:06:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-06T19:07:44.000Z (about 1 month ago)
- Last Synced: 2024-12-10T19:27:41.020Z (about 1 month ago)
- Topics: bun, docker, nextjs, nix, personal-site
- Language: TypeScript
- Homepage: https://wuz.sh
- Size: 3.72 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wuz.sh
## Built with NextJS + Bun + Nix
The repo for my personal site, built with NextJS and designed for running with
Bun through Nix.![image of wuz.sh](https://github.com/user-attachments/assets/476f3fea-e5f3-42c0-9baf-9bd3cf1ecc33)
## Running with Nix
The NextJS app can be built using Nix and Bun with the following command:
```bash
nix build .#frontend-app
```That will output a `result` folder with an `entrypoint` script inside that can
be used to run the NextJS site as a standalone app with:```bash
./result/entrypoint
```You can also just run the app in the same way:
```bash
nix run .#frontend-app
```## Running with docker
You can build a docker image with nix and copy into the docker daemon like so:
```bash
nix run .#frontend-image.copyToDockerDaemon
```