SudoRanjith commited on
Commit
2566e93
Β·
1 Parent(s): 80622b7

initial commit

Browse files
.dockerignore ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ __pycache__/
2
+ *.pyc
3
+ *.log
4
+ venv/
5
+ .git
6
+ .env
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Base image
2
+ FROM python:3.11-slim
3
+
4
+ # Set working directory
5
+ WORKDIR /code
6
+
7
+ # Copy and install dependencies
8
+ COPY requirements.txt .
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Copy your app files
12
+ COPY . .
13
+
14
+ # Expose port (Hugging Face expects 7860)
15
+ EXPOSE 7860
16
+
17
+ # Run FastAPI app
18
+ CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
README.md ADDED
@@ -0,0 +1 @@
 
 
1
+ uvicorn app.main:app --reload
app/__init__.py ADDED
File without changes
app/__pycache__/__init__.cpython-313.pyc ADDED
Binary file (143 Bytes). View file
 
app/__pycache__/main.cpython-313.pyc ADDED
Binary file (2.25 kB). View file
 
app/main.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from fastapi import FastAPI, Request
2
+ from fastapi.responses import HTMLResponse
3
+ from fastapi.staticfiles import StaticFiles
4
+ from fastapi.templating import Jinja2Templates
5
+ import os
6
+
7
+ app = FastAPI(title="Ranjith Portfolio")
8
+
9
+ # Static files (CSS, JS, images)
10
+ app.mount("/static", StaticFiles(directory="app/static"), name="static")
11
+
12
+ # Templates folder
13
+ templates = Jinja2Templates(directory="app/templates")
14
+
15
+
16
+ @app.get("/", response_class=HTMLResponse)
17
+ async def home(request: Request):
18
+ """Landing page"""
19
+ return templates.TemplateResponse("index.html", {"request": request, "title": "Home"})
20
+
21
+
22
+ @app.get("/projects", response_class=HTMLResponse)
23
+ async def projects(request: Request):
24
+ """Projects page"""
25
+ return templates.TemplateResponse("projects.html", {"request": request, "title": "Projects"})
26
+
27
+
28
+ @app.get("/chatbot", response_class=HTMLResponse)
29
+ async def chatbot_page(request: Request):
30
+ """Chatbot demo page"""
31
+ return templates.TemplateResponse("chatbot.html", {"request": request, "title": "Chatbot"})
32
+
33
+
34
+ @app.get("/resume", response_class=HTMLResponse)
35
+ async def resume_page(request: Request):
36
+ """Resume page (download button will be wired later)"""
37
+ return templates.TemplateResponse("resume.html", {"request": request, "title": "Resume"})
38
+
39
+
40
+ if __name__ == "__main__":
41
+ import uvicorn
42
+
43
+ port = int(os.environ.get("PORT", 8000))
44
+ uvicorn.run(app, port=port)
app/models/__init__.py ADDED
File without changes
app/routes/__init__.py ADDED
File without changes
app/routes/chatbot.py ADDED
File without changes
app/routes/contact.py ADDED
File without changes
app/routes/resume.py ADDED
File without changes
app/routes/ui.py ADDED
File without changes
app/services/__init__.py ADDED
File without changes
app/services/llm_service.py ADDED
File without changes
app/services/notify_service.py ADDED
File without changes
app/services/rag_pipeline.py ADDED
File without changes
app/services/s3_service.py ADDED
File without changes
app/static/css/style.css ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ @keyframes ripple {
3
+ 0% {
4
+ transform: scale(1);
5
+ opacity: 0.8;
6
+ }
7
+ 70% {
8
+ transform: scale(2.5);
9
+ opacity: 0;
10
+ }
11
+ 100% {
12
+ transform: scale(2.5);
13
+ opacity: 0;
14
+ }
15
+ }
16
+
17
+ .timeline-dot {
18
+ position: relative;
19
+ width: 1.5rem; /* 24px */
20
+ height: 1.5rem;
21
+ background-color: #4f46e5; /* Indigo */
22
+ border: 4px solid white;
23
+ border-radius: 9999px; /* Full circle */
24
+ z-index: 10;
25
+ }
26
+
27
+ .timeline-dot::after {
28
+ content: '';
29
+ position: absolute;
30
+ top: -4px;
31
+ left: -4px;
32
+ width: 100%;
33
+ height: 100%;
34
+ border-radius: 9999px;
35
+ border: 2px solid #4f46e5;
36
+ animation: ripple 2s infinite;
37
+ }
app/static/img/ai_banner1.png ADDED
app/static/img/favicon.png ADDED
app/static/js/carousel.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ let index = 0;
2
+ const carousel = document.getElementById("carousel");
3
+ const images = carousel.children;
4
+ setInterval(() => {
5
+ index = (index + 1) % images.length;
6
+ carousel.style.transform = `translateX(-${index * 100}%)`;
7
+ }, 3000);
8
+
app/static/js/chatbot.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ async function sendMessage() {
2
+ const input = document.getElementById("userInput").value;
3
+ const response = await fetch("/chat", {
4
+ method: "POST",
5
+ headers: {"Content-Type": "application/json"},
6
+ body: JSON.stringify({ message: input })
7
+ });
8
+ const data = await response.json();
9
+ const chatLog = document.getElementById("chatLog");
10
+ chatLog.innerHTML += `<p><b>You:</b> ${input}</p>`;
11
+ chatLog.innerHTML += `<p><b>Bot:</b> ${data.reply}</p>`;
12
+ }
13
+
14
+ async function downloadResume() {
15
+ const res = await fetch("/resume/download");
16
+ const blob = await res.blob();
17
+ const url = window.URL.createObjectURL(blob);
18
+ const a = document.createElement("a");
19
+ a.href = url;
20
+ a.download = "Ranjith_Resume.pdf";
21
+ a.click();
22
+ document.getElementById("status").innerText = "βœ… Resume downloaded!";
23
+ }
app/static/js/resume.js ADDED
File without changes
app/templates/base.html ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>{{ title }} | Ranjith Portfolio</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/img/favicon.png">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+
10
+ <style>
11
+ .gooey {
12
+ position: absolute;
13
+ width: 20rem; /* w-96 equivalent */
14
+ height: 20rem; /* h-96 equivalent */
15
+ background-image: linear-gradient(120deg, #34e0f0 0%, #b400ff 100%);
16
+ border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
17
+ animation: morph 6s linear infinite;
18
+ transform-style: preserve-3d;
19
+ outline: 1px solid transparent;
20
+ will-change: border-radius, transform;
21
+ z-index: -1; /* make sure blob is behind image */
22
+ /* filter: blur(10px); optional glow */
23
+ bottom: -21px;
24
+ }
25
+
26
+ .gooey::before,
27
+ .gooey::after {
28
+ content: '';
29
+ position: absolute;
30
+ inset: 0;
31
+ border-radius: inherit;
32
+ background-image: inherit;
33
+ opacity: 0.6;
34
+ animation: morph 6s linear infinite;
35
+ }
36
+
37
+ .gooey::after {
38
+ animation-delay: 3s;
39
+ }
40
+
41
+ @keyframes morph {
42
+ 0%, 100% {
43
+ border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
44
+ transform: scale(1);
45
+ }
46
+ 33% {
47
+ border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
48
+ transform: scale(1.05);
49
+ }
50
+ 66% {
51
+ border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
52
+ transform: scale(0.95);
53
+ }
54
+ }
55
+ </style>
56
+
57
+
58
+ </head>
59
+ <body class="bg-gray-50 text-gray-900">
60
+
61
+ <!-- HEADER -->
62
+ <header class="bg-gradient-to-r from-indigo-600 to-purple-600 text-white shadow-md">
63
+ <div class="container mx-auto flex justify-between items-center py-4 px-6">
64
+ <h1 class="text-2xl font-bold">Ranjith Portfolio</h1>
65
+ <nav class="space-x-6">
66
+ <a href="/" class="hover:text-yellow-300">Home</a>
67
+ <a href="/projects" class="hover:text-yellow-300">Projects</a>
68
+ <a href="/chatbot" class="hover:text-yellow-300">Chatbot</a>
69
+ <a href="/resume" class="hover:text-yellow-300">Resume</a>
70
+ </nav>
71
+ </div>
72
+ </header>
73
+
74
+ <!-- SCROLLING BANNER -->
75
+ <!-- <section class="relative w-full overflow-hidden">
76
+ <div id="carousel" class="flex transition-transform duration-500">
77
+ <img src="/static/img/ai_banner1.png" class="w-full h-64 md:h-80 object-cover">
78
+ <img src="/static/img/ai_banner2.jpg" class="w-full h-64 md:h-80 object-cover">
79
+ <img src="/static/img/ai_banner3.jpg" class="w-full h-64 md:h-80 object-cover">
80
+ </div>
81
+ </section> -->
82
+
83
+
84
+ <!-- MAIN CONTENT -->
85
+ <main class="container mx-auto px-6 py-10">
86
+ {% block content %}{% endblock %}
87
+ </main>
88
+
89
+ <!-- FOOTER -->
90
+ <footer class="bg-gray-900 text-gray-200 py-6 text-center">
91
+ <p>Β© 2025 Ranjith | Built with FastAPI + TailwindCSS</p>
92
+ </footer>
93
+
94
+ <script src="/static/js/carousel.js"></script>
95
+ <script src="/static/js/chatbot.js"></script>
96
+ <script src="https://unpkg.com/alpinejs" defer></script>
97
+
98
+ </body>
99
+ </html>
100
+
101
+
app/templates/chatbot.html ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {% extends "base.html" %}
2
+ {% block content %}
3
+ <h1>Chatbot Demo</h1>
4
+ <div id="chatbox">
5
+ <textarea id="userInput" placeholder="Ask about me..."></textarea>
6
+ <button onclick="sendMessage()">Send</button>
7
+ <div id="chatLog"></div>
8
+ </div>
9
+ {% endblock %}
app/templates/index.html ADDED
@@ -0,0 +1,364 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% extends "base.html" %}
2
+ {% block content %}
3
+
4
+ <!-- HERO -->
5
+ <section class="py-20 ">
6
+
7
+ <div class="container mx-auto flex flex-col md:flex-row items-center justify-between px-6">
8
+
9
+ <!-- LEFT: Info -->
10
+ <div class="md:w-1/2 text-center md:text-left mb-10 md:mb-0">
11
+ <h1 class="text-5xl font-bold mb-4 text-black">Hi, I'm Ranjith</h1>
12
+ <p class="text-xl mb-6 text-black">AI Engineer | Backend | GenAI | MLOps</p>
13
+ <div class="space-x-4">
14
+ <a href="#projects" class="bg-yellow-400 text-black px-6 py-3 rounded shadow hover:bg-yellow-300 text-black">See Projects</a>
15
+ <a href="#resume" class="bg-white text-indigo-700 px-6 py-3 rounded shadow hover:bg-gray-200 text-black">Download Resume</a>
16
+ </div>
17
+ </div>
18
+
19
+ <!-- Profile with Morphing Blob -->
20
+ <div class="md:w-1/2 relative flex justify-center">
21
+ <div class="gooey"></div>
22
+ <img src="/static/img/profile.png"
23
+ alt="Ranjith Profile"
24
+ class="relative w-72 h-72 rounded-full border-4 border-white shadow-xl object-cover object-top">
25
+ </div>
26
+
27
+ </div>
28
+ </section>
29
+
30
+
31
+ <!-- ABOUT -->
32
+ <section id="about" class="py-16 container mx-auto px-6">
33
+ <h2 class="text-3xl font-bold mb-6 text-center">About Me</h2>
34
+ <p class="text-lg max-w-3xl mx-auto text-center">
35
+ AI Engineer with <b>6+ years of experience</b> in Python, backend systems, and data pipelines β€”
36
+ now focused on <b>GenAI, RAG systems, and MLOps</b>. Skilled in designing scalable APIs,
37
+ cloud-native AI solutions, and automation workflows on AWS. Awarded
38
+ <i>"Distinct Contributor"</i> for outstanding performance at Happiest Minds.
39
+ </p>
40
+ </section>
41
+
42
+ <!-- TIMELINE -->
43
+ <section id="timeline" class="py-16 container mx-auto px-6">
44
+ <h2 class="text-3xl font-bold mb-12 text-center">My Journey</h2>
45
+
46
+ <div class="relative">
47
+ <!-- Vertical line -->
48
+ <div class="absolute left-1/2 transform -translate-x-1/2 h-full border-l-4 border-indigo-600"></div>
49
+
50
+ <div class="space-y-16">
51
+
52
+ <!-- Happiest Minds -->
53
+ <div class="relative flex items-center w-full">
54
+ <div class="w-1/2 pr-8 text-right">
55
+ <div class="bg-white p-6 shadow rounded">
56
+ <h3 class="text-xl font-bold">πŸ’Ό Senior Software Engineer</h3>
57
+ <p class="text-gray-600 text-sm">Dec 2022 – Present</p>
58
+ <p class="text-gray-700">Happiest Minds | Bengaluru</p>
59
+ <ul class="list-disc list-inside text-sm text-gray-700 mt-2">
60
+ <li>Built REST APIs with Flask & FastAPI</li>
61
+ <li>Developed AWS Lambda for energy monitoring</li>
62
+ <li>Optimized ETL pipelines with AWS EC2 + S3</li>
63
+ <li>Awarded <b>"Distinct Contributor"</b></li>
64
+ </ul>
65
+ </div>
66
+ </div>
67
+ <div class="absolute left-1/2 transform -translate-x-1/2">
68
+ <div class="w-6 h-6 bg-indigo-600 rounded-full border-4 border-white"></div>
69
+ </div>
70
+ <div class="w-1/2"></div>
71
+ </div>
72
+
73
+ <!-- Brillersys -->
74
+ <div class="relative flex items-center w-full">
75
+ <div class="w-1/2"></div>
76
+ <div class="absolute left-1/2 transform -translate-x-1/2">
77
+ <div class="w-6 h-6 bg-indigo-600 rounded-full border-4 border-white"></div>
78
+ </div>
79
+ <div class="w-1/2 pl-8 text-left">
80
+ <div class="bg-white p-6 shadow rounded">
81
+ <h3 class="text-xl font-bold">πŸ’Ό Software Engineer Consultant</h3>
82
+ <p class="text-gray-600 text-sm">Mar 2020 – Dec 2022</p>
83
+ <p class="text-gray-700">Brillersys | Coimbatore</p>
84
+ <ul class="list-disc list-inside text-sm text-gray-700 mt-2">
85
+ <li>Built REST APIs with Flask, SQL Server & PostgreSQL</li>
86
+ <li>Developed ETL pipelines in Python</li>
87
+ <li>Implemented ELK Stack for log analytics</li>
88
+ </ul>
89
+ </div>
90
+ </div>
91
+ </div>
92
+
93
+ <!-- Datinfi -->
94
+ <div class="relative flex items-center w-full">
95
+ <div class="w-1/2 pr-8 text-right">
96
+ <div class="bg-white p-6 shadow rounded">
97
+ <h3 class="text-xl font-bold">πŸ’Ό Junior Product Dev Engineer</h3>
98
+ <p class="text-gray-600 text-sm">Dec 2018 – Jan 2020</p>
99
+ <p class="text-gray-700">Datinfi Pvt. Ltd. | Coimbatore</p>
100
+ <ul class="list-disc list-inside text-sm text-gray-700 mt-2">
101
+ <li>Developed REST APIs with Flask & MongoDB</li>
102
+ <li>Automated testing with Selenium</li>
103
+ <li>Scraped e-commerce data with Scrapy</li>
104
+ </ul>
105
+ </div>
106
+ </div>
107
+ <div class="absolute left-1/2 transform -translate-x-1/2">
108
+ <div class="w-6 h-6 bg-indigo-600 rounded-full border-4 border-white"></div>
109
+ </div>
110
+ <div class="w-1/2"></div>
111
+ </div>
112
+
113
+ <!-- MCA -->
114
+ <div class="relative flex items-center w-full">
115
+ <div class="w-1/2"></div>
116
+ <div class="absolute left-1/2 transform -translate-x-1/2">
117
+ <div class="w-6 h-6 bg-indigo-600 rounded-full border-4 border-white"></div>
118
+ </div>
119
+ <div class="w-1/2 pl-8 text-left">
120
+ <div class="bg-white p-6 shadow rounded">
121
+ <h3 class="text-xl font-bold">πŸŽ“ MCA</h3>
122
+ <p class="text-gray-600 text-sm">2016 – 2018</p>
123
+ <p class="text-gray-700">Professional Group of Institutions, Tirupur</p>
124
+ </div>
125
+ </div>
126
+ </div>
127
+
128
+ <!-- B.Sc. IT -->
129
+ <div class="relative flex items-center w-full">
130
+ <div class="w-1/2 pr-8 text-right">
131
+ <div class="bg-white p-6 shadow rounded">
132
+ <h3 class="text-xl font-bold">πŸŽ“ B.Sc. IT</h3>
133
+ <p class="text-gray-600 text-sm">2013 – 2016</p>
134
+ <p class="text-gray-700">Parks College, Tirupur</p>
135
+ </div>
136
+ </div>
137
+ <div class="absolute left-1/2 transform -translate-x-1/2">
138
+ <div class="w-6 h-6 bg-indigo-600 rounded-full border-4 border-white "></div>
139
+ </div>
140
+ <div class="w-1/2"></div>
141
+ </div>
142
+
143
+ </div>
144
+ </div>
145
+ </section>
146
+
147
+
148
+ <!-- SKILLS -->
149
+ <section id="skills" class="py-16 container mx-auto px-6">
150
+ <h2 class="text-3xl font-bold mb-12 text-center">Skills</h2>
151
+
152
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
153
+
154
+ <!-- AI/ML & GenAI -->
155
+ <div class="bg-white p-6 shadow rounded transition transform hover:-translate-y-2 hover:shadow-xl duration-300">
156
+ <h3 class="text-xl font-bold mb-4 flex items-center text-indigo-600">
157
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
158
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4v16m8-8H4"/>
159
+ </svg>
160
+ AI & Machine Learning
161
+ </h3>
162
+ <ul class="space-y-2">
163
+ <li class="flex items-center">
164
+ <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/python/python-original.svg" class="w-6 h-6 mr-2"/> Python, Pandas, Numpy
165
+ </li>
166
+ <li class="flex items-center">
167
+ <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/pytorch/pytorch-original.svg" class="w-6 h-6 mr-2"/> PyTorch, TensorFlow, Keras
168
+ </li>
169
+ <li class="flex items-center">
170
+ <img src="https://img.icons8.com/external-flat-juicy-fish/60/external-ai-artificial-intelligence-flat-flat-juicy-fish.png" class="w-6 h-6 mr-2"/> Machine Learning, Deep Learning, NLP
171
+ </li>
172
+ <li class="flex items-center">
173
+ <img src="https://img.icons8.com/?size=100&id=61466&format=png&color=000000" class="w-6 h-6 mr-2"/> GenAI, Agentic AI
174
+ </li>
175
+ <li class="flex items-center">
176
+ <img src="https://img.icons8.com/color/48/artificial-intelligence.png" class="w-6 h-6 mr-2"/> LangChain, LangGraph
177
+ </li>
178
+ </ul>
179
+ </div>
180
+
181
+ <!-- AWS & Cloud -->
182
+ <div class="bg-white p-6 shadow rounded transition transform hover:-translate-y-2 hover:shadow-xl duration-300">
183
+ <h3 class="text-xl font-bold mb-4 flex items-center text-indigo-600">
184
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
185
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 7v4a1 1 0 001 1h3m10 0h3a1 1 0 001-1V7m-5 10v4m0-4a1 1 0 011-1h2m-6 0h2m-6 0h2m-6 0h2m-6 0h2"/>
186
+ </svg>
187
+ AWS & Cloud
188
+ </h3>
189
+ <ul class="space-y-2">
190
+ <li class="flex items-center">
191
+ <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/amazonwebservices/amazonwebservices-original.svg" class="w-6 h-6 mr-2"/> EC2, S3, RDS, DynamoDB
192
+ </li>
193
+ <li class="flex items-center">
194
+ <img src="https://img.icons8.com/color/48/amazon-lambda.png" class="w-6 h-6 mr-2"/> AWS Lambda, API Gateway
195
+ </li>
196
+ <li class="flex items-center">
197
+ <img src="https://img.icons8.com/fluency/48/artificial-intelligence.png" class="w-6 h-6 mr-2"/> Bedrock, SageMaker
198
+ </li>
199
+ <li class="flex items-center">
200
+ <img src="https://img.icons8.com/color/48/cloud.png" class="w-6 h-6 mr-2"/> CloudWatch, VPC, Subnets
201
+ </li>
202
+ <li class="flex items-center">
203
+ <img src="https://img.icons8.com/ios-filled/50/lock--v1.png" class="w-6 h-6 mr-2"/> IAM, Vault, Security Groups
204
+ </li>
205
+ </ul>
206
+ </div>
207
+
208
+ <!-- Programming & Tools -->
209
+ <div class="bg-white p-6 shadow rounded transition transform hover:-translate-y-2 hover:shadow-xl duration-300">
210
+ <h3 class="text-xl font-bold mb-4 flex items-center text-indigo-600">
211
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
212
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19V6h13M9 6l-6 6 6 6"/>
213
+ </svg>
214
+ Programming & Tools
215
+ </h3>
216
+ <ul class="space-y-2">
217
+ <li class="flex items-center">
218
+ <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/flask/flask-original.svg" class="w-6 h-6 mr-2"/> Flask, FastAPI
219
+ </li>
220
+ <li class="flex items-center">
221
+ <img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/postgresql/postgresql-original.svg" class="w-6 h-6 mr-2"/> PostgreSQL
222
+ </li>
223
+ <li class="flex items-center">
224
+ <img src="https://img.icons8.com/ios-glyphs/30/workflow.png" class="w-6 h-6 mr-2"/> ETL Pipelines, Data Automation
225
+ </li>
226
+ </ul>
227
+ </div>
228
+
229
+ </div>
230
+ </section>
231
+
232
+ <!-- PROJECTS -->
233
+ <section id="projects" class="py-16 container mx-auto px-6" x-data="{ tab: 'ml' }">
234
+ <h2 class="text-3xl font-bold mb-12 text-center">FinTech & Banking Projects</h2>
235
+
236
+ <!-- Category Tabs -->
237
+ <div class="flex justify-center space-x-4 mb-10">
238
+ <button @click="tab = 'ml'" :class="tab === 'ml' ? 'bg-indigo-600 text-white' : 'bg-gray-200 text-gray-800'" class="px-4 py-2 rounded">Machine Learning</button>
239
+ <button @click="tab = 'dl'" :class="tab === 'dl' ? 'bg-indigo-600 text-white' : 'bg-gray-200 text-gray-800'" class="px-4 py-2 rounded">Deep Learning</button>
240
+ <button @click="tab = 'nlp'" :class="tab === 'nlp' ? 'bg-indigo-600 text-white' : 'bg-gray-200 text-gray-800'" class="px-4 py-2 rounded">NLP</button>
241
+ <button @click="tab = 'genai'" :class="tab === 'genai' ? 'bg-indigo-600 text-white' : 'bg-gray-200 text-gray-800'" class="px-4 py-2 rounded">Generative AI</button>
242
+ <!-- <button @click="tab = 'agentic'" :class="tab === 'agentic' ? 'bg-indigo-600 text-white' : 'bg-gray-200 text-gray-800'" class="px-4 py-2 rounded">Agentic AI</button> -->
243
+ </div>
244
+
245
+ <!-- Projects Grid -->
246
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
247
+
248
+ <!-- ML Projects -->
249
+ <div x-show="tab === 'ml'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
250
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Credit Risk Scoring System</h3>
251
+ <p class="text-gray-700 mb-3">ML model predicting loan default probability from financial & demographic data.</p>
252
+ <p class="text-sm text-gray-600"><b>Tech:</b> Python, Scikit-learn, Pandas, SQL</p>
253
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Imbalanced datasets, explainability</p>
254
+ <p class="text-sm text-gray-600"><b>Next:</b> Feature drift monitoring, credit bureau APIs</p>
255
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
256
+ </div>
257
+
258
+ <div x-show="tab === 'ml'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
259
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Customer Lifetime Value Prediction</h3>
260
+ <p class="text-gray-700 mb-3">Regression-based ML for long-term revenue forecasting of customers.</p>
261
+ <p class="text-sm text-gray-600"><b>Tech:</b> Python, XGBoost, Power BI</p>
262
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Sparse data, new customer forecasting</p>
263
+ <p class="text-sm text-gray-600"><b>Next:</b> Deep learning time-series, CRM integration</p>
264
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
265
+ </div>
266
+
267
+ <!-- DL Projects -->
268
+ <div x-show="tab === 'dl'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
269
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Fraud Transaction Detection</h3>
270
+ <p class="text-gray-700 mb-3">Real-time fraud detection system using deep learning anomaly detection.</p>
271
+ <p class="text-sm text-gray-600"><b>Tech:</b> Python, TensorFlow/PyTorch, Kafka</p>
272
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Rare fraud patterns, low latency detection</p>
273
+ <p class="text-sm text-gray-600"><b>Next:</b> Graph neural networks for fraud networks</p>
274
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
275
+ </div>
276
+
277
+ <div x-show="tab === 'dl'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
278
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Document OCR & Verification</h3>
279
+ <p class="text-gray-700 mb-3">OCR pipeline to validate cheques, ID proofs, and KYC docs.</p>
280
+ <p class="text-sm text-gray-600"><b>Tech:</b> Python, OpenCV, PyTorch, FastAPI</p>
281
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Low-quality scans, accuracy across formats</p>
282
+ <p class="text-sm text-gray-600"><b>Next:</b> Multilingual OCR, Transformer-based models</p>
283
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
284
+ </div>
285
+
286
+ <!-- NLP Projects -->
287
+ <div x-show="tab === 'nlp'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
288
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Customer Support Chatbot</h3>
289
+ <p class="text-gray-700 mb-3">NLP chatbot automating banking queries like balance inquiry & loan status.</p>
290
+ <p class="text-sm text-gray-600"><b>Tech:</b> Hugging Face, Rasa, FastAPI</p>
291
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Domain-specific financial terminology</p>
292
+ <p class="text-sm text-gray-600"><b>Next:</b> Voice queries, multilingual support</p>
293
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
294
+ </div>
295
+
296
+ <div x-show="tab === 'nlp'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
297
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Financial News Sentiment Analysis</h3>
298
+ <p class="text-gray-700 mb-3">Classifies financial news as positive, negative, or neutral for trading.</p>
299
+ <p class="text-sm text-gray-600"><b>Tech:</b> Transformers, NLTK, Pandas</p>
300
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Sarcasm, dataset labeling</p>
301
+ <p class="text-sm text-gray-600"><b>Next:</b> Twitter/X feeds, trading bot integration</p>
302
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
303
+ </div>
304
+
305
+ <!-- GenAI Projects -->
306
+ <div x-show="tab === 'genai'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
307
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">RAG-based Banking Document Assistant</h3>
308
+ <p class="text-gray-700 mb-3">GenAI RAG system for compliance, KYC, and policy-related queries.</p>
309
+ <p class="text-sm text-gray-600"><b>Tech:</b> LangChain, LLMs, FAISS</p>
310
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Financial jargon embeddings</p>
311
+ <p class="text-sm text-gray-600"><b>Next:</b> Conversational memory, system integration</p>
312
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
313
+ </div>
314
+
315
+ <div x-show="tab === 'genai'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
316
+ <!-- <div x-show="tab === 'agentic'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300"> -->
317
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">AI Dividend Screener Agent</h3>
318
+ <p class="text-gray-700 mb-3">Agentic AI recommending dividend stocks for investors.</p>
319
+ <p class="text-sm text-gray-600"><b>Tech:</b> LangChain Agents, OpenAI, yFinance</p>
320
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Real-time stock data, balancing strategies</p>
321
+ <p class="text-sm text-gray-600"><b>Next:</b> Portfolio optimization, predictive analytics</p>
322
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
323
+ </div>
324
+
325
+
326
+ <!-- Agentic Projects -->
327
+ <!-- <div x-show="tab === 'agentic'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
328
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Fraud Investigation AI Agent</h3>
329
+ <p class="text-gray-700 mb-3">Multi-agent system analyzing suspicious transactions with explainability.</p>
330
+ <p class="text-sm text-gray-600"><b>Tech:</b> LangChain Agents, Neo4j, FastAPI</p>
331
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Complex fraud networks, reasoning</p>
332
+ <p class="text-sm text-gray-600"><b>Next:</b> Graph neural networks, proactive alerts</p>
333
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
334
+ </div> -->
335
+
336
+ <!-- <div x-show="tab === 'genai'" class="bg-white p-6 rounded-xl shadow-lg hover:shadow-2xl transition duration-300">
337
+ <h3 class="text-xl font-bold text-indigo-700 mb-2">Loan Agreement Summarizer</h3>
338
+ <p class="text-gray-700 mb-3">GenAI tool converting loan agreements into concise summaries.</p>
339
+ <p class="text-sm text-gray-600"><b>Tech:</b> Hugging Face, LangChain, FastAPI</p>
340
+ <p class="text-sm text-gray-600"><b>Challenges:</b> Legal accuracy in summarization</p>
341
+ <p class="text-sm text-gray-600"><b>Next:</b> Multi-language support, compliance fine-tuning</p>
342
+ <a href="#" class="inline-block mt-3 text-indigo-600 font-medium hover:underline">Demo Link β†’</a>
343
+ </div> -->
344
+
345
+
346
+ </div>
347
+ </section>
348
+
349
+
350
+ <!-- RESUME -->
351
+ <section id="resume" class="py-16 bg-gray-100 text-center">
352
+ <h2 class="text-3xl font-bold mb-4">πŸ“„ Resume</h2>
353
+
354
+ <a href="/static/resume/Ranjith_6_Yrs_Python_Datascience.pdf"
355
+ download="Ranjith_6_Yrs_Python_AI_Engineer.pdf"
356
+ class="bg-green-500 hover:bg-green-600 text-white px-6 py-3 rounded-lg shadow-md inline-block">
357
+ Download Resume
358
+ </a>
359
+ </section>
360
+
361
+
362
+
363
+ {% endblock %}
364
+
app/templates/projects.html ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {% extends "base.html" %}
2
+ {% block content %}
3
+ <h1>Projects</h1>
4
+ <ul>
5
+ <li>πŸ“Œ RAG-enabled Resume Chatbot</li>
6
+ <li>πŸ“Œ Resume Download + WhatsApp Notification</li>
7
+ <li>πŸ“Œ AI/ML Model Experiments</li>
8
+ </ul>
9
+ {% endblock %}
app/templates/resume.html ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% extends "base.html" %}
2
+ {% block content %}
3
+ <h1>Resume</h1>
4
+ <p>You can download my resume below:</p>
5
+ <button onclick="downloadResume()">Download Resume</button>
6
+ <div id="status"></div>
7
+ {% endblock %}
app/utils/__init__.py ADDED
File without changes
docker-compose.yml ADDED
File without changes
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ fastapi
2
+ uvicorn
3
+ jinja2
4
+ python-multipart