cd /news/ai-tools/terminal-is-your-friend · home › topics › ai-tools › article
[ARTICLE · art-144777] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Terminal is your Friend

A developer built Terminal Is Your Friend, an open-source JavaScript/TypeScript playground that runs code in a dark terminal with a sandboxed runtime and an AI instructor that explains errors and results rather than writing solutions. The project, created for a DevOps friend learning JavaScript, includes a minimal TSX-style terminal UI and is powered by the developer's experimental TypeScript fork supporting the pipeline operator. The stated goal is to test whether AI can help someone learn programming without taking programming away from them.

by read2 min views1 publishedOct 4, 2026

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend

My devops friend wants to learn JavaScript, but she is always getting lost in the UI.

So I removed the UI.

Terminal Is Your Friend is a small JavaScript/TypeScript playground where you can write code directly, run it, see the result, make mistakes, and continue.

There is also an AI instructor, but its job is not to write the code for you.

It tries to teach programming from simple things first: numbers, strings, conditions, arrays, loops and functions. Strong foundations before frameworks and abstractions.

KISS.

Later, when the basics are clear, you can discover TypeScript and finally a tiny TSX interface built directly into the terminal.

Try it here:

https://terminal-is-your-friend.vercel.app/

You can start with something as simple as (or even simple):

const randomid = () => Math.random().toString(36).slice(-7).toUpperCase()
return `${randomid()}-${randomid()}-${randomid()}`

and just continue from there.

The project is open source on GitHub:

The TypeScript compiler used by the project is based on my experimental TypeScript fork with support for the pipeline operator.

That experiment lives here:

TypeScript Pipeline Operator Fork

The application is intentionally small.

It is basically a dark terminal, a sandboxed JavaScript/TypeScript runtime and an AI instructor.

The instructor sees the code, the result and errors, and tries to explain what happened instead of immediately producing a solution.

The terminal also has a tiny TSX system.

For example:

return <view small center>
  Hello World!
  <button onClick={() =>
    <view small center>N E X T</view>
  }>
    next
  </button>
</view>

<view> simply creates the next terminal screen.

This is intentionally not React.

It is a small step between writing expressions in a terminal and understanding why UI components work at all.

The project also uses my TypeScript pipeline-operator fork.

I like the pipeline operator for the same reason I like this project:

value
  |> step1
  |> step2
  |> result

It keeps the direction of the program visible.

Because I could experiment.

I could fork TypeScript, change the language, use open tools around it, build a strange little runtime, and connect an AI instructor to it.

None of these experiments need permission.

And somebody else can fork this project tomorrow and make it stranger.

That is the interesting part.

The project itself was developed together with AI tools, but the important experiment for me was not AI generating code.

It was the opposite question:

Can AI help somebody learn programming without taking programming away from them?

That is what the instructor is trying to explore.

Hacktoberfest Weekend Challenge — Build for a Friend

── more in #ai-tools 4 stories · sorted by recency
── more on @terminal is your friend 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/terminal-is-your-fri…] indexed:0 read:2min 2026-10-04 · —