Social Study transforms social media scrolling into an educational experience. Instead of endlessly consuming content, this web application encourages productive learning by integrating multiple-choice questions (MCQs) into your feed.
Social Study fetches the latest top posts from social media, displaying five at a time. To unlock more, users must correctly answer an MCQ in subjects such as Computing, Mathematics, Physics, Chemistry, Economics, or English. This simple yet effective system promotes learning while minimising mindless scrolling.
The platform updates every two hours via the Reddit API (PRAW), ensuring fresh content and a continuous learning experience. Whether you're revising for exams or simply looking to sharpen your knowledge, Social Study turns distraction into a study tool.
Unlock additional social media posts by answering MCQs, keeping you engaged while reinforcing knowledge.
Expand the platform's question pool by submitting your own MCQs across different subjects.
Reduce eye strain with a dark mode option for a more comfortable studying and browsing experience.
Broaden the variety of questions by adding topics such as Biology, History, and more.
Implement a system that revisits questions periodically based on user performance to enhance learning retention.
Allow freeform text responses, with AI evaluating correctness and providing constructive feedback.
Check out the live demo: Social Study Demo
-
Clone this repository and navigate to the project directory.
-
Install the required dependencies:
pip install Flask Flask-WTF
-
Start the Flask application:
flask run
-
Create a
.env
file and add your Reddit API credentials:CLIENT_ID=your-client-id CLIENT_SECRET=your-client-secret
-
Install additional dependencies:
pip install praw load-dotenv
-
Run the update script:
python main.py
- Frontend: HTML, CSS, JavaScript
- Backend: Python with Flask
- API Integration: Reddit API using PRAW
- Stack Overflow
- PRAW Documentation
- Flask-WTF Documentation
- ChatGPT
(Note: Don't worry, I built most of the project myself! ChatGPT primarily helped with generating the questions database and writing this README.)