Coder Social home page Coder Social logo

Comments (13)

vincentwoo avatar vincentwoo commented on August 27, 2024 3

To piggyback off this, I also think that the latest release should have a simple demo as described above available at http://xtermjs.org/

from xtermjs.org.

Tyriar avatar Tyriar commented on August 27, 2024 3

Seems like it would be a good improvement to add an input listener to the quick start 👍

from xtermjs.org.

vincentwoo avatar vincentwoo commented on August 27, 2024 1

We at CoderPad might be willing to sponsor this demo in the future! We run a shit-ton of containers constantly, anyhow.

from xtermjs.org.

InDieTasten avatar InDieTasten commented on August 27, 2024 1

Is this completed? Where can I find it?

@parisk I cannot find a branch besides master publicly available on GitHub

from xtermjs.org.

santosh0705 avatar santosh0705 commented on August 27, 2024 1

@LucianBuzzo could you share some more information or some demonstration code.

from xtermjs.org.

parisk avatar parisk commented on August 27, 2024

Good idea. I'll open up a branch in https://github.com/xtermjs/xtermjs.org.

from xtermjs.org.

BenHall avatar BenHall commented on August 27, 2024

Katacoda is available for you if it's useful? Would users to deploy the node sample app without having to configure anything...

from xtermjs.org.

parisk avatar parisk commented on August 27, 2024

Thanks @BenHall for offering! Can you get into a little bit more details about what would this Node app do?

What might be useful would be if each visitor could get an actual Bash terminal connected to the front-end, but this is quite the opposite of the current issue.

from xtermjs.org.

DRSDavidSoft avatar DRSDavidSoft commented on August 27, 2024

Subscribed for updates regarding this

from xtermjs.org.

LucianBuzzo avatar LucianBuzzo commented on August 27, 2024

We're using a simple client side javascript REPL to demo our Terminal component (which wraps xterm) in rendition, you can see it in action here https://resin-io-modules.github.io/rendition/?selectedKind=Terminal&selectedStory=Standard&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel
Some of the source code could be leveraged to build a simple demo

from xtermjs.org.

LucianBuzzo avatar LucianBuzzo commented on August 27, 2024

@santosh0705 Here is the source code for a simple JS repl tethered to an xterm.js instance https://github.com/resin-io-modules/rendition/blob/master/src/stories/Terminal.js#L44
In the Rendition library, we add a simple wrapper around the xterm.js instance and expose it as this.tty.

from xtermjs.org.

wavesoft avatar wavesoft commented on August 27, 2024

If you want a more elaborate local-echo controller, you could use this : https://github.com/wavesoft/local-echo

from xtermjs.org.

jerch avatar jerch commented on August 27, 2024

Suggestion:

  • place a clear note in the docs, that a working local echo is not easy to set up due to xterm.js being built with a pty in mind
  • refer to https://github.com/wavesoft/local-echo for an elaborated example how to overcome this

from xtermjs.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.