Fork of flightless something to add postgresql and claude support.
.github/workflows | ||
cmd/flightlesssomething | ||
static | ||
templates | ||
.gitignore | ||
auth.go | ||
benchmark_data.go | ||
benchmarks.go | ||
config.go | ||
docker-compose.yaml | ||
Dockerfile | ||
embed.go | ||
go.mod | ||
go.sum | ||
mango | ||
models.go | ||
openai.go | ||
README.md | ||
server.go | ||
user.go |
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 claude 3.5 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/