How kshitijsawant1/refynix---empowering-data-enhancing-intelligence works
HackSpark is a React AI-tools portal: users enter through the routed app, choose a capability, submit content or a question, and view generated summaries, translations, moderation suggestions, or guidance. The main workflow is route-driven; individual feature components call Gemini directly, while web and PDF extraction also use external services. The graph includes the landing/catalog and governance branches documented by the routes and component names. Source excerpts are partial, so unsampled behaviors and unshown connections are omitted.
Main entry points: App.jsx App Router · main.jsx React Bootstrap · WebScarpingandSummarization.jsx Web Summarization · PdfScrapingandSummarization.jsx PDF Summarization
Components 19
Portal and Navigation
- React Bootstrap
src/main.jsx - App Router
src/App.jsx - Navigation Bar
src/components/Navbar.jsx - Landing Page
src/components/LandingPage.jsx - Gallery
src/components/Gallery.jsx - Agent Catalog
src/components/Card.jsx - Text View
src/components/Text.jsx
Content Processing
- Web Summarization
src/components/WebScarpingandSummarization.jsx - PDF Summarization
src/components/PdfScrapingandSummarization.jsx - Content Moderation
src/components/ContentModeration.jsx
Developer Tools
- Code Summarization
src/components/CodeSummarization.jsx - Agent Builder
src/components/AgentBuilder.jsx
Language and Guidance
- Regional Language NLP
src/components/NLPinRegionalLLanguage.jsx - Governance Guidance
src/components/GoveranceProcess.jsx
Other components
- User
- Google Gemini API
- Firecrawl API
- Jina Reader API
- CopilotKit UI
Connections 23
- User → React Bootstrap: opens app
- React Bootstrap → App Router: renders
src/main.jsx - App Router → Navigation Bar: renders
src/App.jsx - App Router → Landing Page: routes to
src/App.jsx - App Router → Gallery: routes to
src/App.jsx - App Router → Agent Catalog: routes to
src/App.jsx - App Router → Web Summarization: routes to
src/App.jsx - App Router → Content Moderation: routes to
src/App.jsx - App Router → Code Summarization: routes to
src/App.jsx - App Router → Regional Language NLP: routes to
src/App.jsx - App Router → PDF Summarization: routes to
src/App.jsx - App Router → Governance Guidance: routes to
src/App.jsx - App Router → Agent Builder: routes to
src/App.jsx - App Router → CopilotKit UI: renders popup
src/App.jsx - React Bootstrap → CopilotKit UI: provides context
src/main.jsx - Web Summarization → Firecrawl API: scrapes URL
src/components/WebScarpingandSummarization.jsx - Web Summarization → Google Gemini API: summarizes content
src/components/WebScarpingandSummarization.jsx - PDF Summarization → Jina Reader API: extracts PDF text
src/components/PdfScrapingandSummarization.jsx - PDF Summarization → Google Gemini API: summarizes text
src/components/PdfScrapingandSummarization.jsx - Content Moderation → Google Gemini API: generates suggestions
src/components/ContentModeration.jsx - Code Summarization → Google Gemini API: summarizes code
src/components/CodeSummarization.jsx - Regional Language NLP → Google Gemini API: translates text
src/components/NLPinRegionalLLanguage.jsx - Governance Guidance → Google Gemini API: answers questions
src/components/GoveranceProcess.jsx