No description
Find a file
2026-07-05 07:17:01 -06:00
.github/workflows chore(neoq): bump to fix postgres port issue 2026-07-05 07:17:01 -06:00
archetypes Initial commit 2023-07-29 15:58:46 -06:00
bin Add plausible 2023-07-31 06:33:21 -06:00
config Add NotFound handler for serving Hugo static site 2023-07-30 12:46:09 -06:00
content Update FAQ 2023-08-02 08:09:20 -06:00
html_parser Remove debug logging from parser 2023-07-30 15:46:35 -06:00
internal/cmd/develop Initial commit 2023-07-29 15:58:46 -06:00
layouts/partials Add plausible 2023-07-31 06:33:21 -06:00
migrations Make garbage_id uplevels non-unique 2023-08-01 10:20:16 -06:00
partials Add note about spam folder in registration confirmation 2023-08-03 07:00:37 -06:00
themes/terminal Fix upleveling previously upleveled garbage 2023-08-01 16:45:50 -06:00
.gitignore Fix up CORS stuff 2023-07-29 15:58:48 -06:00
env.sample Rename FROM_ADDRESS env var 2023-07-29 22:01:52 -06:00
go.mod chore(neoq): bump to fix postgres port issue 2026-07-05 07:17:01 -06:00
go.sum chore(neoq): bump to fix postgres port issue 2026-07-05 07:17:01 -06:00
hugo.toml Boost everything 2023-08-01 09:44:04 -06:00
job.nomad.hcl chore(db): move to new cluster 2026-07-05 06:14:23 -06:00
LICENSE Initial commit 2023-07-29 15:57:50 -06:00
README.md README update/Go formatting 2023-09-09 10:00:54 +02:00
server.go chore(neoq): bump to fix postgres port issue 2026-07-05 07:17:01 -06:00

Garbage Speak

A fun, dumb, and ultimately useless website inspired by this tour de force on corporate garabe speak.

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