58 Commits

Author SHA1 Message Date
Andy Konwinski
94c643bce2 Update README.md
add use cases and motivation section
2024-06-04 12:38:30 -07:00
Andy Konwinski
5a0286f93d Update README.md
add "possible future work" section to bottom of readme
2024-06-04 10:55:30 -07:00
Andy Konwinski
df4fb6d3e9 Update README.md
add example of control char in input to readme
2024-06-04 10:53:04 -07:00
Andy Konwinski
382f1c0263 Update README.md
Add readme section about htlib written in py and ts
2024-06-04 10:40:53 -07:00
Andy Konwinski
afa48c69d5 Merge pull request #4 from mandx/patch-1
Update README.md with the new references to the project's URL
2024-06-04 10:33:52 -07:00
Armando Pérez Marqués
56786d2ac2 Update README.md with the new references to the project's URL
This just replace ocurrences of `https://github.com/andyk/termproxy` with `https://github.com/andyk/ht`
2024-06-04 12:16:04 -04:00
Andy Konwinski
a381dc5c01 Update README.md
add install section to readme
2024-05-30 20:09:40 -07:00
Andy Konwinski
8a43e988d4 Update README.md 2024-05-30 20:06:58 -07:00
Marcin Kulik
af02a26c6b Fix the binary asset names in release workflow 2024-04-11 09:47:17 +02:00
Andy Konwinski
0a0b5e0b11 small tweak to README.md 2024-04-10 11:20:59 -07:00
Andy Konwinski
6f468b688b Update README.md 2024-04-10 07:03:24 -07:00
Andy Konwinski
228f5718fb Update README.md with intro 2024-04-10 07:03:05 -07:00
Marcin Kulik
44c8eb3193 Bump version v0.1.1 2024-04-10 15:51:40 +02:00
Marcin Kulik
34f8c138ae Rename to ht 2024-04-10 15:51:16 +02:00
Marcin Kulik
3b9155ca99 Strip the binary in release build v0.1.0 2024-04-10 15:18:29 +02:00
Marcin Kulik
0546648671 Add release GH workflow 2024-04-10 15:17:24 +02:00
Marcin Kulik
ce1040d085 Add README 2024-04-09 17:34:26 +02:00
Marcin Kulik
186ad7fe0f Fix too early exit upon command parse error 2024-04-09 16:10:11 +02:00
Marcin Kulik
9e72304987 Print JSON parse error to stderr 2024-04-09 15:56:00 +02:00
Marcin Kulik
bae4795022 Remove debug printlns 2024-04-09 15:50:30 +02:00
Marcin Kulik
f66c902d31 Ensure child exit is always handled 2024-04-09 15:02:57 +02:00
Marcin Kulik
74a0ac3963 Don't crash on missing payload 2024-04-09 11:14:01 +02:00
Marcin Kulik
d9393dd66f Implement resize command 2024-04-09 10:50:44 +02:00
Marcin Kulik
52ab0844f3 Use "type" key instead of "action" for specifying commands 2024-04-09 09:41:08 +02:00
Marcin Kulik
dae21d6f01 Replace useless use of vec with an array 2024-04-09 09:30:17 +02:00
Marcin Kulik
106013f5da Require Rust 1.74 or later 2024-04-08 17:30:55 +02:00
Marcin Kulik
e2688fad34 Command line args parsing, help message 2024-04-08 16:44:17 +02:00
Marcin Kulik
1ba7a0fa83 Fix indentation in flake 2024-04-08 15:33:02 +02:00
Marcin Kulik
702136b4dd Improved error handling 2024-04-08 15:12:44 +02:00
Marcin Kulik
5d7a516a57 Require ASCII or UTF-8 charset 2024-04-08 09:55:23 +02:00
Marcin Kulik
3a6ba81102 Fix crash after stdin closes 2024-04-05 18:55:23 +02:00
Marcin Kulik
ff03465b38 Fix hang on stdin read when child process exits 2024-04-05 17:43:01 +02:00
Marcin Kulik
9e235dc146 Don't crash on invalid JSON input 2024-04-05 16:53:11 +02:00
Marcin Kulik
dc01728ddd Coordinate shutdown of child process, stdin reading thread and main loop to prevent hanging 2024-04-05 16:44:42 +02:00
Marcin Kulik
80dd12e4aa Wait for the child process exit 2024-04-05 11:12:56 +02:00
Marcin Kulik
40799d4041 Remove redundant clone 2024-04-05 09:39:13 +02:00
Marcin Kulik
7a7822bb84 Launch the process inside a shell 2024-04-05 09:11:21 +02:00
Marcin Kulik
6120cac7ef Use stderr for reporting invalid actions 2024-04-04 16:11:54 +02:00
Marcin Kulik
25a78e06cc Join threads automatically with thread::scope() 2024-04-04 15:21:07 +02:00
Marcin Kulik
47f348463e Remove .envrc 2024-04-04 13:45:36 +02:00
Marcin Kulik
378d1c1320 Extract thread code into one function per thread 2024-04-04 13:40:16 +02:00
Marcin Kulik
60a77fef7c Move non-blocking I/O helpers to separate module 2024-04-04 12:34:26 +02:00
Marcin Kulik
08bf8ac01d Set TERM=xterm-256color for the child process 2024-04-04 10:01:33 +02:00
Marcin Kulik
94c176dee9 Add bashInteractive to nix dev shell 2024-04-04 09:12:15 +02:00
Marcin Kulik
2b0f5cbfb4 Handle PTY master reads and writes 2024-04-03 17:43:05 +02:00
Marcin Kulik
a2cef88e36 Launch /bin/sh by default, for now 2024-04-03 13:01:12 +02:00
Marcin Kulik
7499d2f9a3 Restore default signal handler for SIGPIPE in child process 2024-04-03 12:50:41 +02:00
Marcin Kulik
b1acd750fb Make enums inspectable via dbg! 2024-04-03 11:30:03 +02:00
Marcin Kulik
ee4db5ef19 License all the code under Apache 2.0 software license 2024-04-03 11:05:43 +02:00
Marcin Kulik
ccdb573013 Add helpers for non-blocking read and write 2024-04-03 10:58:02 +02:00