Welcome to the LLM-Golang project! This web application allows users to interact with a large language model (LLM) through a user-friendly interface. It features GitHub OAuth for authentication, a responsive UI built with Bootstrap and HTMX, and seamless integration with a remote PostgreSQL database hosted on Neon Console.
- User Authentication: Secure login via GitHub OAuth.
- Prompt Submission: Easily submit prompts to an LLM and view responses.
- Profile Management: Manage user profiles with avatar, email, and username display.
- Database Integration: Store user information, prompts, and responses in a PostgreSQL database.
- Dockerized Setup: Fully containerized for consistent and reliable deployment.
- Secure Configuration: Use environment variables and Docker Secrets to manage sensitive data.
Before you begin, ensure you have the following:
- Docker and Docker Compose installed on your machine.
- Access to a PostgreSQL database (e.g., Neon Console).
- A GitHub OAuth App for authentication:
git clone https://github.com/kaimg/LLM-Golang.git
cd LLM-GolangSet up your environment variables and Docker Secrets as needed for your setup.
Use Docker Compose to build and run the application:
docker-compose up --build
