Fork of flightless something to add postgresql and claude support.
Go to file
2024-07-14 18:15:15 +03:00
.github/workflows rm go docker cache (takes way too long to complete this step) 2024-07-04 23:56:56 +03:00
cmd/flightlesssomething Add finishing touches 2024-07-12 23:57:42 +03:00
static Percect cache control for static files, fix few issues with charts 2024-07-14 18:10:04 +03:00
templates Add FPS density chart, add better way of serving static files 2024-07-14 17:51:34 +03:00
.gitignore adsf 2024-07-11 19:33:15 +03:00
auth.go do not allow re-login if already logged in 2024-07-05 10:20:35 +03:00
benchmark_data.go Fix downloads 2024-07-13 01:13:27 +03:00
benchmarks.go Add download function, prepare for RivaTuner format 2024-07-12 10:45:48 +03:00
config.go Add finishing touches 2024-07-12 23:57:42 +03:00
docker-compose.yaml Add finishing touches 2024-07-12 23:57:42 +03:00
Dockerfile cert is required for HTTPS connection with Discord 2024-07-05 00:32:54 +03:00
embed.go serve static files 2024-07-11 20:29:14 +03:00
go.mod Initial upload 2024-07-04 23:29:32 +03:00
go.sum Initial upload 2024-07-04 23:29:32 +03:00
models.go adsf 2024-07-11 19:33:15 +03:00
README.md update README.md 2024-07-14 18:15:15 +03:00
server.go Percect cache control for static files, fix few issues with charts 2024-07-14 18:10:04 +03:00
user.go Initial upload 2024-07-04 23:29:32 +03:00

FlightlessSomething

flightlessmango.com website clone, written in Go.

Yes, there is a lot of crappy copypasta html/css/js code. As long as it works! 🤷

Features

  • Written in Go:
    • Fast performance
    • Multithreaded
    • Single, statically linked binary
  • Uses gin web framework
  • Uses gorm ORM (Can be easily ported to other databases)

Features that will NOT be included

  • TLS/SSL/ACME - use reverse proxy (I suggest Caddy)

Development

To run this code locally, setup go, open this project and run this:

go run cmd/flightlesssomething/main.go -data-dir data -discord-client-id xxxxxxxxxxxxxxxxxxx -discord-client-secret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -discord-redirect-url 'http://127.0.0.1:8080/login/callback' -session-secret xxxxxxxxxxxxxxxxxxxxxxxx

Then open in browser: http://127.0.0.1:8080/