https://github.com/acaloiaro/garbagespeak.com
Garbage Speak is a community of thought leaders
https://github.com/acaloiaro/garbagespeak.com
htmx hugo hugo-site
Last synced: 2 months ago
JSON representation
Garbage Speak is a community of thought leaders
- Host: GitHub
- URL: https://github.com/acaloiaro/garbagespeak.com
- Owner: acaloiaro
- License: cc0-1.0
- Created: 2023-07-29T21:57:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-03T12:28:33.000Z (4 months ago)
- Last Synced: 2025-07-03T13:29:34.990Z (4 months ago)
- Topics: htmx, hugo, hugo-site
- Language: Go
- Homepage: https://garbagespeak.com
- Size: 1.17 MB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Garbage Speak
A fun, dumb, and ultimately useless website inspired by this [tour de force on corporate garabe speak](https://www.vulture.com/2020/02/spread-of-corporate-speak.html).
## About
This site started as a more robust proof of concept for creating dynamic Hugo sites with htmx and Go.
Write up detailing the concept https://adriano.fyi/posts/2023/2023-07-04-making-hugo-static-sites-dynamic-with-htmx-and-go/
The template from which this site is built https://github.com/acaloiaro/hugo-htmx-go-template/
## Dev
This README is very much still a WIP.
### Getting Started
To get started, fetch dependencies and build the dev tools.
```
bin/fetch-deps.sh
go build -o bin/develop internal/cmd/develop/main.go
go build -o bin/build internal/cmd/build/main.go
mkdir public && touch public/.empty
```
**Running in dev**
`bin/develop`
**Build fat binary**
`bin/build`
### Migrations
Migrations require `go-migrate` to be run locally:
`go install github.com/golang-migrate/migrate@v4`
#### Adding migrations
`migrate create -ext sql -dir migrations -seq name_of_migration`
#### Running migrations
Migrate up
`migrate -database ${POSTGRESQL_URL} -path migrations up`
Migrate down
`migrate -database ${POSTGRESQL_URL} -path migrations down`