Skip to content

ClashBeast/sewalk-ai

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


โœฆ What is SeWalk AI?

SeWalk AI is a free, multi-persona AI assistant that gives you 5 specialized AI experts in one app โ€” each with its own personality, expertise, and memory. Built from scratch in 2 days by a 16-year-old with zero coding experience, zero budget, and pure passion.

"Not just another chatbot. Five distinct minds. One platform."


๐Ÿค– Meet the 5 Personas

๐Ÿ‹๏ธ

Gym Trainer
Personalized fitness coaching. Remembers your goals, splits & progress across sessions.

๐Ÿ“š

Librarian
Book recommendations, summaries, reading lists. Your personal literary guide.

๐ŸŽต

Music Producer
Beat advice, music theory, artist feedback. Your creative studio partner.

๐Ÿงฎ

JEE Tutor
Indian competitive exam coaching. Physics, Chemistry, Maths โ€” exam ready.

๐ŸŒ™

Companion
Emotional support & daily conversation. Always here, always listening.

โšก Features

โœฆ Multi-persona AI chat          โ€” Switch between 5 expert modes instantly
โœฆ Persistent session memory      โ€” AI remembers your full history per mode  
โœฆ Google Sign In                 โ€” One-click OAuth authentication
โœฆ Secure serverless backend      โ€” API key hidden in Netlify Edge Functions
โœฆ Guest mode                     โ€” 10 free messages, no sign-in required
โœฆ Cognitive Hub                  โ€” Mental exercises & brain games
โœฆ PWA installable                โ€” Add to home screen like a native app
โœฆ Markdown + Math rendering      โ€” Beautiful responses with KaTeX support
โœฆ Auto session naming            โ€” Sessions named from your first message
โœฆ Black & gold premium design    โ€” Luxury UI that feels like a real product

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                     USER BROWSER                        โ”‚
โ”‚                   sewalk-ai.netlify.app                 โ”‚
โ”‚              HTML + CSS + Vanilla JavaScript            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                       โ”‚ fetch('/api/chat')
                       โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚              NETLIFY EDGE FUNCTION                      โ”‚
โ”‚                   chat.js (Deno)                        โ”‚
โ”‚         API key secured โ€” never exposed to browser      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                       โ”‚ HTTPS POST
                       โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚               GOOGLE GEMINI API                         โ”‚
โ”‚            gemini-3.1-flash-lite-preview                โ”‚
โ”‚                  Free tier โœ“                            โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                       
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    SUPABASE                             โ”‚
โ”‚         Auth (Google OAuth + Email/Password)            โ”‚
โ”‚         Database (chat sessions + user data)            โ”‚
โ”‚         Row Level Security (users own their data)       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ› ๏ธ Tech Stack

Layer Technology
Frontend Vanilla HTML, CSS, JavaScript
AI Engine Google Gemini API (Free tier)
Backend Netlify Edge Functions (Deno)
Database & Auth Supabase (PostgreSQL + Auth)
Hosting Netlify (Auto-deploy from GitHub)
Version Control GitHub
Math Rendering KaTeX
Markdown Marked.js
PWA Service Worker + Web Manifest

๐Ÿš€ Deploy Your Own

1. Clone the repo

git clone https://github.com/otedtalks-byte/sewalk-ai.git
cd sewalk-ai

2. Set up Supabase

  • Create a free project at supabase.com
  • Copy your Project URL and Anon Key
  • Enable Google OAuth in Authentication โ†’ Providers

3. Set up Gemini API

4. Deploy to Netlify

  • Connect your GitHub repo to Netlify
  • Set publish directory to public
  • Add environment variable: GEMINI_API_KEY=your_key_here
  • Deploy!

5. Update public/index.html

const SUPABASE_URL = 'your-supabase-url';
const SUPABASE_KEY = 'your-supabase-anon-key';

๐Ÿ“ Project Structure

sewalk-ai/
โ”œโ”€โ”€ netlify/
โ”‚   โ””โ”€โ”€ edge-functions/
โ”‚       โ””โ”€โ”€ chat.js          โ† Secure AI proxy (Gemini API key hidden here)
โ”œโ”€โ”€ public/
โ”‚   โ”œโ”€โ”€ index.html           โ† Entire frontend (2197 lines)
โ”‚   โ”œโ”€โ”€ privacy.html         โ† Privacy Policy
โ”‚   โ””โ”€โ”€ terms.html           โ† Terms of Service
โ”œโ”€โ”€ netlify.toml             โ† Netlify config (edge function routing)
โ””โ”€โ”€ README.md

๐Ÿ”’ Security

  • โœ… API key never exposed โ€” stored in Netlify environment variables, accessed only server-side
  • โœ… CORS protection โ€” only whitelisted domains can call the API
  • โœ… Supabase RLS โ€” Row Level Security ensures users only access their own data
  • โœ… Google OAuth โ€” verified app, no passwords stored
  • โœ… HTTPS everywhere โ€” all traffic encrypted

๐Ÿ“œ Legal


๐Ÿ‘จโ€๐Ÿ’ป Builder

Built with ๐Ÿ’› by Soumyadip Bhatt

16 years old ยท India ๐Ÿ‡ฎ๐Ÿ‡ณ ยท Zero coding background ยท Zero budget ยท 2 days

"I built this alone, with curiosity, patience, and passion."




โญ If you found this useful, drop a star! โญ


ยฉ 2026 SeWalk AI ยท Operated by Soumyadip Bhatt ยท India

About

SeWalk AI โ€” A free, multi-persona AI assistant with 5 specialized modes: Gym Trainer, Librarian, Music Producer, JEE Tutor & Companion. Also Have some Cognitive Games to train your Brain. Built with API, Supabase auth, and a secure serverless backend. ๐Ÿš€

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 98.4%
  • JavaScript 1.6%