Dr

Drag-and-Drop in the Terminal

Hacker News

Drag-and-Drop in the Terminal

I built drag-and-drop in the terminal. You can grab an element with a mouse, drag it, drop it on a target, and drag-select text inside it across wrapped rows. It's built in Yokai, my Ink fork: a React TUI renderer with pure-TS Yoga layout, diff-based rendering, ScrollBox, alt buffer, mouse events, and draggable/resizable components. I built Yokai because I kept hitting Ink's limits and needed things Ink couldn't offer for my TUI-based project. Try it: pnpm demo:scratchpad # draggable editor window (an opaque sticky note you can drag across the screen and edit) pnpm demo:drag # drag rectangles into a drop zone (the one in the readme banner)

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Missing: mac, agents, macos
85%85% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: ide · Missing: https docs, excited, just released
56%56% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
48%48% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
35%35% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
32%32% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
28%28% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

De
Debase – drag and drop Git rebase in your terminal69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Debase – drag and drop Git rebase in your terminal

Hacker News10
Dr
Drag the Square46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Drag the Square

Hacker News2
Dr
Drag and drop so simple it hurts58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Drag and drop so simple it hurts

Hacker News15
Na
Native AngularJS drag and drop directive53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Native AngularJS drag and drop directive

Hacker News1
A
A drop and drag web builder (desktop only)55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A drop and drag web builder (desktop only)

Hacker News2
A
A VueJS drag&drop list directive61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A VueJS drag&drop list directive

Hacker News1
Pr
Practice bitwise tricks by drag and drop62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Practice bitwise tricks by drag and drop

Hacker News1
fu
full-featured Drag'n'Drop jQuery plugin with no dependencies in 0.6kb54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

full-featured Drag'n'Drop jQuery plugin with no dependencies in 0.6kb

Hacker News1
Ch
Chronos a Drag-and-Drop Scheduler31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Chronos a Drag-and-Drop Scheduler

Hacker News1
Ho
Hook up your Keybow macropad to my drag-and-drop automation software58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Hook up your Keybow macropad to my drag-and-drop automation software

Hacker News2