DEV Community

Cover image for πŸš€ PlainAid: Real-Time AI Text Simplifier Built with Elixir & Phoenix LiveView
Mohammad ALi Abd Alwahed
Mohammad ALi Abd Alwahed

Posted on

πŸš€ PlainAid: Real-Time AI Text Simplifier Built with Elixir & Phoenix LiveView

I recently explored Elixir, a trending, high-performance language, and paired it with Phoenix LiveView to build PlainAid 🎯, a privacy-first web app that simplifies complex text instantly.

Why I Chose Elixir & Phoenix LiveView

Elixir: Runs on Erlang VM β†’ handles millions of concurrent connections
Fault-tolerant & scalable β†’ apps stay reliable under load
Phoenix LiveView: Real-time, interactive UI without heavy JavaScript
Elixir + LiveView lets you build real-time web apps quickly, with clean code and high performance.

What PlainAid Does
PlainAid turns complex legal, official, or formal documents into clear, actionable insights:

βœ… Simplified Summary
⚠️ Key Actions
⏰ Deadlines
🚨 Risks
βœ“ Optional Items
All real-time, secure, and privacy-first β€” no accounts, no data storage.

flowchart TD
User --> LiveView[Phoenix LiveView UI]
LiveView --> Simplifier[Text Simplifier Module]
Simplifier --> AI[Groq API (Llama 3.3)]
AI --> Simplifier
Simplifier --> LiveView
LiveView --> User

  1. - User inputs text in the web form
  2. - LiveView updates instantly
  3. - Simplifier sends text to AI API
  4. - Returns structured summary & actionable points
  5. - Displayed real-time

Tech Stack

Component Technology
Language Elixir 1.19
Framework Phoenix 1.7 + LiveView
AI Processing Groq API (Llama 3.3 70B)
HTTP Client HTTPoison
JSON Jason
Styling Tailwind CSS
Deployment Render.com

Try It Yourself
πŸ”— Live Demo: https://lnkd.in/dRFc8uMH
πŸ“‚ GitHub Repo (Open Source β€” MIT): https://lnkd.in/dPR7YcGC

Why This Matters

  • Build interactive, real-time apps with minimal front-end code
  • Scalable & fault-tolerant β†’ handles growth effortlessly
  • Privacy-first design β†’ perfect for sensitive documents

Ideas for Contribution
Multi-language support (Arabic, Spanish, French)
Browser extension
Export results to PDF/DOCX
Batch processing of documents
Enhanced AI summarization
πŸ“’ PlainAid is live & ready for testing!

Give it a try, fork the repo, or contribute. Let’s make reading complex text simple for everyone.

Top comments (0)