https://github.com/myferr/typescript-tommy
Generate TypeScript courses using Ollama
https://github.com/myferr/typescript-tommy
cli course-generator generator ollama python python-script
Last synced: 8 months ago
JSON representation
Generate TypeScript courses using Ollama
- Host: GitHub
- URL: https://github.com/myferr/typescript-tommy
- Owner: myferr
- License: apache-2.0
- Created: 2025-06-01T19:49:53.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-06-01T22:19:44.000Z (9 months ago)
- Last Synced: 2025-06-02T05:51:42.330Z (9 months ago)
- Topics: cli, course-generator, generator, ollama, python, python-script
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript Tommy
This is a minimal AI-powered CLI tool that generates concise, modern, markdown-formatted TypeScript programming courses based on a subject you provide.
Powered by [Ollama](https://ollama.com/) and a local model (`qwen2.5-coder`), this tool lets you instantly create technical documentation or lessons for any topic in TypeScript — no fluff, sometimes boilerplate setup instructions.
- Markdown output
- Local model generation using Ollama
- Input any subject and get a tailored course
- Automatically saves to a `.md` file
- Optional `--output` flag for custom filenames
## Installation
Clone this repository and ensure you have [Ollama](https://ollama.com/) installed with a compatible model:
```bash
ollama pull qwen2.5-coder:latest
```
> Install Ollama model
```bash
git clone https://github.com/myferr/typescript-tommy # Clone repository
cd typescript-tommy # Navigate to directory
pip install -r requirements.txt # Install ollama (if needed)
```
> Install `typescript-tommy`
## Usage
Generate a TypeScript course on a subject like "React Hooks":
```bash
python3 src/main.py . . "React Hooks"
```
Specify a custom output file:
```bash
python3 src/main.py --output hooks-course.md "React Hooks"
```