Fork of flightless something to add postgresql and claude support.
Go to file
2024-07-29 22:50:13 +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 deduplicate file parsing code, better handling of "version" variable" 2024-07-14 19:38:51 +03:00
static More code written by chatGPT :D 2024-07-29 22:27:31 +03:00
templates documentation/description 2024-07-29 22:50:13 +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 indexes for afterburner format 2024-07-14 19:55:25 +03:00
benchmarks.go do not mention CSV 2024-07-14 19:42:11 +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 deduplicate file parsing code, better handling of "version" variable" 2024-07-14 19:38:51 +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/