Comments (4)
So I'm pretty sure I've seen Textual running in the terminal in VS Code, and that uses xterm.js so there's no reason it won't work in the browser.
from textual.
THere's no build in way at the moment, but I'm sure any terminal in a browser solution will work just fine.
from textual.
I've used this before to host a bash prompt on a website: https://tsl0922.github.io/ttyd/
I'm sure you could point it at a Textual app.
from textual.
For the record, ttyd
works nicely (ttyd -p 9090 python3 -m textual.app
), it also handles multiple clients gracefully — each new client gets its own instance of the app.
It is not visually perfect, though it might be perhaps improved by specifying custom font via ttyd theming params (-t
; tsl0922/ttyd#31 discusses custom fonts).
from textual.
Related Issues (20)
- `ListView` initial index is off by one HOT 3
- Colour background of widget not rendering correctly HOT 1
- Upcoming deprecation (+ breakage in your case) regarding custom templates for mkdocstrings HOT 6
- Improve the `ListView` documentation by explaining the `ListItem` HOT 3
- Mounting of `Markdown` isn't reliably awaitable HOT 3
- Make `cursor_location` a reactive attribute HOT 4
- Unfocusing and refocusing the terminal has undesirable scrolling behaviour HOT 2
- Giving focus to a widget not scrolled into view doesn't always scroll it into view HOT 6
- SelectionList weird behavior when removing options in its own event handler until freeze HOT 2
- Strange column width behaviour when updating `DataTable` on `*Selected` event HOT 3
- Add information about ToastRack styling to the toast widget documentation HOT 2
- False Information: Mayday Release HOT 3
- Applying a RegexHighlighter with a dfeined Theme to a Log HOT 1
- Adding global event handlers directly from the widget HOT 2
- The introduction to `query_one` is potentially misleading HOT 2
- Clicking `Select` doesn't properly collapse overlay HOT 5
- Could not find a version that satisfies the requirement textual (from versions: ) HOT 1
- Add the ability to customise scrollbar bar segments HOT 7
- Can i do chart using sparkline? HOT 1
- Auto width results in zero-width when applied to `OptionList` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textual.