How to Find Courses from a Specific University Like MIT in cs-video-courses
To find MIT courses in the cs-video-courses repository, search the README.md file for the string "MIT" using grep, Python, or your browser's find function, as all course entries are stored as plain-text Markdown bullets in this single master index.
The cs-video-courses repository by Developer-Y aggregates university-level computer science lectures into a curated Markdown catalogue. Because the project stores its entire course database within flat text files rather than a structured database, locating specific institution content like MIT lectures requires targeted text search techniques over these static documents.
Understanding the Repository Structure
The repository relies on a simple, monolithic list architecture without a separate database or metadata API.
The Master Catalogue (README.md)
In README.md at the repository root, every course entry appears as a Markdown bullet (- [Course …]) grouped by topic. This file serves as the master index containing direct links to course pages on OCW, YouTube, and other platforms.
Supplemental Files
NOTES.md: Contains additional notes and occasional university-specific references.CONTRIBUTING.md: Provides guidelines for adding new courses to the list.
Searching for MIT Courses via Command Line
For quick filtering, use case-insensitive grep to locate lines containing "MIT".
grep -i "MIT" README.md
To display line numbers for reference:
grep -in "MIT" README.md
Result excerpt:
72:- [6.0001 - Introduction to Computer Science and Programming in Python - MIT OCW](https://ocw.mit.edu/courses/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/video_galleries/lecture-videos/)
73:- [6.001 - Structure and Interpretation of Computer Programs, MIT](https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/video_galleries/video-lectures/)
Extracting Course Data with Python
For programmatic access, parse the file using standard library modules to extract MIT-specific entries.
import re
from pathlib import Path
# Load the master list
readme_path = Path("README.md")
text = readme_path.read_text(encoding="utf-8")
# Find all bullet lines that mention MIT (case-insensitive)
mit_entries = [line for line in text.splitlines()
if re.search(r"\bMIT\b", line, re.I)]
# Pretty-print the results
for entry in mit_entries:
print(entry)
This script extracts the same bullet lines shown by grep, allowing you to further process URLs or store them in structured formats like CSV.
Using the GitHub Web Interface
You can locate courses directly in the browser without cloning the repository.
- Navigate to the repository's Code tab.
- Click the
README.mdfile. - Press
tto open the file-finder, typeMITand hit Enter — the UI will scroll to the first match. - Use the browser's Find (
Ctrl + F) to hop between occurrences.
Summary
- The cs-video-courses repository stores all entries in
README.mdas Markdown bullets without a backend database. - Use
grep -i "MIT" README.mdfor quick terminal searches. - Use Python with
pathlibandreto extract and manipulate course lists programmatically. - The GitHub web interface supports searching within files using the built-in file-finder and browser find functions.
Frequently Asked Questions
Can I search for universities other than MIT using these methods?
Yes. Replace "MIT" with any institution name (e.g., "Stanford", "CMU", "Berkeley") in the grep command or Python regex pattern. The search is case-insensitive, so it will match "Stanford", "stanford", or "STANFORD" within the course entries.
Does the repository provide an API to query courses by university?
No. According to the source code structure in Developer-Y/cs-video-courses, there is no API or separate metadata file. All data resides in the flat Markdown files, making text search the primary query mechanism for finding university-specific content.
What information is included in each course entry?
Each bullet line in README.md contains the course code, title, university name, and a direct hyperlink to the video source (typically OCW or YouTube). The entries are grouped by subject area rather than by university, so searching the full text is necessary to isolate specific institutions.
How do I contribute a missing MIT course to the list?
Follow the guidelines in CONTRIBUTING.md. The repository accepts pull requests that add new courses to the appropriate subject section in README.md, maintaining the existing Markdown bullet format with the university name included in the title.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →