2024-07-04 22:29:32 +02:00
# FlightlessSomething
[flightlessmango.com ](https://flightlessmango.com/ ) website clone, written in Go.
2024-07-14 17:14:02 +02:00
Yes, there is a lot of crappy copypasta html/css/js code. As long as it works! 🤷
2024-07-04 22:29:32 +02:00
2024-08-21 23:54:10 +02:00
This is a fork that looks to add postgres support as well as anthropic ai support.
2024-08-21 21:59:49 +02:00
2024-07-04 22:29:32 +02:00
# 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 ](https://github.com/caddyserver/caddy ))
2024-07-14 17:15:15 +02:00
# Development
2024-07-04 22:29:32 +02:00
2024-07-14 17:15:15 +02:00
To run this code locally, setup `go` , open this project and run this:
```bash
2024-08-08 12:18:02 +02:00
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
2024-07-14 17:15:15 +02:00
```
Then open in browser: http://127.0.0.1:8080/