- ChatGPT-like interface
- Persistent conversations
- All messages are stored in a PostgreSQL database.
- Each chat has its own unique ID and timestamp.
- Supports multiple chats with history.
- Future: Local document search
- Worker to search all documents on your PC using regex patterns.
- Returns matched text along with file paths.
- Integrates with chat so you can query your own files conversationally.
Make sure you have Docker desktop on your PC.
- Make it executable:
chmod +x start.sh- Start development (default):
./start.sh dev- Start production:
./start.sh prodOpen http://localhost:3000 with your browser to see the result.
to connect the database-container in docker:
docker exec -it <container_name> psql -U <POSTGRES_USER> -d <POSTGRES_DB>
to connect the nextjs-container in docker:
docker exec -it localAssistant_nextjs sh
Connect pgAdmin to your PostgreSQL container:
Name: (anything you like)
Host name/address: ai_db (the container name of your Postgres service)
Port: 5432
Username: (from POSTGRES_USER, .env)
Password: (from POSTGRES_PASSWORD, .env)
Maintenance database / Database: (from POSTGRES_DB, .env)
http://localhost:8080
To learn more about Next.js, Postgres and Docker, take a look at the following resources: