Skip to main content

Overview

Studley AI offers public access to study material generators. You can create quizzes, flashcards, study guides, and more without signing up or logging in. Generated content is stored locally in your browser.

Available Tools

Access 12 study tools from the navigation dropdown:

Content Generators

  1. Quiz Generator - Create custom multiple-choice quizzes
  2. Flashcard Generator - Generate flip-card study sets
  3. Study Guide - Create comprehensive study materials
  4. Notes Generator - Convert content to organized notes
  5. Writing Generator - Generate writing prompts
  6. Worksheet Generator - Create practice worksheets
  7. Fill in the Blank - Generate fill-in-the-blank exercises

Grading Tools

  1. Essay Grader - Get AI feedback on essays
  2. Paper Grader - Grade academic papers

Utility Tools

  1. Citation Generator - Generate proper citations
  2. GPA Calculator - Calculate your GPA
  3. Pomodoro Timer - Focus timer for studying

Accessing Public Tools

1

Navigate to Homepage

Visit the Studley AI homepage at the root URL.
2

Open Tools Menu

  • Desktop: Hover over “Tools” in the navigation bar to reveal the dropdown
  • Mobile: Tap the menu icon and expand the “Tools” submenu
3

Select a Tool

Click on any tool name to navigate to that generator.

Using Generators Without Authentication

Quiz Generator

1

Navigate to Generator

Go to /tools/quiz-generator from the Tools dropdown.
2

Enter Topic

Type the subject or topic you want to study (e.g., “World War 2”, “Cell Biology”).
3

Add Content (Optional)

Paste or type any reference material, notes, or textbook content to help the AI generate better questions.
4

Generate Quiz

Click “Generate Quiz”. The system:
  • Sends your topic to the Groq AI API (mixtral-8x7b-32768 model)
  • Generates questions with options, correct answers, and explanations
  • Returns structured JSON data
5

Saved to Browser

The quiz is automatically saved to localStorage with:
  • Unique ID (generated via Math.random().toString(36))
  • Topic name
  • Array of questions
  • Creation timestamp
6

Take Quiz

You’re redirected to /quiz/[quizId] to take the interactive quiz.

Flashcard Generator

1

Navigate to Generator

Go to /tools/flashcard-generator from the Tools dropdown.
2

Enter Topic

Specify what you want to create flashcards about.
3

Generate Flashcards

Click “Generate Flashcards”. The AI creates:
  • Multiple flashcards with front and back content
  • Organized by topic
  • Returned as JSON
4

Saved Locally

Flashcards are saved to localStorage under quizlix_flashcards with a unique ID.
5

Study Cards

You’re redirected to /flashcards/[flashcardId] to flip through your cards.

Client-Side Storage

How It Works

Public tools use browser localStorage for persistence:
const STORAGE_PREFIX = 'quizlix_'

// Storage keys
quizlix_quizzes        // Array of QuizData
quizlix_flashcards     // Array of FlashcardData  
quizlix_study_guides   // Array of StudyGuideData

Data Structures

QuizData:
interface QuizData {
  id: string
  topic: string
  questions: Array<{
    question: string
    options: string[]
    correct: number
    explanation: string
  }>
  createdAt: string
}
FlashcardData:
interface FlashcardData {
  id: string
  topic: string
  cards: Array<{
    front: string
    back: string
  }>
  createdAt: string
}
StudyGuideData:
interface StudyGuideData {
  id: string
  topic: string
  content: string
  sections: Array<{
    title: string
    content: string
  }>
  createdAt: string
}

Storage Functions

Saving:
  • saveQuiz(quiz) - Saves quiz and returns QuizData with ID
  • saveFlashcard(flashcard) - Saves flashcard set with ID
  • saveStudyGuide(guide) - Saves study guide with ID
Retrieving:
  • getQuizzes() - Returns all saved quizzes
  • getQuiz(id) - Returns specific quiz by ID
  • getFlashcards() - Returns all flashcard sets
  • getFlashcard(id) - Returns specific set
Deleting:
  • deleteQuiz(id) - Removes quiz from storage
  • deleteFlashcard(id) - Removes flashcard set
  • deleteStudyGuide(id) - Removes study guide

Storage Lifespan

Content stored in localStorage persists until:
  • You clear your browser data
  • You manually delete the items
  • Browser storage quota is exceeded

Per-Device Storage

  • Each device has separate localStorage
  • Content does not sync between devices
  • Desktop and mobile have different storage

Migrating to Account

To save your localStorage content permanently:
1

Create Account

Sign up for a free Studley AI account at /signup.
2

Log In

Sign in to your new account.
3

Re-generate or Import

Currently, you’ll need to regenerate content from within your account. Future updates will include localStorage migration.

AI Generation

Groq API Integration

Public tools use Groq AI for generation:
  • Model: mixtral-8x7b-32768
  • API Key: Stored in GROQ_API_KEY environment variable
  • Rate Limiting: Applied per IP address

Quiz Generation Endpoint

API Route: /api/generate-quiz
POST /api/generate-quiz
Body: { topic: string, content?: string }
Response: {
  questions: Array<{
    question: string
    options: string[]
    correctAnswer: number
    explanation: string
  }>
  topic: string
}

Flashcard Generation Endpoint

API Route: /api/generate-flashcards
POST /api/generate-flashcards
Body: { topic: string, content?: string }
Response: {
  cards: Array<{
    front: string
    back: string
  }>
  topic: string
}

Viewing Generated Content

Quiz Interface

  • Route: /quiz/[quizId]
  • Features:
    • Progress tracking (question 1 of 10)
    • Multiple choice selection
    • Answer validation
    • Explanations after each answer
    • Final results with score

Flashcard Interface

  • Route: /flashcards/[flashcardId]
  • Features:
    • Card flipping animation
    • Progress counter
    • Next/previous navigation
    • Shuffle option

Sharing Generated Content

Current Sharing Method

Share the URL of your generated content:
  1. Complete generation to get the unique ID
  2. Copy the URL (e.g., /quiz/abc123def)
  3. Share the URL with others
  4. They can access the same content if it’s in their localStorage
URL sharing only works if the recipient has the same content in their localStorage. True sharing requires an account and will be added in future updates.

Creating an Account for Permanent Storage

Benefits of Creating an Account

  • Cloud Storage: Access from any device
  • Permanent: Content never expires
  • Organization: Folders and favorites
  • Search: Find content quickly
  • Sharing: Share with others (coming soon)
  • History: Track usage and progress

Starting Balance

New accounts receive:
  • 5,000 free credits to start
  • Use credits to generate study materials
  • See Credit System guide for details

Desktop Navigation

The Tools dropdown in the main navigation:
<NavigationMenu>
  <NavigationMenuList>
    <NavigationMenuItem>
      <NavigationMenuTrigger>Tools</NavigationMenuTrigger>
      <NavigationMenuContent>
        {/* 12 tool links */}
      </NavigationMenuContent>
    </NavigationMenuItem>
  </NavigationMenuList>
</NavigationMenu>

Mobile Navigation

Mobile menu with collapsible Tools submenu:
  • Tap menu icon to expand
  • Tap “Tools” to show submenu
  • Tap any tool to navigate

Limitations of Public Tools

Storage Limits

  • Browser localStorage has size limits (typically 5-10MB)
  • Very large study guides may not fit
  • Can’t exceed browser quota

No Sync

  • Content doesn’t sync between devices
  • Clearing browser data deletes everything
  • No backup or recovery

No Collaboration

  • Can’t share with other users
  • No collaborative editing
  • No comments or feedback

No Analytics

  • Can’t track study progress
  • No usage statistics
  • No performance insights

Troubleshooting

Generated content disappeared?

  • Check if you cleared browser data
  • Look in the correct browser (Chrome vs Firefox)
  • Verify you’re on the same device

Generation fails?

  • Check internet connection
  • Try a simpler topic
  • Reduce content length
  • Wait and try again (rate limiting)

Can’t access saved quiz?

  • Verify the URL is correct
  • Check localStorage in browser DevTools
  • Try regenerating the content

Storage quota exceeded?

  • Delete old quizzes/flashcards
  • Clear unnecessary localStorage data
  • Create an account for cloud storage

Build docs developers (and LLMs) love