{"slug": "show-hn-fly-a-nano-drone-from-your-terminal-rust-tui", "title": "Show HN: Fly a nano-drone from your terminal (Rust TUI)", "summary": "A developer created a Rust terminal user interface (TUI) to control a Crazyflie nano-drone, enabling free flight, mission recording and playback, and pre-planned mission execution. The project, built as a Rust learning exercise, uses the Elm architecture with the Ratatui library and plans to add visual mission planning and AI-based obstacle avoidance.", "body_md": "in action video: [https://github.com/user-attachments/assets/f349595d-bece-4ac...](https://github.com/user-attachments/assets/f349595d-bece-4ac4-bee1-aff24978ac10)\n\nI wanted a Rust learning project and for this I created a TUI to control a crazyflie from the terminal. Besides free flight with wasd + arrow keys it can record while flying and play that back. Missions can also be planned in advance and just executed (with different flying modes). The crazyflie only has a flow deck, a downwards pointing camera and distance sensor, for its position - so there can be quite some drift.\n\nIt was also very fun to explore how well the TEA[1] (Elm architecture) fits with ratatui[2]!\n\nNext I'll add: - visual mission planner - trajectory upload to the crazyflie for execution without connection - maybe obstacle avoidance with the AI deck\n\n[1]: [https://guide.elm-lang.org/architecture/](https://guide.elm-lang.org/architecture/)\n[2]: [https://ratatui.rs/](https://ratatui.rs/)\n\nComments URL: [https://news.ycombinator.com/item?id=48934838](https://news.ycombinator.com/item?id=48934838)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-fly-a-nano-drone-from-your-terminal-rust-tui", "canonical_source": "https://github.com/yannick-cw/crazyflie-commander", "published_at": "2026-07-16 14:08:50+00:00", "updated_at": "2026-07-16 14:25:18.660073+00:00", "lang": "en", "topics": ["robotics", "developer-tools"], "entities": ["Crazyflie", "Rust", "Ratatui", "Elm"], "alternates": {"html": "https://wpnews.pro/news/show-hn-fly-a-nano-drone-from-your-terminal-rust-tui", "markdown": "https://wpnews.pro/news/show-hn-fly-a-nano-drone-from-your-terminal-rust-tui.md", "text": "https://wpnews.pro/news/show-hn-fly-a-nano-drone-from-your-terminal-rust-tui.txt", "jsonld": "https://wpnews.pro/news/show-hn-fly-a-nano-drone-from-your-terminal-rust-tui.jsonld"}}