A modern, TED-style PowerPoint presentation about Overthinking, built entirely with PptxGenJS — a JavaScript library for creating PowerPoint presentations programmatically.
Presenter: Mohamed Abd Elsalam Mohamed Gharieb
This project demonstrates how to create professional, visually appealing presentations using JavaScript instead of manual PowerPoint editing. The presentation explores the topic of overthinking, covering its definition, the psychological cycle, real-world effects, and actionable strategies to manage it.
View the rehearsal page: English_Pre Live
- Node.js v16 or higher
- npm (comes with Node.js)
cd English_Pre
npm installNote:
sharpmay take a moment to compile native bindings — this is normal.
To generate the PowerPoint presentation:
node generate.jsThe output file will be saved as Overthinking_Presentation_Mohamed_Gharieb.pptx.
For the Climate Change version:
node generate_climate.jsTo generate quest questions from the presentation:
node quest.js| File | Description |
|---|---|
generate.js |
Main presentation generator (Overthinking) |
generate_climate.js |
Climate Change presentation generator |
quest.js |
Generates quest/quiz questions |
helpers.js |
Helper utility functions |
helpers_climate.js |
Climate-specific helper functions |
index.html |
Landing page with auto-redirect |
Rehearsal_Script.html |
Interactive rehearsal page |
Presentation_Script.md |
Full presentation script |
Rehearsal_Script.md |
Practice/rehearsal script |
pptxgenjs.md |
PptxGenJS documentation reference |
The main presentation consists of 14 slides:
- Title Slide - "The Trap of Overthinking"
- Introduction - What is Overthinking?
- Definition - Detailed explanation of overthinking
- The Overthinking Cycle - How the cycle begins and perpetuates
- Why Do We Overthink? - Psychological triggers
- The Effects - Mental, physical, and social impacts
- The Physical Toll - Stress and bodily symptoms
- Mental & Social Effects - Anxiety, sleep issues, relationships
- A Powerful Quote - Inspirational insight
- 5-Minute Rule - Practical technique
- From "What If?" to "What Can I Do?" - Mindset shift
- The 5-4-3-2-1 Rule - Grounding technique
- Other Strategies - Additional coping methods
- Conclusion - Closing message & Q&A
- Colors: Dark Navy
#1A1F3C, Soft Purple#7C3AED, Accent#A78BFA, White#FFFFFF - Font: Calibri / Arial
- Layout: 16:9 (10" x 5.625")
- JavaScript - ECMAScript modules
- PptxGenJS - For generating .pptx files
- Node.js - Runtime environment
This repository is deployed via GitHub Pages.
This project is open source and available for educational purposes.
Mohamed Gharieb - GhariebML on GitHub