Translating Brain Signals into Text
Live Demo β’ Getting Started β’ Tech Stack β’ Project Structure
ThinkInk is a cutting-edge platform that translates brain signals (EEG/EMG) into text using advanced AI and machine learning technologies. This frontend application provides an intuitive, accessible interface for users to interact with neural data processing capabilities.
- π§ Neural Signal Processing β Upload and process EEG/EMG files in real-time
- π€ AI-Powered Translation β Convert brain signals to text using advanced ML models
- π Secure Authentication β Google OAuth integration with JWT token management
- π± Progressive Web App β Offline capabilities with service worker support
- βΏ Accessibility First β Designed specifically for users with speech impairments
- β‘ Real-time Feedback β Toast notifications and smooth animations
| Category | Technologies |
|---|---|
| Framework | |
| Styling | |
| Routing | |
| HTTP Client | |
| Authentication | |
| UI Components | |
| PWA | |
| Dev Tools | |
| Runtime |
- React 18 β Modern React with concurrent features
- Vite β Lightning-fast build tool and dev server
- React Router DOM v7 β Client-side routing
- Tailwind CSS β Utility-first CSS framework
- Framer Motion β Production-ready motion library
- Lucide React β Beautiful & consistent icon pack
- Swiper β Modern touch slider
- Axios β Promise-based HTTP client
- React Hot Toast β Toast notifications
- React OAuth Google β Google OAuth integration
- JWT Decode β JSON Web Token decoder
- Vite PWA Plugin β Zero-config PWA framework
- Workbox Window β Service worker management
ThinkInk-Frontend/
βββ π public/ # Static assets
β βββ robots.txt # SEO robots configuration
β βββ sitemap.xml # SEO sitemap
β
βββ π dev-dist/ # PWA service worker files
β βββ sw.js # Service worker
β βββ workbox-*.js # Workbox runtime
β
βββ π src/ # Source code
β βββ π App.jsx # Root application component
β βββ π main.jsx # Application entry point
β βββ π index.css # Global styles
β β
β βββ π api/ # API layer
β β βββ axiosInstance.jsx # Axios configuration
β β βββ auth.jsx # Authentication API
β β βββ register.jsx # Registration API
β β βββ logout.jsx # Logout API
β β
β βββ π assets/ # Static assets
β β βββ π images/ # Image files
β β
β βββ π common/ # Reusable UI components
β β βββ AppleBtn.jsx # Apple sign-in button
β β βββ GoogleBtn.jsx # Google sign-in button
β β βββ CheckBox.jsx # Custom checkbox
β β βββ SwitchBtn.jsx # Toggle switch
β β βββ GreenTag.jsx # Status tag component
β β βββ Loader.jsx # Loading spinner
β β βββ TopNav.jsx # Top navigation bar
β β
β βββ π components/ # Feature components
β β βββ LanguageSelector.jsx # Language picker
β β βββ π header/ # Header component
β β βββ π hero/ # Hero section
β β βββ π footer/ # Footer component
β β βββ π articles/ # Articles display
β β βββ π codeSample/ # Code examples
β β βββ π fileupload/ # EEG/EMG file upload
β β βββ π pricingCard/ # Pricing cards
β β βββ π FQA/ # FAQ section
β β βββ π sideMenu/ # Side navigation
β β βββ π side-slider/ # Slider component
β β βββ π sectionText/ # Text sections
β β βββ π response-popup/ # Response modal
β β βββ π Enterprise/ # Enterprise section
β β βββ π PATIENTS/ # Patients section
β β
β βββ π context/ # React Context providers
β β βββ UploadContext.jsx # File upload state
β β
β βββ π global/ # Global utilities
β β βββ styles.css # Global CSS variables
β β
β βββ π pages/ # Route pages
β βββ About.jsx # About page
β βββ Api.jsx # API documentation
β βββ BluetoothConnect.jsx # Bluetooth device connection
β βββ ComingSoon.jsx # Coming soon placeholder
β βββ Contact.jsx # Contact form
β βββ Login.jsx # Login page
β βββ Register.jsx # Registration page
β βββ Pricing.jsx # Pricing page
β βββ Profile.jsx # User profile
β βββ NotFound.jsx # 404 page
β
βββ π index.html # HTML entry point
βββ π package.json # Dependencies & scripts
βββ π vite.config.js # Vite configuration
βββ π tailwind.config.js # Tailwind configuration
βββ π postcss.config.js # PostCSS configuration
βββ π eslint.config.js # ESLint configuration
βββ π Dockerfile # Docker configuration
βββ π README.md # Project documentation
- Bun (v1.0 or higher) β Fast all-in-one JavaScript runtime
# Install Bun (if not already installed)
curl -fsSL https://bun.sh/install | bash
# Clone the repository
git clone https://github.com/your-username/ThinkInk-Frontend.git
cd ThinkInk-Frontend
# Install dependencies
bun install# Start development server
bun run dev
# Run linting
bun run lint
# Setup git hooks
bun run prepare# Build for production
bun run build
# Preview production build
bun run previewThis project is optimized for deployment on Vercel:
- β Automatic builds on push
- β SEO optimization with sitemap.xml
- β Progressive Web App capabilities
- β Performance optimizations
- β Docker support available
- Fork the repository
- Create a feature branch:
git checkout -b feat/new-feature - Commit changes:
git commit -m 'feat: add new feature' - Push to branch:
git push origin feat/new-feature - Submit a pull request
Please follow the Branch Naming Conventions and use conventional commits.
This project is licensed under the MIT License β see the LICENSE file for details.