Skip to content

Commit 0fb92d6

Browse files
committed
chore: update project dependencies
1 parent eb17112 commit 0fb92d6

59 files changed

Lines changed: 4176 additions & 4249 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
4+
title: ""
55
labels: bug
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

10-
**Describe the bug**
11-
A clear and concise description of what the bug is.
9+
**Describe the bug** A clear and concise description of what the bug is.
10+
11+
**To Reproduce** Steps to reproduce the behavior:
1212

13-
**To Reproduce**
14-
Steps to reproduce the behavior:
1513
1. Go to '...'
1614
2. Click on '....'
1715
3. Scroll down to '....'
1816
4. See error
1917

20-
**Expected behavior**
21-
A clear and concise description of what you expected to happen.
18+
**Expected behavior** A clear and concise description of what you expected to happen.
2219

23-
**Screenshots**
24-
If applicable, add screenshots to help explain your problem.
20+
**Screenshots** If applicable, add screenshots to help explain your problem.
2521

2622
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
3023

31-
**Additional context**
32-
Add any other context about the problem here.
24+
- OS: [e.g. iOS]
25+
- Browser [e.g. chrome, safari]
26+
- Version [e.g. 22]
27+
28+
**Additional context** Add any other context about the problem here.
Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
4+
title: ""
55
labels: enhancement
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated
10+
when [...]
1211

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
12+
**Describe the solution you'd like** A clear and concise description of what you want to happen.
1513

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
14+
**Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered.
1815

19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
16+
**Additional context** Add any other context or screenshots about the feature request here.

.github/workflows/docker-build-manual.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
file: backend/Dockerfile
3939
platforms: linux/arm64
4040
push: true
41+
no-cache: true
42+
pull: true
4143
tags: sunjay195/chatty-ai-backend:latest
4244

4345
worker:
@@ -65,4 +67,6 @@ jobs:
6567
file: worker/Dockerfile
6668
platforms: linux/arm64
6769
push: true
70+
no-cache: true
71+
pull: true
6872
tags: sunjay195/chatty-ai-worker:latest

.github/workflows/docker-build-push.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
platforms: linux/arm64
7575
push: true
7676
tags: sunjay195/chatty-ai-backend:latest
77+
no-cache: true
78+
pull: true
7779
labels: |
7880
git_commit_sha=${{ github.sha }}
7981
git_commit_short=${{ steps.meta.outputs.short_sha }}
@@ -112,6 +114,8 @@ jobs:
112114
platforms: linux/arm64
113115
push: true
114116
tags: sunjay195/chatty-ai-worker:latest
117+
no-cache: true
118+
pull: true
115119
labels: |
116120
git_commit_sha=${{ github.sha }}
117121
git_commit_short=${{ steps.meta.outputs.short_sha }}

.husky/pre-commit

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
bunx lint-staged
1+
pnpm lint-staged
2+
3+
pnpm --filter ./frontend build

.prettierignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules
2+
dist
3+
build
4+
prisma
5+
coverage
6+
.next
7+
vercel
8+
.env
9+
*.log

.prettierrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"htmlWhitespaceSensitivity": "css",
5+
"insertPragma": false,
6+
"jsxSingleQuote": false,
7+
"printWidth": 150,
8+
"proseWrap": "always",
9+
"quoteProps": "as-needed",
10+
"requirePragma": false,
11+
"semi": true,
12+
"singleQuote": false,
13+
"tabWidth": 2,
14+
"trailingComma": "all",
15+
"useTabs": false
16+
}

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
77
[![Last Commit](https://img.shields.io/github/last-commit/sunjay-dev/sleek-ai)](https://github.com/sunjay-dev/sleek-ai/commits/main)
88

9-
A full-stack AI chat application featuring real-time messaging, file ingestion, and vector search capabilities. Optimized for speed, reliability, and seamless AI interactions.
9+
A full-stack AI chat application featuring real-time messaging, file ingestion, and vector search capabilities. Optimized for speed, reliability, and
10+
seamless AI interactions.
1011

1112
## Features
13+
1214
- **AI Chat Interface**: Interactive chat with AI models.
1315
- **File Ingestion**: Upload and process documents (PDF, Docx, TXT) for context-aware responses.
1416
- **Vector Search**: Semantic search powered by Pinecone and Google Gemini embeddings.
@@ -18,7 +20,27 @@ A full-stack AI chat application featuring real-time messaging, file ingestion,
1820

1921
## Tech Stack
2022

21-
![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB) ![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white) ![Lucide-React](https://img.shields.io/badge/Lucide--React-000000.svg?style=for-the-badge&logo=lucide&logoColor=white) ![Clerk](https://img.shields.io/badge/Clerk-6C47FF?style=for-the-badge&logo=clerk&logoColor=white) ![Hono](https://img.shields.io/badge/Hono-ff5018?style=for-the-badge&logo=hono&logoColor=white) ![Bun](https://img.shields.io/badge/Bun-000000?style=for-the-badge&logo=bun&logoColor=FBF0DF) ![PostgreSQL](https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge&logo=postgresql&logoColor=white) ![Prisma](https://img.shields.io/badge/Prisma-3982CE?style=for-the-badge&logo=Prisma&logoColor=white) ![Redis](https://img.shields.io/badge/redis-%23DD0031.svg?&style=for-the-badge&logo=redis&logoColor=white) ![BullMQ](https://img.shields.io/badge/BullMQ-E03E2F?style=for-the-badge&logo=bullmq&logoColor=white) ![Cloudinary](https://img.shields.io/badge/Cloudinary-3448C5?style=for-the-badge&logo=cloudinary&logoColor=white) ![PNPM](https://img.shields.io/badge/pnpm-%234a4a4a.svg?style=for-the-badge&logo=pnpm&logoColor=f69220) ![Zod](https://img.shields.io/badge/Zod-7C3AED.svg?style=for-the-badge&logo=zod&logoColor=white) ![Pino](https://img.shields.io/badge/Pino-4B9E5F.svg?style=for-the-badge&logo=pino&logoColor=white) ![LangChain](https://img.shields.io/badge/LangChain.js-1C3C3C?style=for-the-badge&logo=langchain&logoColor=white) ![Pinecone](https://img.shields.io/badge/Pinecone-2C3E50?style=for-the-badge&logo=pinecone&logoColor=white) ![Groq](https://img.shields.io/badge/Groq-F55036?style=for-the-badge&logo=groq&logoColor=white) ![Gemini](https://img.shields.io/badge/Gemini-1A73E8?style=for-the-badge&logo=google-gemini&logoColor=white) ![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white) ![Grafana](https://img.shields.io/badge/Grafana-%23F46800.svg?style=for-the-badge&logo=grafana&logoColor=white) ![Prometheus](https://img.shields.io/badge/Prometheus-%23E6522C.svg?style=for-the-badge&logo=prometheus&logoColor=white)
23+
![React](https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB)
24+
![Tailwind CSS](https://img.shields.io/badge/Tailwind_CSS-38B2AC?style=for-the-badge&logo=tailwind-css&logoColor=white)
25+
![Lucide-React](https://img.shields.io/badge/Lucide--React-000000.svg?style=for-the-badge&logo=lucide&logoColor=white)
26+
![Clerk](https://img.shields.io/badge/Clerk-6C47FF?style=for-the-badge&logo=clerk&logoColor=white)
27+
![Hono](https://img.shields.io/badge/Hono-ff5018?style=for-the-badge&logo=hono&logoColor=white)
28+
![Bun](https://img.shields.io/badge/Bun-000000?style=for-the-badge&logo=bun&logoColor=FBF0DF)
29+
![PostgreSQL](https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge&logo=postgresql&logoColor=white)
30+
![Prisma](https://img.shields.io/badge/Prisma-3982CE?style=for-the-badge&logo=Prisma&logoColor=white)
31+
![Redis](https://img.shields.io/badge/redis-%23DD0031.svg?&style=for-the-badge&logo=redis&logoColor=white)
32+
![BullMQ](https://img.shields.io/badge/BullMQ-E03E2F?style=for-the-badge&logo=bullmq&logoColor=white)
33+
![Cloudinary](https://img.shields.io/badge/Cloudinary-3448C5?style=for-the-badge&logo=cloudinary&logoColor=white)
34+
![PNPM](https://img.shields.io/badge/pnpm-%234a4a4a.svg?style=for-the-badge&logo=pnpm&logoColor=f69220)
35+
![Zod](https://img.shields.io/badge/Zod-7C3AED.svg?style=for-the-badge&logo=zod&logoColor=white)
36+
![Pino](https://img.shields.io/badge/Pino-4B9E5F.svg?style=for-the-badge&logo=pino&logoColor=white)
37+
![LangChain](https://img.shields.io/badge/LangChain.js-1C3C3C?style=for-the-badge&logo=langchain&logoColor=white)
38+
![Pinecone](https://img.shields.io/badge/Pinecone-2C3E50?style=for-the-badge&logo=pinecone&logoColor=white)
39+
![Groq](https://img.shields.io/badge/Groq-F55036?style=for-the-badge&logo=groq&logoColor=white)
40+
![Gemini](https://img.shields.io/badge/Gemini-1A73E8?style=for-the-badge&logo=google-gemini&logoColor=white)
41+
![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white)
42+
![Grafana](https://img.shields.io/badge/Grafana-%23F46800.svg?style=for-the-badge&logo=grafana&logoColor=white)
43+
![Prometheus](https://img.shields.io/badge/Prometheus-%23E6522C.svg?style=for-the-badge&logo=prometheus&logoColor=white)
2244

2345
## Architecture
2446

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BUN_VERSION=1.3.10-alpine
1+
ARG BUN_VERSION=1.3.11-alpine
22
ARG PNPM_VERSION=10.30.3
33
# ---------------------- base stage ----------------------
44
FROM oven/bun:${BUN_VERSION} AS base
@@ -11,7 +11,7 @@ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
1111
COPY shared ./shared
1212
COPY backend ./backend
1313

14-
RUN pnpm install --filter "@app/backend..." --prod --frozen-lockfile --ignore-scripts
14+
RUN pnpm install --filter "@app/backend..." --prod --frozen-lockfile --ignore-scripts --store-dir /tmp/pnpm-clean
1515

1616
WORKDIR /usr/src/app/backend
1717
ARG DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy"

backend/eslint.config.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)