Fork of flightless something to add postgresql and claude support.
Go to file
2024-10-03 17:07:28 +02: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 Update static/js/benchmark.js 2024-10-03 17:07:28 +02:00
templates Add OpenAI integration (#10) 2024-08-08 13:17:11 +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 postgres support and anthropic ai support 2024-08-21 22:52:39 +01:00
config.go Add postgres support and anthropic ai support 2024-08-21 22:52:39 +01:00
docker-compose.yaml Add OpenAI integration (#10) 2024-08-08 13:17:11 +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 Add postgres support and anthropic ai support 2024-08-21 22:52:39 +01:00
go.sum Add postgres support and anthropic ai support 2024-08-21 22:52:39 +01:00
mango Add postgres support and anthropic ai support 2024-08-21 22:52:39 +01:00
models.go Add OpenAI integration (#10) 2024-08-08 13:17:11 +03:00
openai.go Add postgres support and anthropic ai support 2024-08-21 22:52:39 +01:00
README.md Update README.md 2024-08-21 23:54:10 +02:00
server.go Add postgres support and anthropic ai support 2024-08-21 22:52:39 +01: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! 🤷

This is a fork that looks to add postgres support as well as anthropic ai support.

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 -openai-api-key xxxxxxxxxxxxxxxxxxxxxxxx

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