-
-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement own client using ttyd only on server side #1400
Comments
Sure, as long as you implement ttyd's websocket protocol, it's pretty simple. ttyd/html/src/components/terminal/xterm/index.ts Lines 25 to 36 in 40e79c7
|
Glad to hear that, thanks. |
Why not just copy the code in this project? If you really want a vanilla javascript example, I would recommend you to take a look at xterm.js's demo: |
Is there a way to implement ttyd's client side in my own application? I mean, implement xterm.js in my own application that connects to the websocket provided by ttyd?
What would the vanilla js code look like?
If this is technically possible, I would really like to sponsor this project. Please let me know what you think.
The text was updated successfully, but these errors were encountered: