Tree Learn
Show HN: Learn divergently/chaotically with tree-learn
Working when we checked on .
What is Tree Learn?
Tree Learn turns AI chat into a tree-shaped conversation where every answer becomes a node that can be branched from. It suits learners and researchers who chase follow-up questions and want to keep every rabbit hole organized. Users park questions for later, search across topics with a ⌘K command, and import existing topics. The page is static with no server, chats stay in the browser, and API keys are restricted by Content-Security-Policy to OpenRouter only.
Tree Learn pricing
Pricing model: Free
Free to use, but requires the user's own OpenRouter API key (costs depend on the model used)
Tree Learn pros
- Tree-shaped chat where every answer becomes a branchable node
- Questions can be parked and revisited later
- Search across all topics with ⌘K
- Static page with no server; chats stored only in the browser
- Content-Security-Policy restricts API keys to OpenRouter only
- Open source and self-hostable in one command
Tree Learn cons
- Requires the user to supply their own OpenRouter API key
- Chats are stored in one browser only, with no sync or backup
- No accounts or multi-device support ('Not connected' state shown)
- No documentation of pricing or plan limits beyond what OpenRouter charges
Frequently asked questions about Tree Learn
What does Tree Learn do?
It provides a tree-shaped AI chat where every answer becomes a node. Users can branch from any sentence and park follow-up questions to chase later.
Who is Tree Learn for?
It is aimed at learners who explore topics deeply and want to keep track of every rabbit hole instead of losing context in a linear chat.
How does branching work?
Every answer becomes a node in the tree. You can branch from any sentence in an answer, creating separate paths for different follow-up questions.
Where are my chats stored?
There is no server; the page is static. All chats are stored in your browser and nowhere else, meaning they don't leave your device.
Which AI model does it use?
It connects through OpenRouter, and the interface shows model options such as DeepSeek (e.g., DeepSeek V4.1 Flash) with selectable reasoning levels.
How is my API key protected?
A Content-Security-Policy makes the browser block every destination except OpenRouter, so your key can only be sent to OpenRouter. This can be verified in DevTools.
Can I search across my topics?
Yes. A 'Search everything' feature with a ⌘K keyboard shortcut lets you find content across all saved topics.
Can I import existing topics?
Yes, Tree Learn includes an 'Import a topic' option, and topics collect as trees of questions you can come back to.
Is Tree Learn open source?
Yes. The code is open source, and it can be read or self-hosted by running it yourself in one command.