subh05sus avatar

ai-tutor

0 subscribers
TypeScriptCSSJavaScript

Created Sep 2025

Live activities

On main, subh05sus added a full suite of landing-page React components—FeaturesMain/Feature73, Footer2, Hero47, OurProcess/Process1, Pricing4, RateCard2, Service1, Services4, StatsSection and a Logo component with brand-asset downloads—to showcase features, pricing and services. They also removed the ADMIN_ACCESS.md guide, renamed “SparkTutor” to “SparkMentor” across docs, and refactored the admin knowledge-base page with improved ingestion, testing and auditing workflows.

feat: Implement RAG knowledge base

  • Added POST endpoint for uploading and processing files to the knowledge base.
  • Implemented user authentication and authorization checks to ensure only admin users can upload files.
  • Supported file types: .txt, .pdf, .docx with content extraction and embedding generation.
  • Integrated content extraction utilities for various file formats.
  • Enhanced error handling for file processing and extraction failures.

chore: Add blacklisted selectors and domain blacklist for web scraping

  • Created a comprehensive list of selectors to blacklist during web scraping to avoid non-content elements.
  • Implemented domain blacklist to prevent scraping from known heavy or restricted sources.

feat: Develop recursive URL crawler with worker threads

  • Implemented a recursive URL crawler that extracts and crawls URLs from web pages up to a specified depth.
  • Added support for domain prioritization, link frequency sorting, and blacklist filtering.
  • Utilized worker threads for concurrent URL fetching to improve performance.

refactor: Enhance vector utilities for embedding dimensions

  • Added utility functions to ensure vector dimensions and normalize vectors for embedding processing.

fix: Improve error handling in crawl-fetch worker

  • Enhanced error handling in the crawl-fetch worker to manage fetch timeouts and HTTP errors more effectively.

chore: Add TypeScript definitions for external libraries

  • Added TypeScript definitions for mammoth and pdfjs-dist to improve type safety in file parsing utilities.
pushed
subh05sus/ai-tutor4 months
subh05sus

subh05sus pushed several new features and refinements to the main branch: they added a RAG knowledge-base API with admin-only file uploads (TXT/PDF/DOCX), extraction and embedding generation, plus an enhanced web-scraping blacklist for selectors and domains. They also introduced a recursive URL crawler using worker threads, refactored vector utilities for embedding dimensions and normalization, improved error handling in the crawl-fetch worker, and added TypeScript definitions for external parsing libraries.

On main, subh05sus updated the Prisma dependency to v6.18.0 and reordered the lucide-react entry in package.json for cleaner dependency management.

subh05sus pushed a set of orchestration improvements—adding context-window diagnostics, badges and info-tooltips in the chat UI, richer orchestration summaries (intent, subject, confidence, rationale), and an expanded prompt manager—and also bumped the free subscription tier’s daily limit to 100. No other contributors were involved in this “improve: orc.” update.

subh05sus pushed a feature merge on main that integrates Socratic dialogue instructions into the tutoring agents and orchestrator. The update refactors chat-creation into a multi-step transaction with proper orchestrator calls (and fallback messaging), adds redirect behavior for new chats, updates branding from “AI Tutor” to “SparkTutor” across the UI, and tidies up some package-lock dependency flags.

subh05sus pushed a major feature update to main, adding a full Prompt Manager with CRUD UI and authenticated API routes, Redis-backed conversation memory, and a LangGraph-powered orchestrator that handles entity extraction, intent classification, and LLM-driven responses with session validation middleware. They also updated the README and .env example for LLM configuration and added TypeScript definitions for nodemailer.

On branch main, subh05sus added subscription tiers (free and pro) by defining tier settings, creating a middleware chain to enforce daily chat‐message limits, and plugging it into the chat API route. They also updated the Prisma schema to include a subscriptionTier field and adjusted the dashboard link.

subh05sus pushed a feature to the main branch that overhauls the chat layout and sidebar by introducing a new ChatLayoutShell component (powered by Framer Motion), tightening up state management in the composer, and refining API route parameter handling. The update also simplifies page structure—removing unused loading flags, improving auto-scroll behavior, and adding middleware placeholders in the message endpoint.

subh05sus refactored the chat API on main, adding session-validated GET routes, enhanced POST handling for user and assistant messages (with optimistic UI and attachment support), and updated types for clarity. They also introduced a ChatDirectoryProvider for real-time chat list management and revamped UI components like ChatSidebar, ChatDetailPage and NewChatPage for smoother message rendering and state synchronization.

subh05sus pushed a major chat feature: they added GET/POST API endpoints for fetching chats, creating new chats with messages and attachments, and sending messages (including file upload with validation and storage). They also updated .gitignore, README, and the database schema for attachments, and built out the frontend chat pages and sidebar for a smoother user experience.

pushed
subh05sus/ai-tutor5 months
subh05sus

subh05sus pushed to master, enhancing the registration page with Sonner toast notifications for success, errors, and validation (including COPPA checks) and wired up a global SonnerToaster in the app layout. They also cleaned up imports/formatting and improved error‐handling by aggregating Zod validation issues into user‐friendly messages.

subh05sus pushed a feature update to the master branch, enhancing the HomePage with pricing plans (monthly/annual toggle), user testimonials, and an FAQ section. They also added smooth scrolling, a sticky header, new icons, tabs, and accordion components for a richer, more interactive UI.

subh05sus pushed a set of foundational features to master, including database setup (.env.example), NextAuth­-based authentication, parental consent (COPPA) workflows, and user profile management. The commit also introduces detailed AI agent instructions, design guidelines, and corresponding API routes for auth, consent, and profile endpoints.

subh05sus initialized the repo from Create Next App and then pushed a major update implementing a fully featured Sidebar component—complete with collapsible/“offcanvas” modes, mobile support, keyboard shortcut (⌘/Ctrl +B), and persistent state cookie—alongside a revamped globals.css packed with Tailwind CSS custom variables (including dark-mode variants). They also set up shadcn’s components.json, wired in Sonner toast notifications, added a useIsMobile hook and a suite of UI primitives (Skeleton, Slider, Switch, Table, Tabs, Textarea, ToggleGroup, Tooltip, and utility cn function) to jump-start the design system.

- End of feed -