https://github.com/mgjules/mgjules-go
My personal space on the web (/◕ヮ◕)/
https://github.com/mgjules/mgjules-go
blog curriculum-vitae cv directus edgedb go golang personal-website unocss
Last synced: 2 months ago
JSON representation
My personal space on the web (/◕ヮ◕)/
- Host: GitHub
- URL: https://github.com/mgjules/mgjules-go
- Owner: mgjules
- Created: 2022-10-11T12:42:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T20:10:40.000Z (3 months ago)
- Last Synced: 2025-03-18T11:11:31.151Z (3 months ago)
- Topics: blog, curriculum-vitae, cv, directus, edgedb, go, golang, personal-website, unocss
- Language: SCSS
- Homepage: https://mgjules.dev
- Size: 2.72 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mgjules-go
[](https://pkg.go.dev/github.com/mgjules/mgjules-go)
Source code for my [personal website](https://michael.jules.mu).
## Background
This website has seen several iterations through the years and moved across many repositories.
This iteration has for primary goal to experiment with the idea of pre-rendering the various views and serving them from memory. Obviously it is over-engineered but that's the whole point; to experiment without limits (。•̀ᴗ-)✧
## Development
Sample `.env`:
```shell
PROD=false
SERVER_PORT=13337
AUTH_TOKEN=a_very_long_but_obviously_fake_token
STATIC=true
EDGEDB_DSN=edgedb://edgedb:[email protected]/myspace
DIRECTUS_URL=https://directus.mgjules.dev
DIRECTUS_TOKEN=a_very_long_but_obviously_fake_token
```Run `go` app:
```shell
$ go run .
```Run `unocss-cli` in `watch` mode:
```shell
$ npm run dev
```## Production
Sample `.env`:
```shell
PROD=true
SERVER_PORT=80
AUTH_TOKEN=a_very_long_but_obviously_fake_token
STATIC=true
``````shell
$ go generate
$ go build .
```