Skip to content

Anish-2005/CruxPad

Repository files navigation

CruxPad Banner

Next.js Tailwind CSS Firebase SambaNova AI React Flow


🚀 CruxPad: The Ultimate Engineering Study Companion

CruxPad is a high-performance, SaaS-style study platform designed specifically for engineering students. By leveraging the power of SambaNova AI and Firebase, CruxPad transforms dense technical material into digestible, interactive learning assets.

Tip

Streamline your revision: Upload your PDFs, generate concept cards, and visualize the logical flow of your subjects in real-time.


✨ Core Features

Feature Description
🔐 Secure Auth Multi-method login via Firebase (Google & Email/Password).
📄 Smart Parsing Professional-grade PDF and TXT extraction for engineering documents.
🤖 AI Cheatsheets Powered by SambaNova's Llama-3.3-70B for precision revision notes.
⚡ Exam Mode Instant generation of ultra-short summaries, formulas, and key examples.
🕸️ Knowledge Graphs Interactive visual maps using React Flow to connect complex concepts.
🔗 Public Sharing Generate secure, permanent links to share your refined notes with peers.

🛠️ Tech Stack


📂 Project Structure

CruxPad/
├── app/               # Next.js App Router (Dashboard, Upload, Notes, API)
├── components/        # Reusable UI (CheatCard, GraphView, etc.)
├── lib/               # Shared logic (AI drivers, Parsers, Firestore utils)
├── public/            # Static assets (Brand logos, Favicons)
├── types/             # TypeScript definitions
└── firestore.rules    # Firebase security configurations

🚀 Getting Started

1. Prerequisites

  • Node.js (Latest LTS recommended)
  • Firebase Project
  • SambaNova API Key

2. Installation

git clone https://github.com/Anish-2005/CruxPad.git
cd CruxPad
npm install

3. Environment Setup

Create a .env.local file in the root directory:

SAMBANOVA_API_KEY=your_api_key
SAMBANOVA_BASE_URL=https://api.sambanova.ai/v1
SAMBANOVA_MODEL=Meta-Llama-3.3-70B-Instruct

# Firebase Configuration
NEXT_PUBLIC_FIREBASE_API_KEY=...
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=...
...

4. Launch

npm run dev

Navigate to http://localhost:3000 to see your app in action!


🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please see CONTRIBUTING.md for more details.


📜 License

Distributed under the MIT License. See LICENSE for more information.


Built with ❤️ for Engineering Students

About

SaaS-style study platform built with Next.js 14, Firebase, and SambaNova Llama-3.3. Features PDF-to-Cheatsheet AI pipeline and React Flow visualization.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors