edstem
بواسطة axel5o5
Browser & Automationموجز
Fetch, sync, and organize EdStem discussion threads for any course or institution.
الوصف
ما الذي تفعله هذه المهارة
Fetches EdStem discussion threads from any course using the official API and saves them as structured markdown files. Each post is tagged [STAFF] or [STUDENT], so instructor responses are clearly separated from student questions. Works with any institution running EdStem.
Uses the official EdStem API rather than scraping, and automatically tags each post with the author's role, something raw API responses don't include.
متى تستخدمها
- Checking for new student questions in a course forum
- Syncing multiple course discussion boards to a local directory
- Searching thread history for a specific topic or error message
- Reviewing staff responses to identify recurring course issues
- Automating daily mirroring of course discussions via cron
مثال على سير العمل
User asks: Fetch the latest 25 posts from my Machine Learning course (ID 92041)
- 1
Runs fetch-edstem.py with course ID 92041 and --limit 25
- 2
Authenticates using the bearer token stored in the script
- 3
Fetches thread metadata and full content for each thread
- 4
Writes each thread to a numbered markdown file with [STAFF] and [STUDENT] role tags
- 5
Saves a threads.json index alongside the markdown files
Directory edstem-92041/ containing threads.json and 25 markdown files, each with the full conversation and role labels on every post
المتطلبات
- EdStem account with access to the target course
- Bearer token extracted manually from browser DevTools Network tab, stored in fetch-edstem.py at line 20
التثبيت
clawhub install axel5o5/edstemشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.