question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

idea: hybrid tui-gui apps

See original GitHub issue

This may be a spin off project, but looking for thoughts

If we take the elements like <box>, <list>, <checkbox>, <table> and so on, most of these can be equated to CSS frameworks like bootstrap - so what if we create a plugin that does just that - renders using blessed in the terminal, and outputs bootstrap DOM structure equivalents for browser rendering

approaches:

Approach Option 1: Hybrid Fundamental Components

instead of using <box>, <list> etc. we supply a <Box>, <List> etc components (e.g. import {Box} from react-blessed). Some kind of transpilation flag (e.g. env=tui or env=gui) supplies either the react-blessed element or a DOM structure

Approach Option 2: React elements plugin

create a library that adds react-blessed element namespaces to react on the gui side, these then render the dom structures. This options requires zero changes to code, other than requiring react-blessed-bootstrap-dom-shim (better name needed) instead of react-blessed - however it’s not as clean, there’s potential for namespace clashes between dom elements and blessed elements

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:2
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

0reactions
pirannacommented, Apr 15, 2018

Each time I think about it, I find it a better fit to have a react-native-tty project and use it instead of raw blessed…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hybrid Assistant - Apps on Google Play
Hybrid Assistant is a free Android App that helps you get the most out of your Toyota/Lexus Hybrid car. Hybrid Assistant give you...
Read more >
10 Best Hybrid App Examples - Designli Blog
10 examples of hybrid apps- which are apps using one codebase to create a single app that works on all platforms and operating...
Read more >
Twiggy - Animal Crossing: New Horizons Wiki Guide - IGN
This portion of the Animal Crossing: New Horizons Guide explains everything you need to know about Twiggy including personality, ...
Read more >
Artscape Twiggy Home Decor at Lowes.com
Find Artscape Twiggy home decor at Lowe's today. Shop home decor and a variety of home ... Serta 10-in Queen Hybrid Memory Foam/Coil...
Read more >
Women's Twiggy Ankle Zip Jean - Walmart.com
Buy Women's Twiggy Ankle Zip Jean at Walmart.com.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found