You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forest
cca3f2dc25
|
3 years ago | |
---|---|---|
frontend-build | 3 years ago | |
static | 3 years ago | |
user-content | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
adminPanel.go | 3 years ago | |
encoding.go | 3 years ago | |
federation.go | 3 years ago | |
federation.json | 3 years ago | |
go.mod | 3 years ago | |
go.sum | 3 years ago | |
index.css | 3 years ago | |
index.gotemplate.html | 3 years ago | |
main.go | 3 years ago |
README.md
graffiti-app
development
First start up the frontend build in watch-mode in one terminal:
cd frontend-build
npm run-script watch
Second, run the go server:
go run .
deployment
SEE https://git.sequentialread.com/forest/bpg
for instructions on how to build bpgenc from source (required).
run it like (for example)
BPGENC_PATH=/home/cyberian/bpg/bpgenc graffiti 8082
Run in background
BPGENC_PATH=/home/cyberian/bpg/bpgenc ./graffiti 8082 > test.log 2>&1 &
This was my Caddyfile entry:
collage.cyberia.club {
reverse_proxy {
to localhost:8082 localhost:8081
lb_policy first
health_uri /health
health_interval 5s
health_timeout 5s
}
log {
output file /home/cyberian/graffiti-access.log
}
}
todo list
-
"This invite code is invalid"
-
need rotate button
-
images only load once they are on-screen
-
save user's view position in localStorage or something
-
rotate posts (capsule colliders)
-
video posts