Fork of flightless something to add postgresql and claude support.
Go to file
2024-08-08 13:16:19 +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 Add AI functionality 2024-08-08 13:14:21 +03:00
templates Add AI functionality 2024-08-08 13:14:21 +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 Add AI functionality 2024-08-08 13:14:21 +03:00
config.go Add AI functionality 2024-08-08 13:14:21 +03:00
docker-compose.yaml update docker-compose.yaml file 2024-08-08 13:16:19 +03:00
Dockerfile see if this helps 2024-08-05 12:25:11 +03:00
embed.go serve static files 2024-07-11 20:29:14 +03:00
go.mod backup current work 2024-08-07 21:22:31 +03:00
go.sum backup current work 2024-08-07 21:22:31 +03:00
models.go Add AI functionality 2024-08-08 13:14:21 +03:00
openai.go Add AI functionality 2024-08-08 13:14:21 +03:00
README.md update README.md 2024-07-14 18:15:15 +03:00
server.go Add AI functionality 2024-08-08 13:14:21 +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/