← All projects
Project record1 mention
Originally shared on Hacker News

Offline Linux Tutor

An offline Linux tutor that runs locally on an old laptop. It uses the Phi-2 2.7B model with MiniLM embeddings and a local ChromaDB vector store built from Linux textbooks and TLDR examples; when a command runs, it retrieves relevant knowledge and feeds it to Phi-2 to generate a clear explanation — with no internet, API fees, or cloud.

Last shared For When running terminal commands, the author was constantly copy-pasting explanations from ChatGPT without really understanding them.
01 / The problem

What it addresses

The author found themselves constantly copy-pasting terminal commands from ChatGPT without really understanding them.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Offline Linux Tutor

    An offline Linux tutor that runs locally on an old laptop. It uses the Phi-2 2.7B model with MiniLM embeddings and a local ChromaDB vector store built from Linux textbooks and TLDR examples; when a command runs, it retrieves relevant knowledge and feeds it to Phi-2 to generate a clear explanation — with no internet, API fees, or cloud.

    Problem: The author found themselves constantly copy-pasting terminal commands from ChatGPT without really understanding them.

    Audience: When running terminal commands, the author was constantly copy-pasting explanations from ChatGPT without really understanding them.

    Posted by @vianarafael · Original source ↗

    Source text · @vianarafael · · Source ↗

    So I built a tiny, offline Linux tutor: - Runs locally with Phi-2 (2.7B model, textbook training) - Uses MiniLM embeddings to vectorize Linux textbooks and TLDR examples - Stores everything in a local ChromaDB vector store