Open-source LMS platform for educators, built on Astro 6 + Cloudflare D1. Powered by community, authenticated by Mindful Auth.
Help each other attract paying clients by contributing features, design variants, and sharing success stories. The goal is for you to use Mindful LMS as a foundation for building scalable, client-ready solutions and get paid for it.
This is the Educator portal for teacher/admin dashboards running on Cloudflare D1 and Astro 6. You also need the student frontend Mindful LMS Student. Both are secured by Mindful Auth for role-based access control.
A production-ready D1-backed educator dashboard for Cloudflare Workers that gives teachers and admins everything they need to:
- ✅ Create and manage courses, lessons, and learning paths
- ✅ Track student progress and engagement
- ✅ Publish content instantly (no database syncing headaches)
- ✅ Role-based access control (educators isolated from students)
- ✅ Built for agencies scaling to thousands of learners
Tech Stack:
- Astro 6 — Edge-native SSR framework
- Cloudflare D1 — SQLite at the edge
- Mindful Auth — Enterprise security (2FA, magic links, audit logs)
- TypeScript — Type-safe, maintainable code
| Feature | Benefit |
|---|---|
| Cloudflare Native | Runs on Workers; zero cold starts, global network |
| Single D1 Database | No messy replication; educators and students in one database with strict role-based isolation |
| Instant Publishing | Draft-to-live updates propagate within milliseconds; no queue jobs or data syncing |
| Community-Built | Grow features together; each contribution helps everyone land new clients |
| Fully Headless | 100% control over UI/UX. No locked-in components or forced design patterns |
| You Own Your Data | All data stays in your Cloudflare account. Zero vendor lock-in—unlike Thinkific, you're not trapped in a SaaS subscription. Migrate anytime. |
This isn't just another LMS template. It's a collaborative platform where agencies and developers build features, share design patterns, and help each other land paying clients.
1. Use It — Deploy for Your Clients
Fork the repo, customize the design, and deploy to Cloudflare Workers. Your client gets a professional, fast, secure LMS in days, not months.
2. Extend It — Build Client-Requested Features
Clients ask for features (quizzes, certificates, Stripe integration, etc.). Build it, contribute it back, and showcase it in our community gallery to attract other clients with similar needs.
3. Showcase It — Get Featured on Our Blog
Share your success story: industry, learner count, client outcome. Get featured on mindfulauth.com/blog.
The Problem with Traditional LMS:
- Vendor Lock-In — Your data is trapped in Thinkific, Teachable, Kajabi. Want to switch? Export is painful or impossible.
- Runaway Costs — Monthly fees skyrocket as enrolled learners grow. Thinkific charges per learner; Mindful LMS is open source with Mindful Auth for authentication (flat-rate pricing) and free Cloudflare infrastructure.
- Limited Customization — Forced design templates. Limited integrations. Your client's brand gets lost.
- Slow & Expensive — Traditional LMS platforms are built for the browser era, not the Edge. Latency hurts completion rates.
The Mindful LMS Advantage:
- You Own Everything — All data, code, infrastructure stays in your Cloudflare account. Portability built-in.
- Predictable Pricing — Flat-rate authentication (Mindful Auth) + free Cloudflare infrastructure. Costs don't explode as you scale.
- Fully Customizable — Headless LMS. Build the exact experience your client needs. No template constraints.
- Built at the Edge — Astro 6 + Cloudflare Workers = zero cold starts, instant global performance. Higher completion rates.
- Community-Powered — Features built by agencies for agencies. Shared solutions reduce your build time.
Mindful LMS requires both the Educator portal (this repo) and the Student portal:
| Product | Target | Database | Use Case |
|---|---|---|---|
| Mindful LMS Educator (D1) | Developers / Agencies | D1 | Custom LMS with full code control |
| Mindful LMS Student | Learners | D1 | Student dashboard, course progress, certificates (full code control) |
Both share Mindful Auth for identity and role-based access.
Full setup guide: docs.mindfulauth.com
Single Database, Strict Role-Based Access
Both educators and students connect to the same D1 database. Mindful Auth middleware ensures:
- Educators can only query educator tables (courses, lessons, progress)
- Students can only query student tables (my courses, progress)
- No cross-role data leakage, no sync delays
Why This Matters:
- Instant content updates (no queue jobs)
- Zero vendor lock-in (your data, your infrastructure)
- Scales to millions of learners on edge infrastructure
Want to build the next feature? Check out CONTRIBUTING.md for submission guidelines, feature ideas, and design variant specs.
Have Questions? Join our GitHub Discussions:
- 🔧 Get help with setup and deployment
- 💡 Share feature ideas
- 🎨 Discuss design variants
- 📰 Showcase your projects
This educator portal is secured by Mindful Auth, which handles:
- Password & Magic Link Auth — Multiple authentication methods
- Two-Factor Authentication (TOTP) — Optional per user
- Audit Logs — Track all students/educators actions for compliance
- Rate Limiting & Bot Protection — Six-layer defense system
- Role-Based Access Control (RBAC) — Educator vs. Student isolation
Learn more: mindfulauth.com
- Full Documentation — Setup guides, API reference, best practices
- GitHub Discussions — Community Q&A, feature requests, showcases
- YouTube Channel — Tutorials and walkthroughs
- Reddit — Community chat and support
- LinkedIn — Latest updates
- Contact Us — Support, partnerships, sponsorships
MIT — Build anything.
Questions? Open an issue or start a discussion on GitHub.
Ready to contribute? See CONTRIBUTING.md.