Article thumbnail

MindStack: Personal Knowledge Training Platform

nextjs react typescript tailwindcss prisma postgresql vercel ai stripe i18n knowledge-training spaced-repetition personal-learning dataset-creation webapp

MindStack is a personal knowledge training platform that helps you turn your own expertise into repeatable, AI-assisted learning systems. Built with Next.js 15, it combines in-place editing, duplicate detection, and generation control to create high-quality training datasets from your work materials, study subjects, or technical references.

Unlike generic memory training apps, MindStack emphasizes you control the workflow—from initial idea through AI-assisted generation to final approved training content. The platform provides structured hierarchy (Categories → Topics → Questions → Answers), privacy-first design, and multi-language support for creating personal or shareable knowledge bases.

MindStack: Personal Knowledge Training Platform
MindStack: Personal Knowledge Training Platform

The Vision: Turn Your Knowledge Into Repeatable Trainings

MindStack was built around a core principle: your knowledge deserves better than generic flashcards. Instead of using pre-made courses, you build personal training systems from your real materials. The platform balances powerful AI assistance with complete user control:

  1. Create from your own data – Work documents, study notes, technical docs, or any subject matter
  2. Generate with AI, approve manually – AI drafts questions and answers, but nothing saves without your explicit approval
  3. Maintain quality with smart tools – Duplicate detection, in-place editing, and structured workflows keep datasets clean
  4. Train effectively with spaced repetition – Practice what matters with algorithms that adapt to your performance

The result is a platform that feels like a personal knowledge assistant—helping you capture, structure, and master your own expertise.

Technical Architecture: Modern Stack for Personal Learning

The Core Stack

Database Design for Learning Hierarchies

Category system for organizing topics by subject area. (v.0.1.3)
Category system for organizing topics by subject area. (v.0.1.3)
Topics list showing private/public status and metadata. (v.0.1.4)
Topics list showing private/public status and metadata. (v.0.1.4)
Topic-category relationships for flexible organization. (v.0.1.4)
Topic-category relationships for flexible organization. (v.0.1.4)

Modeling personal knowledge required careful schema design:

Feature Highlights

1. In-Place Editing with HeadlessEditor

In-place editing with HeadlessEditor: edit questions and answers without context switching. (v.0.1.4)
In-place editing with HeadlessEditor: edit questions and answers without context switching. (v.0.1.4)

Editing shouldn’t require modal dialogs or context switches. The HeadlessEditor provides:

Benefit: Reduces friction in the refinement process, making it easy to iterate on content quality.

2. AI Generation with Full Control

AI-powered question generation with full review and approval workflow. (v.0.1.4)
AI-powered question generation with full review and approval workflow. (v.0.1.4)

AI assists but never replaces your judgment. The generation workflow:

  1. Provide a brief description of what you want to cover
  2. AI generates draft questions and answers
  3. Review each item individually:
    • ✅ Approve to save to your topic
    • ✏️ Edit before approving
    • 🔄 Regenerate if unsatisfied
    • ❌ Delete irrelevant items
  4. Only approved items are saved to your database

Key difference: Generated content stays in «draft» mode until you explicitly approve it. You maintain full editorial control.

3. Duplicate Detection (Beta)

Duplicate detection (beta) helps maintain dataset quality by flagging similar items. (v.0.1.4)
Duplicate detection (beta) helps maintain dataset quality by flagging similar items. (v.0.1.4)

When adding or generating new questions, MindStack compares them against existing items:

Current limitations: Detects lexical similarity (same/similar words), not semantic meaning (same idea, different words). Improvements planned with vector embeddings.

4. Privacy-First Design

Topics show privacy status -- private by default, public only when you choose. (v.0.1.4)
Topics show privacy status -- private by default, public only when you choose. (v.0.1.4)

Your knowledge is yours unless you choose to share:

Use cases for private topics:

5. Multi-Language Support

MindStack supports global users from day one:

Perfect for language learners or studying materials in different languages.

6. Structured Organization

New category suggestion popup. (v.0.1.0)
New category suggestion popup. (v.0.1.0)

Keep your knowledge base manageable at any scale:

Categories (broad subjects)
  └─ Topics (specific areas within categories)
      └─ Questions (individual queries)
          └─ Answers (one or more per question)

Example:

Programming Languages
  └─ Python Basics
      ├─ What is a list comprehension?
      │   └─ A concise way to create lists in Python...
      └─ How do you handle exceptions?
          └─ Using try-except blocks...

This hierarchy works whether you have 10 or 1000 items.

Development Insights

Internationalization Architecture

Built i18n from the ground up with next-intl:

Performance Optimizations

Authentication Flexibility

Signin popup window with all the auth-providers (OAuth and OTP) suggested. (v.0.1.0)
Signin popup window with all the auth-providers (OAuth and OTP) suggested. (v.0.1.0)
User menu with user info, settings, delete account and sign out buttons. (v.0.1.0)
User menu with user info, settings, delete account and sign out buttons. (v.0.1.0)
Settings with the opened theme selector. (v.0.1.0)
Settings with the opened theme selector. (v.0.1.0)

Multiple login options for different user preferences:

Payment System Integration

Pricing for the different tarif plans. (v.0.1.0)
Pricing for the different tarif plans. (v.0.1.0)
Choosing payment method. (v.0.1.0)
Choosing payment method. (v.0.1.0)

Global monetization requires regional payment support:

Technical Challenges Overcome

1. Nested Data Operations with Prisma

Creating/updating topics with nested questions and answers required careful Prisma usage:

2. State Management Complexity

Between workout state, editor state, user preferences, and real-time updates:

3. Spaced Repetition Algorithm

Training progress and statistics window. (v.0.1.0)
Training progress and statistics window. (v.0.1.0)
Active trainings list. (v.0.1.0)
Active trainings list. (v.0.1.0)
Training step: displayed progress bar, a question, two answers, one of them marked as correctly answered. (v.0.1.0)
Training step: displayed progress bar, a question, two answers, one of them marked as correctly answered. (v.0.1.0)
Question with code examples in suggested answers. (v.0.1.0)
Question with code examples in suggested answers. (v.0.1.0)

Implementing effective learning schedules:

4. Deployment Pipeline

Vercel deployment panel. (v.0.1.0)
Vercel deployment panel. (v.0.1.0)

Multi-environment setup with database migrations:

The Results

At its core, MindStack delivers on its promise:

The application handles everything from AI content generation to complex payment processing, all while maintaining focus on what matters: helping you capture and master your own expertise.

Lessons Learned

  1. Positioning matters – Clear value proposition («turn your knowledge into trainings») resonates more than generic features
  2. Control builds trust – Users want AI assistance, not AI automation. Always let them review and approve
  3. Start with i18n – Adding languages later is exponentially harder
  4. Type everything – TypeScript caught countless bugs in nested data structures
  5. Design for extension – Payment system needed to handle unexpected regional requirements
  6. Document beta features – Be honest about limitations (duplicate detection) and future plans

What’s Next

The foundation is solid, with exciting features planned:

Try It Yourself

MindStack: Personal Knowledge Trainer. Turn Your Knowledge Into Repeatable Trainings | Product Hunt


Technologies: Next.js 15, React, TypeScript, Tailwind CSS, Prisma, PostgreSQL, Cloudflare Workers AI, GigaChat, Stripe, YooMoney, Radix UI, React Query, Zustand, next-intl

Role: Full-stack development, architecture design, AI integration, payment systems, internationalization

Timeline: Autumn 2025 – Present (ongoing development)