Skip to content

myferr/typescript-tommy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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 installed with a compatible model:

ollama pull qwen2.5-coder:latest

Install Ollama model

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":

python3 src/main.py . . "React Hooks"

Specify a custom output file:

python3 src/main.py --output hooks-course.md "React Hooks"

About

Generate TypeScript courses using Ollama

Topics

Resources

License

Stars

Watchers

Forks

Languages