TBD
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 blah 3 years ago
frontend-build supporting older browsers -- fallback for no BPG and babel build 3 years ago
static blah 3 years ago
user-content OOPS that jpeg thing was not needed. first commit of app 3 years ago
.gitignore health check & fixing text size for invite link in prod 3 years ago
README.md allow updating frontend version without downloading new version of the 3 years ago
adminPanel.go Admin Panel is working, delete posts and ban users. 3 years ago
encoding.go fixing more issues related to text posts 3 years ago
federation.go add nodeid display to frontend 3 years ago
federation.json add LocalSOCKS5Address support for federation client 3 years ago
go.mod add LocalSOCKS5Address support for federation client 3 years ago
go.sum add LocalSOCKS5Address support for federation client 3 years ago
index.css supporting older browsers -- fallback for no BPG and babel build 3 years ago
index.gotemplate.html disable pinch to zoom for mobile 3 years ago
main.go add nodeid display to frontend 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