2
0
mirror of https://github.com/elisescu/tty-share synced 2024-11-11 13:10:32 +00:00
Commit Graph

103 Commits

Author SHA1 Message Date
Vasile Popescu
584cba56c9 Add support for local network terminal sharing
Moved the server inside the tty-share binary, and serve it locally
2020-11-04 23:06:34 +01:00
Vasile Popescu
ba44046699 First step to adding support for local terminal sharing
Add the tty-server code to this repo as the first step for adding
support to share the terminal in the local network. The public server
should be involved only for public sessions.
2020-11-04 23:06:34 +01:00
Vasile Popescu
6fc776b924 Exit is stdin is not a tty 2020-01-11 23:06:59 +01:00
Vasile Popescu
786f47b105 Switch from dep to go mod deps management 2020-01-11 18:27:05 +01:00
Vasile Popescu
b395112857 Add --version command line flag 2020-01-10 23:20:30 +01:00
Vasile Popescu
ca450682c0 Use the $SHELL value as the default value for the command param 2020-01-09 21:34:35 +01:00
Vasile Popescu
46e3b440f2 Use dep tool for installing dependencies 2020-01-09 21:34:35 +01:00
Vasile Popescu
a27cd48730 Separate the tty-share tool from the server side 2020-01-09 21:34:35 +01:00
Vasile Popescu
30fa0c825c Small fix in Readme for raspberrypi building 2019-10-31 22:29:14 +01:00
Vasile Popescu
2558718aae Build also the server with travis
Add missing deps and steps for building the frontend together with the
final server binary.
2019-09-15 14:23:43 +02:00
Vasile Popescu
16974db44b Very small documentation and running instructions 2019-09-15 11:54:54 +02:00
Vasile Popescu
a395b295b9 Use travis for building
- add a .travis.yml file
- add the badge to the README.md
2019-09-14 22:12:00 +02:00
Vasile Popescu
2040dc3a14 Add a target in the Makefile for getting the deps 2019-09-14 22:12:00 +02:00
Vasile Popescu
78b9ecb4fc Update the new demo gif with the new binary name 2019-07-20 13:44:51 +02:00
Vasile Popescu
16e464da9b Rename the tty-sender to tty-share
The rename came with quite a lot of changes, including some refactoring
in the Makefile which wouldn't make any more sense after the rename.
2019-07-20 13:09:53 +02:00
Vasile Popescu
f358a30a55 Update the README.md file with tty-sender build instructions 2019-07-16 21:30:16 +02:00
Vasile Popescu
c955b172b1 Several updates to the README.md file 2019-07-14 23:35:20 +02:00
Elis Popescu
dd7d7b8bfa
Add a LICENCE file 2019-07-14 22:35:58 +02:00
Vasile Popescu
1622ec01a3 Replace the old demo.gif with a new one 2019-07-14 21:30:33 +02:00
Vasile Popescu
14e811bc26 Remove useless docker folder 2019-07-14 21:27:59 +02:00
Vasile Popescu
2fad822849 Fix the name of the binaries (use - instead of _)
Also move them to the out/ folder, as they can't be in the same folder
with the tty-server/ and tty-sender/ folders.
2019-07-07 19:44:31 +02:00
Vasile Popescu
365fba77f1 Use the go.tty-share.com as the default server address 2019-07-07 19:39:48 +02:00
Vasile Popescu
ded629f481 Remove the "proxy" wording from the tty-server 2019-07-07 10:41:44 +02:00
Vasile Popescu
f685c2efe7 Fix build mode in webpack config
- remove deprecarted ugify plugin
- add missing 'mode' config
2019-07-03 23:07:51 +02:00
Vasile Popescu
3b57919252 Fix utf8 encoded strings by using a different base64 decoder 2019-07-03 22:56:47 +02:00
Vasile Popescu
dc952345fc Undo the prev commit, and use something more simple
Just write in the terminal that the session is ended, and don't add any
other fancy UI.
2019-07-01 22:36:08 +02:00
Vasile Popescu
35d20eea67 Simple and stupid overlay notificatoin when the session is closed 2019-07-01 22:24:15 +02:00
Vasile Popescu
71ebda8e8f Refactor the whole receiver part
- remove unused dependencies
- move to typescript
- add an automatic way to resize the tty-receiver
2019-07-01 21:09:45 +02:00
Vasile Popescu
bc832b8357 Fix the option/alt/meta key on OSX
Instruct xtermjs to consider the option key as the meta key
2019-06-26 22:18:24 +02:00
Vasile Popescu
a697496cc7 Update xterm and nodejs versions 2019-06-26 22:17:31 +02:00
Vasile Popescu
4e898b24e4 Add zipping the release binaries in the Makefile 2018-05-23 23:58:37 +02:00
Vasile Popescu
22d2c3610c Change the first message tty_sender prints when starting 2018-05-23 23:52:31 +02:00
Vasile Popescu
ae3faa9646 Add a small section to README file about pre-built binaries 2018-05-23 23:35:22 +02:00
Vasile Popescu
9c7e71c54c Use a more secure session ID generator 2018-05-19 16:25:41 +02:00
Vasile Popescu
a87782762d Change the default value for the server frontend path
The default value of "" is relied on, so the server can fallback on the
builtin frontend resources.
2018-05-19 16:07:51 +02:00
Vasile Popescu
289354370d Add the sender as part of the dist make target as well 2018-05-19 15:38:59 +02:00
Vasile Popescu
cfa0640706 Add the demo gif inline the README file 2018-05-19 15:22:36 +02:00
Vasile Popescu
a34033d92e Add small changes to document the project here and there 2018-05-19 15:20:18 +02:00
Vasile Popescu
aee0834308 Redirect from homepage to the github project page 2018-05-19 15:16:11 +02:00
Vasile Popescu
2fa92bfac3 Add a simple page for invalid sessions 2018-05-19 15:16:11 +02:00
Vasile Popescu
bbcc9a8771 Change the color on the 404 page 2018-05-19 15:16:11 +02:00
Vasile Popescu
2e15e457ab Fix serving the frontend from a path 2018-05-19 15:16:11 +02:00
Vasile Popescu
ca99245dc1 Don't wait for Enter key to be pressed to start the session 2018-05-19 15:16:11 +02:00
Vasile Popescu
828c45eb48 Force the browser to reload when closing the session
After reload, the browser will be forced to display the page which says
the session doesn't exist anymore. This is a temporary solution, before
a better way to tell the user the connection has been closed will be
2018-05-19 15:16:11 +02:00
Vasile Popescu
e4e64158db Add a "dist" target to build the server for more platforms 2018-05-19 15:16:11 +02:00
Vasile Popescu
885e5f1766 Add a way to notify the sender when new receivers connect
Also try to "refresh" the terminal, when new receivers connect, so the
content is fully rendered on the receiver side.
At the moment, the "refresh" is faked with making the window smaller and
then back bigger, after a short time (there doesn't seem to be a way to
tell the app to re-draw itself. Or is there?).
2018-05-19 15:16:11 +02:00
Vasile Popescu
4e34ba846f Add a small docker setup to run the server 2018-05-19 15:16:11 +02:00
Vasile Popescu
906f225899 Refactor the frontend structure
Change the Makefile and webpack config to reflect the new structure of
where we keep the frontend generated files.

Use the 404 static pages when requests are made to paths not found.

Add a small doc describing the available http routes.
2018-05-19 15:16:11 +02:00
Vasile Popescu
f8e90e0e04 Move the tty-receiver frontend inside a folder 2018-05-12 18:53:12 +02:00
Vasile Popescu
4a8a806193 Add some static pages
One used for 404 errors, and the other one being a placeholder of the
invalid session case, when the session ID is not recognised.
2018-05-12 18:53:12 +02:00