Commit Graph

30 Commits

Author SHA1 Message Date
Soren L. Hansen
c66ae7b2e4 First, primitive stab at SPiCE integration
Launch an Xspice and run:
echo -ne "\033]844;127.0.0.1;9876\007"

This will launch a SPiCE client connecting to 127.0.0.1:9876.

Still need to add all the security stuff and generally be
more defensive in the implementation.
2021-04-16 06:50:05 -07:00
Soren L. Hansen
d9fe29e9c7 Update typescript, webpack, and asset building 2021-04-16 06:49:17 -07:00
Søren L. Hansen
0d6766f621 Split input into buffer sized chunks
Input chunks from the client exceeding the buffer size would get
truncated. Now we communicate the size of the buffer to the webtty and
it will split the input into buffer sized chunks.

Fixes #1.
2021-04-12 19:39:32 -07:00
Søren L. Hansen
e988349add Merge branch 'pr/sehaas/294' 2021-04-10 23:22:43 -07:00
Søren L. Hansen
4e017f1618 Take over GoTTY maintainership
@yudai built this amazing piece of software, but it now needs a new,
active maintainer. I'm taking a stab at it.
2021-04-10 21:46:31 -07:00
Søren L. Hansen
6353624986 Merge branch 'update-toolchain' 2021-04-10 21:17:50 -07:00
Søren L. Hansen
4b2f84448c Update assets 2021-04-09 19:18:16 -07:00
Sebastian Haas
b685b8040a Add Progressive Web App support
provide manifest.json to enable PWA compatibilities
2020-10-01 22:32:47 +02:00
Mikhail f. Shiryaev
fd0ccc1f0b
Fix printing ipv6 with brackets 2019-12-30 13:55:36 +01:00
Iwasaki Yudai
6ab3093956 Pickup random port when port option is 0
With upgrading go to go1.9 to use http.Server.ServeTLS()
2017-08-26 17:23:04 +09:00
Iwasaki Yudai
b2c2db0764 Move responsibility to decode output encoding to terminal implementation 2017-08-26 16:55:07 +09:00
Iwasaki Yudai
807bcc25a4 Refine API of webtty package 2017-08-24 14:40:28 +09:00
Iwasaki Yudai
a6ae1210da Move decoder into setup 2017-08-24 13:22:16 +09:00
Iwasaki Yudai
ba1aa690ed Use libapps utf8 decoder 2017-08-23 15:32:12 +09:00
Iwasaki Yudai
4d682aa01d Add "apple symbols' to xterm font list
Since Chrome on Mac OS doesn't show characters like U+1696,
we need to add a font that has those characters as a fallback target.
2017-08-23 11:11:04 +09:00
Iwasaki Yudai
7355d67a64 Add license-loader
Since xterm and hterm do not have proper comments for their license,
add license-loader to keep their license information in the minimized
bundle file.
2017-08-23 10:58:18 +09:00
Iwasaki Yudai
48c91151ad Enable gzip compression 2017-08-22 17:31:27 +09:00
Iwasaki Yudai
024ab8f28e Minify bundled js code 2017-08-22 16:58:15 +09:00
Iwasaki Yudai
2b4eb55d28 Add typing for libapps 2017-08-22 16:16:28 +09:00
Iwasaki Yudai
a8bb23f570 Rename bundle.js to gotty-bundle.js 2017-08-22 16:03:19 +09:00
Iwasaki Yudai
70aaf33082 Bundle hterm 2017-08-22 15:58:50 +09:00
Iwasaki Yudai
8f95182392 Show command in log 2017-08-22 12:11:11 +09:00
Iwasaki Yudai
8803721f3d Add xterm itegration
* Move to TypeScript from legacy JavaScript
* Add support of xterm.js
* Hterm is still available for backward compatibility
2017-08-21 16:38:28 +09:00
Iwasaki Yudai
d6c98866b9 Output proper log when upgrade fails 2017-08-21 15:36:23 +09:00
Iwasaki Yudai
6765efbd61 Add new option to allow cross origin requests to WS endpoint 2017-08-13 15:09:22 +09:00
Iwasaki Yudai
84ec13ca19 Do not show ws log 2017-08-13 14:00:51 +09:00
Iwasaki Yudai
af41111458 Show alternative URLs when address is 0.0.0.0 2017-08-13 13:53:48 +09:00
Iwasaki Yudai
2a2a034788 Fix possible race condition on timeout 2017-08-13 13:40:00 +09:00
Iwasaki Yudai
9b8d2d5ed5 Reduce struct variables of server.Server 2017-08-12 17:56:46 +09:00
Iwasaki Yudai
a6133f34b7 Refactor 2017-08-11 15:31:11 +09:00